From b0515ebf2ac6f67fd2e1771873b37265f5ccd01b Mon Sep 17 00:00:00 2001 From: Rawley Fowler <75388349+rawleyfowler@users.noreply.github.com> Date: Sat, 28 May 2022 11:11:39 -0600 Subject: [PATCH] Fix :q :wq --- emacs.d/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index ac31ac4..64cb0e8 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -66,12 +66,12 @@ (interactive) (save-buffer) (kill-buffer)) -(defun kill-buffer () +(defun kill-buffer-evil () (interactive) (kill-buffer)) (evil-ex-define-cmd "wq" 'save-and-kill-buffer) -(evil-ex-define-cmd "q" 'kill-buffer) +(evil-ex-define-cmd "q" 'kill-buffer-evil) (use-package evil-collection :after evil