Variable: evil-respect-visual-line-mode

evil-respect-visual-line-mode is a customizable variable defined in evil-vars.el.

Value

nil

Documentation

Whether movement commands respect visual-line-mode(var)/visual-line-mode(fun). If non-nil, visual-line-mode(var)/visual-line-mode(fun) is generally respected when it is on. In this case, motions such as j (evil-next-line) and k (evil-previous-line) navigate by visual lines (on the screen) rather than "physical" lines (defined by newline characters). If nil, the setting of visual-line-mode(var)/visual-line-mode(fun) is ignored.

This variable must be set before Evil is loaded.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-respect-visual-line-mode nil
  "\\<evil-motion-state-map>
Whether movement commands respect `visual-line-mode'.
If non-nil, `visual-line-mode' is generally respected when it is
on.  In this case, motions such as \\[evil-next-line] and
\\[evil-previous-line] navigate by visual lines (on the screen) rather
than \"physical\" lines (defined by newline characters).  If nil,
the setting of `visual-line-mode' is ignored.

This variable must be set before Evil is loaded."
  :type 'boolean
  :group 'evil)