[window-numbering] bind C-7/8/9 to window 1/2/3

This commit is contained in:
contrapunctus 2021-12-02 21:27:07 +05:30
parent 3780b60625
commit 0de25c5ffc
1 changed files with 4 additions and 3 deletions

View File

@ -2407,9 +2407,10 @@ Don't try to check if there are files with a certain extension...it will lead to
("C-4" . select-window-4)
("C-5" . select-window-5)
("C-6" . select-window-6)
("C-7" . select-window-7)
("C-8" . select-window-8)
("C-9" . select-window-9)))
;; for one-handed operation with the right hand
("C-7" . select-window-1)
("C-8" . select-window-2)
("C-9" . select-window-3)))
(defun cp-maximize-window ()
"Run maximize-window if more than one window is present."