diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-07 13:45:00 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-07 13:45:00 +0100 |
commit | e199f7467af418ecc91b4aa429e83d42a5604d3f (patch) | |
tree | ac5dbe79171191a2c5aac503acea9509fb24c0b5 /Emacs/.config/emacs | |
parent | bdb71bba407274dd51122b8e354a96ec3aa838fd (diff) | |
download | dotfiles-e199f7467af418ecc91b4aa429e83d42a5604d3f.tar.gz dotfiles-e199f7467af418ecc91b4aa429e83d42a5604d3f.tar.bz2 dotfiles-e199f7467af418ecc91b4aa429e83d42a5604d3f.zip |
+bindings for window movement in Leader
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 8 |
1 files changed, 7 insertions, 1 deletions
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 |