From 2db7edfee0f70db11b523238c1cdfe10bd4be8cb Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 9 Jan 2020 14:08:29 +0000 Subject: Define KBD for killing buffers I'm tired of `C-x k`. That's right... my fingers hurt. --- configs/shared/.emacs.d/wpc/buffer.el | 7 ++++--- 1 file 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 - "" #'buffer/show-previous) - ) + "b" #'buffer/ivy-source-code + "" #'buffer/show-previous) + (evil-leader/set-key + "k" #'kill-buffer)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Tests -- cgit 1.4.1