From e199f7467af418ecc91b4aa429e83d42a5604d3f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 7 Aug 2020 13:45:00 +0100 Subject: +bindings for window movement in Leader --- Emacs/.config/emacs/config.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 40e8cf7..d30960d 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -186,7 +186,13 @@ Also declare a leader-map at "SPC". (evil-mode +1) (evil-define-key 'normal global-map "TAB" #'evil-jump-item) - (evil-define-key 'visual 'emacs-lisp-mode-map "gr" #'eval-region)) + (evil-define-key 'visual 'emacs-lisp-mode-map "gr" #'eval-region) + (leader + :infix "w" + "h" #'evil-window-left + "j" #'evil-window-down + "k" #'evil-window-up + "l" #'evil-window-right)) #+END_SRC ** Evil surround #+BEGIN_SRC emacs-lisp -- cgit v1.2.3-13-gbd6f