From d2ae0e1bf56e69ae686ca58567203e9187389afe Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Mon, 30 Dec 2024 10:34:16 +0100 Subject: [PATCH] Show minor modes in mode-line again Seeing active minor modes directly might be informative. Try to reduce the list of shown minor modes to only interesting ones using the (still existing) diminish configuration. Remove now obsolete configuration of the minions package. --- .gitignore | 1 - init.el | 12 ++++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 9826c2b..aeb175b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ *.elc /elpa/* -!/elpa/diminish-[0-9]* !/elpa/bind-key-[0-9]* !/elpa/dash-[0-9]* !/elpa/hydra-[0-9]* diff --git a/init.el b/init.el index 709ab41..49a96db 100644 --- a/init.el +++ b/init.el @@ -389,6 +389,9 @@ db/define-feature-shortcuts-hydra hydra-feature-shortcuts/body)) +(use-package diminish + :ensure t) + (use-package exec-path-from-shell :pin "melpa-stable" :commands (exec-path-from-shell-copy-envs)) @@ -1934,11 +1937,6 @@ Note that this workaround is incomplete, as explained in this comment." sml/name-width 30) :commands (sml/setup)) -(use-package minions - :ensure t - :commands (minions-mode) - :init (setq minions-mode-line-lighter "…")) - (use-package moody :ensure t :commands (moody-replace-mode-line-buffer-identification @@ -2984,14 +2982,12 @@ eventuelly be set to nil, however)." minibuffer-depth-indicate-mode ace-window-display-mode key-chord-mode - minions-mode which-key-mode projectile-mode yas-global-mode global-git-commit-mode marginalia-mode - vertico-mode - )) + vertico-mode)) (with-demoted-errors "Cannot activate mode: %s" (funcall mode +1)))