Variable: evil-normal-state-entry-hook

evil-normal-state-entry-hook is a variable defined in evil-states.el.

Value

nil

Documentation

Hooks to run when entering Normal state.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-states.el
;;; Normal state

(evil-define-state normal
  "Normal state.
AKA \"Command\" state."
  :tag " <N> "
  :enable (motion)
  (cond
   ((evil-normal-state-p)
    (overwrite-mode -1)
    (add-hook 'post-command-hook #'evil-normal-post-command nil t))
   (t
    (remove-hook 'post-command-hook #'evil-normal-post-command t))))