mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user