Fix :q :wq

This commit is contained in:
Rawley Fowler 2022-05-28 11:11:39 -06:00 committed by GitHub
parent 33507db9eb
commit b0515ebf2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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