Function: evil-scroll-count-reset

evil-scroll-count-reset is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-scroll-count-reset)

Documentation

Set evil-scroll-count to 0.

evil-scroll-up and evil-scroll-down will then scroll by half of the screen (the default).

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-scroll-count-reset ()
  "Set `evil-scroll-count' to 0.
`evil-scroll-up' and `evil-scroll-down' will then scroll by half of
the screen (the default)."
  :repeat nil
  :keep-visual t
  (interactive)
  (setq evil-scroll-count 0))