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)
|
(interactive)
|
||||||
(save-buffer)
|
(save-buffer)
|
||||||
(kill-buffer))
|
(kill-buffer))
|
||||||
(defun kill-buffer ()
|
(defun kill-buffer-evil ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(kill-buffer))
|
(kill-buffer))
|
||||||
|
|
||||||
(evil-ex-define-cmd "wq" 'save-and-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
|
(use-package evil-collection
|
||||||
:after evil
|
:after evil
|
||||||
|
|
Loading…
Reference in a new issue