summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index c02ddc66..1bb513c0 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)