From 76150ffbb505a1cfe44ca9d66f7524cf0192e14d Mon Sep 17 00:00:00 2001 From: Vladislav Slobodenyuk Date: Thu, 9 Jan 2025 16:29:43 +0900 Subject: [PATCH] Add windmove keybindings --- .config.d/05-basic.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config.d/05-basic.el b/.config.d/05-basic.el index b536a26..0cdc245 100644 --- a/.config.d/05-basic.el +++ b/.config.d/05-basic.el @@ -96,4 +96,11 @@ ;; into kill ring before replacing it. (setq save-interprogram-paste-before-kill t) +;; Windmove family of commands allow easy navigation when there is more than two +;; buffers on screen. +(global-set-key (kbd "C-S-") 'windmove-left) +(global-set-key (kbd "C-S-") 'windmove-right) +(global-set-key (kbd "C-S-") 'windmove-up) +(global-set-key (kbd "C-S-") 'windmove-down) + ;;; 05-basic.el ends here