summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-29 13:08:18 +0200
committerAlan Pearce2018-06-29 13:09:15 +0200
commit177082d8e539f2f3296bccfdfa562334e27c98b4 (patch)
tree1d66e6018d023042b23930290f9db2703f7d163c
parentcad3076312d582d327ebe4a76214871cbd0c1615 (diff)
downloadnixfiles-177082d8e539f2f3296bccfdfa562334e27c98b4.tar.lz
nixfiles-177082d8e539f2f3296bccfdfa562334e27c98b4.tar.zst
nixfiles-177082d8e539f2f3296bccfdfa562334e27c98b4.zip
emacs: add more evil leader keys
-rw-r--r--emacs/.emacs.d/main.el20
1 files changed, 16 insertions, 4 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 5bc22c46..057e56a1 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2455,14 +2455,26 @@ Pass ARG to `comint-delchar-or-maybe-eof'."
   :config (progn
             (evil-leader/set-leader ",")
             (evil-leader/set-key
-              "w" #'save-buffer
+              "w" evil-window-map
+              "s" #'save-buffer
               "q" #'kill-or-delete-this-buffer-dwim
+              "p" projectile-command-map
               "v" #'split-window-right
               "o" #'other-window
-              "b" #'ibuffer
-              "x" #'counsel-M-x)))
+              "y" #'evil-avy-goto-line
+              "bx" #'kill-this-buffer
+              "br" #'revert-buffer
+              "dd" #'dired
+              "fs" #'save-buffer
+              "ff" #'find-file
+              "gs" #'magit-status
+              "gm" #'magit-dispatch-popup
+              "gt" #'git-timemachine
+              "bb" #'evil-switch-to-windows-last-buffer
+              "bi" #'ibuffer
+              "bz" #'bury-buffer
+              ";" #'counsel-M-x)))
 
-(setq evil-want-integration nil)
 (use-package evil
   :config (progn
             (evil-mode +1)