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:
parent
9f52c576b2
commit
d2ae0e1bf5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,7 +1,6 @@
|
|||||||
*.elc
|
*.elc
|
||||||
|
|
||||||
/elpa/*
|
/elpa/*
|
||||||
!/elpa/diminish-[0-9]*
|
|
||||||
!/elpa/bind-key-[0-9]*
|
!/elpa/bind-key-[0-9]*
|
||||||
!/elpa/dash-[0-9]*
|
!/elpa/dash-[0-9]*
|
||||||
!/elpa/hydra-[0-9]*
|
!/elpa/hydra-[0-9]*
|
||||||
|
|||||||
12
init.el
12
init.el
@ -389,6 +389,9 @@
|
|||||||
db/define-feature-shortcuts-hydra
|
db/define-feature-shortcuts-hydra
|
||||||
hydra-feature-shortcuts/body))
|
hydra-feature-shortcuts/body))
|
||||||
|
|
||||||
|
(use-package diminish
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
(use-package exec-path-from-shell
|
(use-package exec-path-from-shell
|
||||||
:pin "melpa-stable"
|
:pin "melpa-stable"
|
||||||
:commands (exec-path-from-shell-copy-envs))
|
: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)
|
sml/name-width 30)
|
||||||
:commands (sml/setup))
|
:commands (sml/setup))
|
||||||
|
|
||||||
(use-package minions
|
|
||||||
:ensure t
|
|
||||||
:commands (minions-mode)
|
|
||||||
:init (setq minions-mode-line-lighter "…"))
|
|
||||||
|
|
||||||
(use-package moody
|
(use-package moody
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (moody-replace-mode-line-buffer-identification
|
:commands (moody-replace-mode-line-buffer-identification
|
||||||
@ -2984,14 +2982,12 @@ eventuelly be set to nil, however)."
|
|||||||
minibuffer-depth-indicate-mode
|
minibuffer-depth-indicate-mode
|
||||||
ace-window-display-mode
|
ace-window-display-mode
|
||||||
key-chord-mode
|
key-chord-mode
|
||||||
minions-mode
|
|
||||||
which-key-mode
|
which-key-mode
|
||||||
projectile-mode
|
projectile-mode
|
||||||
yas-global-mode
|
yas-global-mode
|
||||||
global-git-commit-mode
|
global-git-commit-mode
|
||||||
marginalia-mode
|
marginalia-mode
|
||||||
vertico-mode
|
vertico-mode))
|
||||||
))
|
|
||||||
(with-demoted-errors "Cannot activate mode: %s"
|
(with-demoted-errors "Cannot activate mode: %s"
|
||||||
(funcall mode +1)))
|
(funcall mode +1)))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user