Variable: evil-cross-lines

evil-cross-lines is a customizable variable defined in evil-vars.el.

Value

nil

Documentation

Whether horizontal motions may move to other lines. If non-nil, certain motions that conventionally operate in a single line may move the cursor to other lines. Otherwise, they are restricted to the current line. This applies to h (evil-backward-char), SPC (evil-forward-char), f (evil-find-char), F (evil-find-char-backward), t (evil-find-char-to), T (evil-find-char-to-backward), ~ (evil-invert-char).

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-cross-lines nil
  "\\<evil-motion-state-map>
Whether horizontal motions may move to other lines.  If non-nil,
certain motions that conventionally operate in a single line may move
the cursor to other lines.  Otherwise, they are restricted to the
current line.  This applies to \\[evil-backward-char], \
\\[evil-forward-char], \\[evil-find-char], \
\\[evil-find-char-backward], \\[evil-find-char-to], \
\\[evil-find-char-to-backward], \
\\<evil-normal-state-map>\\[evil-invert-char]."
  :type 'boolean
  :group 'evil)