Function: evil-window-top
evil-window-top is an interactive and byte-compiled function defined
in evil-commands.el.
Signature
(evil-window-top &optional COUNT)
Documentation
Move the cursor to line COUNT from the top of the window.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-motion evil-window-top (count)
"Move the cursor to line COUNT from the top of the window."
:jump t
:type line
(evil-ensure-column
(move-to-window-line
(max (or count 0)
(if (or (zerop scroll-margin)
(= (point-min) (window-start))
(< (count-screen-lines (window-start) (point))
scroll-margin))
0
scroll-margin)))))