Variable: evil-track-eol
evil-track-eol is a customizable variable defined in evil-vars.el.
Value
t
Documentation
Whether $ (evil-end-of-line) "sticks" the cursor to the end of the line.
If non-nil, vertical motions after $ (evil-end-of-line) maintain the cursor at the
end of the line, even if the target line is longer. This is analogous
to track-eol, but respects Evil's interpretation of end-of-line.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-track-eol t
"\\<evil-motion-state-map>
Whether \\[evil-end-of-line] \"sticks\" the cursor to the end of the line.
If non-nil, vertical motions after \\[evil-end-of-line] maintain the cursor at the
end of the line, even if the target line is longer. This is analogous
to `track-eol', but respects Evil's interpretation of end-of-line."
:type 'boolean
:group 'evil)