all repos — nixfiles @ 177082d8e539f2f3296bccfdfa562334e27c98b4

System and user configuration, managed by nix and home-manager

emacs: add more evil leader keys
Alan Pearce alan@alanpearce.eu
Fri, 29 Jun 2018 13:08:18 +0200
commit

177082d8e539f2f3296bccfdfa562334e27c98b4

parent

cad3076312d582d327ebe4a76214871cbd0c1615

1 files changed, 16 insertions(+), 4 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -2455,14 +2455,26 @@ :init (global-evil-leader-mode +1)   :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)