diff options
author | Alan Pearce | 2018-07-21 13:37:57 +0200 |
---|---|---|
committer | Alan Pearce | 2018-07-21 13:37:57 +0200 |
commit | 79560be18d43a971e9bfc6dfa910ce8ef40a2860 (patch) | |
tree | e6c59feacf2f3fd30128fea0b51d0fa2b4b21dd8 | |
parent | 1b937705295af740287fee6624955c6157cc1f4f (diff) | |
download | dotfiles-79560be18d43a971e9bfc6dfa910ce8ef40a2860.tar.lz dotfiles-79560be18d43a971e9bfc6dfa910ce8ef40a2860.tar.zst dotfiles-79560be18d43a971e9bfc6dfa910ce8ef40a2860.zip |
Emacs: make closing buffers less confusing
-rw-r--r-- | emacs/.emacs.d/main.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index c02ddc6..1bb513c 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -2489,6 +2489,7 @@ Pass ARG to `comint-delchar-or-maybe-eof'." (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) |