mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-22 16:21:04 -05:00
feature/evil: fix vars being set too late #401
Certain evil variables, like evil-respect-visual-line-mode, need to be set before evil is loaded for it to take effect.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
(autoload 'goto-last-change-reverse "goto-chg")
|
||||
|
||||
(def-package! evil
|
||||
:config
|
||||
:init
|
||||
(setq evil-want-C-u-scroll t
|
||||
evil-want-visual-char-semi-exclusive t
|
||||
evil-want-Y-yank-to-eol t
|
||||
@@ -45,6 +45,7 @@
|
||||
evil-insert-state-cursor 'bar
|
||||
evil-visual-state-cursor 'hollow)
|
||||
|
||||
:config
|
||||
(add-hook 'doom-init-hook #'evil-mode)
|
||||
(evil-select-search-module 'evil-search-module 'evil-search)
|
||||
|
||||
|
Reference in New Issue
Block a user