diff --git a/emacs/.emacs.d/config/init-windows.el b/emacs/.emacs.d/config/init-windows.el index 5c9fa62..1946fb2 100644 --- a/emacs/.emacs.d/config/init-windows.el +++ b/emacs/.emacs.d/config/init-windows.el @@ -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"))