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
|
||||
evil-mode-beyond-eol t
|
||||
evil-mode-fine-undo t
|
||||
evil-default-state 'emacs
|
||||
evil-undo-system 'undo-redo
|
||||
evil-want-keybinding nil)
|
||||
:config
|
||||
(add-hook 'evil-local-mode-hook (lambda ()
|
||||
(setq-local interprogram-cut-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))
|
||||
|
||||
(use-package evil-collection
|
||||
|
|
Loading…
Reference in a new issue