Ensure evil-escape loads later at startup
evil-normal-state-exit-hook is fired prematurely at startup, which makes it a poor candidate for :after-call deferral.
This commit is contained in:
parent
4fda7cd287
commit
887bc05478
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ directives. By default, this only recognizes C directives.")
|
||||||
|
|
||||||
(use-package! evil-escape
|
(use-package! evil-escape
|
||||||
:commands evil-escape
|
:commands evil-escape
|
||||||
:after-call evil-normal-state-exit-hook
|
:after-call pre-command-hook
|
||||||
:init
|
:init
|
||||||
(setq evil-escape-excluded-states '(normal visual multiedit emacs motion)
|
(setq evil-escape-excluded-states '(normal visual multiedit emacs motion)
|
||||||
evil-escape-excluded-major-modes '(neotree-mode treemacs-mode vterm-mode)
|
evil-escape-excluded-major-modes '(neotree-mode treemacs-mode vterm-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue