Emacs: line-move-visual

By Xah Lee. Date: . Last updated: .

What is line-move-visual

line-move-visual is a variable. If value is true, arrow up/down moves by visual line. Else, logical line.

To set to logical line, Alt+x set-variable, then give line-move-visual, with value nil. (t for true; nil for false).

in Emacs 23 (Released 2009-07), default value of line-move-visual is t.

Visual Line in Keyboard Macro

line-move-visual is relevant in Emacs: Keyboard Macro.

When you play back macro, be sure the line-move-visual is the same as when you recorded it.

Command to toggle line-move-visual

the variable is toggle by Emacs: Visual Line Mode