aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-18 00:45:22 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-18 00:45:22 +0100
commitd0901064f4f3f80bd44b02a9ed4f9e9b50c9cfd5 (patch)
tree8287e7450382939ac91428862e19a05694f8ce43
parent6a09dbf8b06c889009a05def12cf1ab5550f5b39 (diff)
downloaddotfiles-d0901064f4f3f80bd44b02a9ed4f9e9b50c9cfd5.tar.gz
dotfiles-d0901064f4f3f80bd44b02a9ed4f9e9b50c9cfd5.tar.bz2
dotfiles-d0901064f4f3f80bd44b02a9ed4f9e9b50c9cfd5.zip
~leader w now uses evil-window map
Easier than rebinding everything manually
-rw-r--r--Emacs/.config/emacs/config.org7
1 files changed, 2 insertions, 5 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 81e51ad..18bfaa5 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -213,11 +213,8 @@ leader-map at "SPC".
"TAB" #'evil-jump-item)
(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))
+ "w" #'evil-window-map
+ "wd" #'evil-window-delete))
#+end_src
** Evil surround
#+begin_src emacs-lisp