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.
This commit is contained in:
Daniel Borchmann 2024-12-30 10:34:16 +01:00
parent 9f52c576b2
commit d2ae0e1bf5
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
2 changed files with 4 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,7 +1,6 @@
*.elc
/elpa/*
!/elpa/diminish-[0-9]*
!/elpa/bind-key-[0-9]*
!/elpa/dash-[0-9]*
!/elpa/hydra-[0-9]*

12
init.el
View File

@ -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)))