tweak(window-select): winum-auto-setup-mode-line = nil
Leave it to modeline modules, plugins, and/or the user to support this plugin, rather than impose winum's (rather destructive) side-effects on them all.
This commit is contained in:
parent
a1f8063485
commit
c2f5e41722
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@
|
||||||
:after-call doom-switch-window-hook
|
:after-call doom-switch-window-hook
|
||||||
:config
|
:config
|
||||||
(winum-mode +1)
|
(winum-mode +1)
|
||||||
|
;; winum modifies `mode-line-format' in a destructive manner. I'd rather leave
|
||||||
|
;; it to modeline plugins (or the user) to add this if they want it.
|
||||||
|
(setq winum-auto-setup-mode-line nil)
|
||||||
(map! :map evil-window-map
|
(map! :map evil-window-map
|
||||||
"0" #'winum-select-window-0-or-10
|
"0" #'winum-select-window-0-or-10
|
||||||
"1" #'winum-select-window-1
|
"1" #'winum-select-window-1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue