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:
parent
c5837440d6
commit
3a6388bb68
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue