Add diminish to hide some minor modes in mode line

This commit is contained in:
Dimitri Lozeve 2024-01-22 13:42:36 +01:00
parent af1d1db048
commit bc41d2b3d8

View file

@ -142,10 +142,9 @@
(global-hi-lock-mode 1) (global-hi-lock-mode 1)
:bind ("<f12>" . modus-themes-toggle)) :bind ("<f12>" . modus-themes-toggle))
(use-package mood-line (use-package diminish
:straight t :straight t
:config :diminish visual-line-mode)
(mood-line-mode t))
;;; Environment variables ;;; Environment variables
@ -472,6 +471,7 @@
:straight t :straight t
:after citar embark :after citar embark
:no-require :no-require
:diminish citar-embark-mode
:custom :custom
(citar-at-point-function 'embark-act) (citar-at-point-function 'embark-act)
:config (citar-embark-mode)) :config (citar-embark-mode))
@ -655,6 +655,7 @@
(use-package apheleia (use-package apheleia
:straight t :straight t
:diminish apheleia-mode
:config :config
(apheleia-global-mode +1) (apheleia-global-mode +1)
(setf (alist-get 'python-ts-mode apheleia-mode-alist) (setf (alist-get 'python-ts-mode apheleia-mode-alist)
@ -819,6 +820,7 @@
(use-package jinx (use-package jinx
:straight t :straight t
:diminish jinx-mode
:hook (emacs-startup . global-jinx-mode) :hook (emacs-startup . global-jinx-mode)
:config :config
(setq jinx-languages "en_US fr_FR") (setq jinx-languages "en_US fr_FR")