mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user