Fix evil registers

This commit is contained in:
outfoxxed 2022-12-12 16:20:50 -08:00
parent 6edb596adb
commit 2718aa028a
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -136,6 +136,9 @@
evil-default-state 'emacs
evil-undo-system 'undo-redo)
: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))