Emacs: make closing buffers less confusing
Alan Pearce alan@alanpearce.eu
Sat, 21 Jul 2018 13:37:57 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -2489,6 +2489,7 @@ (";" . evil-ex)) (define-key evil-motion-state-map (kbd "C-;") #'evil-avy-goto-line) (define-key evil-normal-state-map [escape] #'keyboard-quit) (define-key evil-visual-state-map [escape] #'keyboard-quit) + (define-key evil-window-map (kbd "q") #'kill-or-delete-this-buffer-dwim) (define-key minibuffer-local-map [escape] #'minibuffer-keyboard-quit) (define-key minibuffer-local-ns-map [escape] #'minibuffer-keyboard-quit) (define-key minibuffer-local-completion-map [escape] #'minibuffer-keyboard-quit)