summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-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 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)