Enable evil mode by default in all buffers

This commit is contained in:
outfoxxed 2023-01-17 20:26:35 -08:00
parent 0a01dd905a
commit fe1ac886ec
Signed by: outfoxxed
GPG Key ID: 4C88A185FB89301E
1 changed files with 0 additions and 3 deletions

View File

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