Use evil-window-map for SPC w

This commit is contained in:
Jeremy Dormitzer 2021-03-19 12:14:06 -04:00
parent f88496cf58
commit 050091fed2

View File

@ -24,13 +24,12 @@
"7" #'winum-select-window-7
"8" #'winum-select-window-8
"9" #'winum-select-window-9
"w" '(nil :which-key "window")
"w/" #'split-window-horizontally
"w-" #'split-window-vertically
"wm" #'delete-other-windows
"wd" #'delete-window
"wp" #'winner-undo
"wn" #'winner-redo)
"w" '(evil-window-map :which-key "window"))
(general-def evil-window-map
"m" #'delete-other-windows
"u" #'winner-undo
"C-r" #'winner-redo)
;; Condense the which-key display for window selection bindings
(push '(("\\(.*\\) 0" . "select-window-0") . ("\\1 0..9" . "window 0..9"))