emacs: Introduce identical bindings to vim for moving between windows/splits
This commit is contained in:
parent
b2919695a2
commit
c06aec7395
1 changed files with 30 additions and 0 deletions
|
@ -57,3 +57,33 @@
|
||||||
(setq org-noter-notes-search-path '("~/org/notes/"))
|
(setq org-noter-notes-search-path '("~/org/notes/"))
|
||||||
|
|
||||||
(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode)
|
(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))
|
||||||
|
|
Loading…
Reference in a new issue