Nixmacs logo, changes to dashboard and moving of windows

This commit is contained in:
Aleksandr Lebedev 2025-07-24 23:35:35 +02:00
parent a42c4ca936
commit 705ee22d35
4 changed files with 4073 additions and 5 deletions

View file

@ -486,9 +486,8 @@ Emacs Dashboard is an extensible startup screen showing you recent files, bookma
(setq dashboard-set-heading-icons t)
(setq dashboard-projects-backend 'project-el)
(setq dashboard-set-file-icons t)
(setq dashboard-banner-logo-title "Emacs Is More Than A Text Editor!")
(setq dashboard-startup-banner 'logo) ;; use standard emacs logo as banner
;;(setq dashboard-startup-banner "/home/dt/.config/emacs/images/emacs-dash.png") ;; use custom image as banner
(setq dashboard-banner-logo-title "Emacs Is More Than A Text Editor!\nPowered by Nix")
;;(setq dashboard-startup-banner 'logo) ;; use standard emacs logo as banner
(setq dashboard-center-content nil) ;; set to 't' for centered content
(setq dashboard-items '((recents . 5)
(agenda . 5 )
@ -502,7 +501,7 @@ Emacs Dashboard is an extensible startup screen showing you recent files, bookma
dashboard-insert-navigator
dashboard-insert-newline
dashboard-insert-init-info
dashboard-insert-items
;dashboard-insert-items
dashboard-insert-newline
dashboard-insert-footer))
(setq dashboard-navigator-buttons
@ -542,6 +541,7 @@ Emacs Dashboard is an extensible startup screen showing you recent files, bookma
(bookmarks . "nf-oct-book")))
:config
(dashboard-setup-startup-hook))
(setq dashboard-startup-banner "~/.emacs.d/nixmacs.xpm") ;; use custom image as banner
#+end_src
* Diminish
This package implements hiding or abbreviation of the modeline displays (lighters) of minor-modes. With this package installed, you can add :diminish to any use-package block to hide that particular mode in the modeline.
@ -1753,6 +1753,14 @@ one, an error is signaled."
(set-window-buffer other-win buf-this-buf)
(select-window other-win))))
#+end_src
#+begin_src emacs-lisp
(use-package windmove
:bind
(("<M-S-up>" . buf-move-up)
("<M-S-down>" . buf-move-down)
("<M-S-left>" . buf-move-left)
("<M-S-right>" . buf-move-right)))
#+end_src
* Completions
** Corfu
#+begin_src emacs-lisp