Enable evil mode by default in all buffers
This commit is contained in:
parent
0a01dd905a
commit
fe1ac886ec
3
init.el
3
init.el
|
@ -70,15 +70,12 @@
|
||||||
(setq evil-want-C-u-scroll t
|
(setq evil-want-C-u-scroll t
|
||||||
evil-mode-beyond-eol t
|
evil-mode-beyond-eol t
|
||||||
evil-mode-fine-undo t
|
evil-mode-fine-undo t
|
||||||
evil-default-state 'emacs
|
|
||||||
evil-undo-system 'undo-redo
|
evil-undo-system 'undo-redo
|
||||||
evil-want-keybinding nil)
|
evil-want-keybinding nil)
|
||||||
:config
|
:config
|
||||||
(add-hook 'evil-local-mode-hook (lambda ()
|
(add-hook 'evil-local-mode-hook (lambda ()
|
||||||
(setq-local interprogram-cut-function nil)
|
(setq-local interprogram-cut-function nil)
|
||||||
(setq-local interprogram-paste-function nil)))
|
(setq-local interprogram-paste-function nil)))
|
||||||
(evil-set-initial-state 'prog-mode 'normal)
|
|
||||||
(evil-set-initial-state 'text-mode 'normal)
|
|
||||||
(evil-mode +1))
|
(evil-mode +1))
|
||||||
|
|
||||||
(use-package evil-collection
|
(use-package evil-collection
|
||||||
|
|
Loading…
Reference in a new issue