all repos — nixfiles @ 79560be18d43a971e9bfc6dfa910ce8ef40a2860

System and user configuration, managed by nix and home-manager

Emacs: make closing buffers less confusing

Alan Pearce
commit

79560be18d43a971e9bfc6dfa910ce8ef40a2860

parent

1b937705295af740287fee6624955c6157cc1f4f

1 file changed, 1 insertion(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.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)