aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2016-07-06 10:20:59 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2016-07-06 10:20:59 +0200
commitfc09c8c2b4874974a1f6d081cfd31a6d136954b7 (patch)
tree1ccae64ab1180bfe44f40b87fc6b5f006843f698
parent00b5828b56b3f432d9380c0239191b4bdd3a8ba8 (diff)
downloaddotfiles-fc09c8c2b4874974a1f6d081cfd31a6d136954b7.tar.gz
dotfiles-fc09c8c2b4874974a1f6d081cfd31a6d136954b7.zip
emacs: leader shortcut for 'kill-buffer-and-window
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 278a039..f293d66 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -336,6 +336,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(evil-leader/set-key
"," 'back-to-indentation
"c" 'delete-window
+ "k" 'kill-buffer-and-window
"v" 'split-window-right
"V" (lambda () (interactive) (split-window-right) (other-window 1))
"f" 'flycheck-list-errors