diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index cc554a7..7813de2 100644 --- a/emacs/.config/doom/config.el +++ b/emacs/.config/doom/config.el @@ -57,3 +57,33 @@ (setq org-noter-notes-search-path '("~/org/notes/")) (add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode) + +;; Custom key bindings to move between windows/splits +(after! evil + (map! :leader + :desc "winum-select-window-1" + "1" #'winum-select-window-1) + (map! :leader + :desc "winum-select-window-2" + "2" #'winum-select-window-2) + (map! :leader + :desc "winum-select-window-3" + "3" #'winum-select-window-3) + (map! :leader + :desc "winum-select-window-4" + "4" #'winum-select-window-4) + (map! :leader + :desc "winum-select-window-5" + "5" #'winum-select-window-5) + (map! :leader + :desc "winum-select-window-6" + "6" #'winum-select-window-6) + (map! :leader + :desc "winum-select-window-7" + "7" #'winum-select-window-7) + (map! :leader + :desc "winum-select-window-8" + "8" #'winum-select-window-8) + (map! :leader + :desc "winum-select-window-9" + "9" #'winum-select-window-9))