Fix :q :wq
This commit is contained in:
parent
33507db9eb
commit
b0515ebf2a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue