Function: evil-end-of-line-or-visual-line

evil-end-of-line-or-visual-line is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-end-of-line-or-visual-line &optional COUNT)

Documentation

Move the cursor to the last character of the current screen line if visual-line-mode(var)/visual-line-mode(fun) is active and evil-respect-visual-line-mode is non-nil. If COUNT is given, move COUNT - 1 screen lines downward first.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-motion evil-end-of-line-or-visual-line (count)
  "Move the cursor to the last character of the current screen
line if `visual-line-mode' is active and
`evil-respect-visual-line-mode' is non-nil.  If COUNT is given,
move COUNT - 1 screen lines downward first."
  :type inclusive
  (if (and evil-respect-visual-line-mode
           visual-line-mode)
      (evil-end-of-visual-line count)
    (evil-end-of-line count)))