From 177082d8e539f2f3296bccfdfa562334e27c98b4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 29 Jun 2018 13:08:18 +0200 Subject: emacs: add more evil leader keys --- emacs/.emacs.d/main.el | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'emacs/.emacs.d/main.el') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 5bc22c4..057e56a 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) -- cgit 1.4.1