feat: use :diminish in use-package

Only use it for the built-in modes like subword/auto-revert
This commit is contained in:
Laurens Miers 2023-06-07 11:33:55 +02:00
parent 808a7215ed
commit 4aed3d38dd

View file

@ -9,6 +9,7 @@
- [[#garbage-collection][Garbage collection]] - [[#garbage-collection][Garbage collection]]
- [[#base-packages-to-install-first][Base packages to install first]] - [[#base-packages-to-install-first][Base packages to install first]]
- [[#elpaca][Elpaca]] - [[#elpaca][Elpaca]]
- [[#diminish][Diminish]]
- [[#ivy][Ivy]] - [[#ivy][Ivy]]
- [[#flx][flx]] - [[#flx][flx]]
- [[#ivy-1][Ivy]] - [[#ivy-1][Ivy]]
@ -88,7 +89,6 @@
- [[#org-bullets][Org bullets]] - [[#org-bullets][Org bullets]]
- [[#some-basic-config][Some basic config]] - [[#some-basic-config][Some basic config]]
- [[#note-config][Note config]] - [[#note-config][Note config]]
- [[#diminish][Diminish]]
- [[#shell-pop][Shell-pop]] - [[#shell-pop][Shell-pop]]
- [[#old-stuff-maybe-usefull-for-lookup-later][Old stuff, maybe usefull for lookup later]] - [[#old-stuff-maybe-usefull-for-lookup-later][Old stuff, maybe usefull for lookup later]]
- [[#diff-mode-stuff][Diff mode stuff]] - [[#diff-mode-stuff][Diff mode stuff]]
@ -228,6 +228,18 @@ https://github.com/progfolio/elpaca
(elpaca-wait) (elpaca-wait)
#+END_SRC #+END_SRC
** Diminish
https://github.com/emacsmirror/diminish
#+begin_src emacs-lisp
(use-package diminish
:config
(diminish 'subword-mode)
(diminish 'auto-revert-mode)
)
#+end_src
* Ivy * Ivy
** flx ** flx
@ -582,6 +594,7 @@ https://github.com/justbur/emacs-which-key
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package which-key (use-package which-key
:diminish
:config :config
(which-key-setup-side-window-bottom) (which-key-setup-side-window-bottom)
(which-key-mode)) (which-key-mode))
@ -779,6 +792,7 @@ and then restore the old GC threshold.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package undo-tree (use-package undo-tree
:diminish
:config :config
(global-undo-tree-mode) (global-undo-tree-mode)
(define-key undo-tree-map (kbd "C-/") 'undo-hook) (define-key undo-tree-map (kbd "C-/") 'undo-hook)
@ -827,6 +841,7 @@ https://github.com/k-talo/volatile-highlights.el
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package volatile-highlights (use-package volatile-highlights
:diminish
:config :config
(volatile-highlights-mode t) (volatile-highlights-mode t)
) )
@ -998,6 +1013,7 @@ https://github.com/bbatsov/projectile
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package projectile (use-package projectile
:diminish
:config :config
(setq projectile-globally-ignored-directories (cons ".ccls-cache" projectile-globally-ignored-directories)) (setq projectile-globally-ignored-directories (cons ".ccls-cache" projectile-globally-ignored-directories))
(setq projectile-indexing-method 'alien) (setq projectile-indexing-method 'alien)
@ -1354,6 +1370,7 @@ https://github.com/Malabarba/beacon
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package beacon (use-package beacon
:diminish
:config :config
(beacon-mode 1) (beacon-mode 1)
(setq beacon-color "#FFFFCC") ;; yelowish (setq beacon-color "#FFFFCC") ;; yelowish
@ -1450,25 +1467,6 @@ Tell org where to look for ditaa
'((sequence "TODO" "IN-PROGRESS" "WAITING" "DONE"))) '((sequence "TODO" "IN-PROGRESS" "WAITING" "DONE")))
#+END_SRC #+END_SRC
* Diminish
https://github.com/myrjola/diminish.el
#+BEGIN_SRC emacs-lisp
(use-package diminish
:config
(diminish 'volatile-highlights-mode)
(diminish 'smartparens-mode)
(diminish 'beacon-mode)
(diminish 'subword-mode)
(diminish 'auto-revert-mode)
(diminish 'undo-tree-mode)
(diminish 'page-break-lines-mode)
(diminish 'which-key-mode)
(diminish 'magit-mode)
)
#+END_SRC
* Shell-pop * Shell-pop
https://github.com/kyagi/shell-pop-el https://github.com/kyagi/shell-pop-el