diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-09T14·08+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-17T10·56+0000 |
commit | 2db7edfee0f70db11b523238c1cdfe10bd4be8cb (patch) | |
tree | ca24edb1cbf684e7ccd3f85fb8a9985d734e83d4 /configs | |
parent | 2e3813f169fbdc069c2794a62f84425a9aeaf1ce (diff) |
Define KBD for killing buffers
I'm tired of `C-x k`. That's right... my fingers hurt.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/shared/.emacs.d/wpc/buffer.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configs/shared/.emacs.d/wpc/buffer.el b/configs/shared/.emacs.d/wpc/buffer.el index 29cd2d6c281d..95fed9fb5ceb 100644 --- a/configs/shared/.emacs.d/wpc/buffer.el +++ b/configs/shared/.emacs.d/wpc/buffer.el @@ -169,9 +169,10 @@ This function ignores Emacs-generated buffers, i.e. the ones that look like "C-f" #'buffer/cycle-next "C-b" #'buffer/cycle-prev) (evil-leader/set-key - "b" #'buffer/ivy-source-code - "<SPC>" #'buffer/show-previous) - ) + "b" #'buffer/ivy-source-code + "<SPC>" #'buffer/show-previous) + (evil-leader/set-key + "k" #'kill-buffer)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Tests |