commit 08fa42677d4d154099b7563a72f3848b60b6ef54 parent 6da0bde10d70dc533ee948e48aa3436e8b9f0567 Author: Alex Balgavy <alex@balgavy.eu> Date: Wed, 19 Jan 2022 16:41:03 +0100 emacs: diminish more modes Diffstat:
M | emacs/config.org | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -477,8 +477,9 @@ I want to hide certain modes from the modeline, they're always on: #+begin_src emacs-lisp (use-package diminish :config - (let ((modes-to-hide '(ivy-mode counsel-mode which-key-mode hl-todo-mode))) - (mapc (lambda (mode-name) (diminish mode-name)) modes-to-hide))) + (let ((modes-to-hide '(ivy-mode counsel-mode which-key-mode hl-todo-mode undo-tree-mode ivy-posframe-mode))) + (mapc (lambda (mode-name) (diminish mode-name)) modes-to-hide)) + (diminish 'view-mode " 👓")) #+end_src ** Buffer displaying