The diminish mode is activated, which helps us to keep the modeline clean. As we see, in the modeline the modes that are activated are shown, and every time we have more activated minor-modes, which add small functionalities to Emacs. In this case, there are many modes, that if they do not appear, nothing happens. So we hide some, like undo-tree that will always be activated.
10 lines
317 B
EmacsLisp
10 lines
317 B
EmacsLisp
;;----------------------------------------------------------------------------
|
|
;; Diminish - is minor modes with no modeline display
|
|
;;----------------------------------------------------------------------------
|
|
(require-package 'diminish)
|
|
|
|
;; Hide undo-tree-mode
|
|
(diminish 'undo-tree-mode)
|
|
|
|
(provide 'init-diminish)
|