Emacs: Visual Line Mode

By Xah Lee. Date: . Last updated: .
emacs visual-line-mode 2021-05-01
emacs visual-line-mode 2021-05-01
Alt+x visual-line-mode
Turn on/off line wrap for current buffer. By default, this is off. To set it on or off permanently, put in your emacs init file:
(global-visual-line-mode 1)
Alt+x global-visual-line-mode
Toggle globally

Visual line mode actually does several things. From a user's point of view, it:

Toggle Word Wrap

If all you want is to have soft wrap that doesn't cut words in middle, see Emacs: Toggle Word Wrap

Line Wrap

If you have a question, put $5 at patreon and message me on xah discord.
Or support me by Buy Xah Emacs Tutorial

Emacs Tutorial

Emacs Init

Emacs Keys

ELisp

ELisp Examples

ELisp Write Major Mode


Emacs Tutorial

Quick Start

Manage Windows

File

Buffer

Find Replace

Copy/Paste

Unicode

Whitespace

Rectangle Edit

Line Wrap

Shell

View Special File

Working with Brackets

Org Mode

HTML

Emacs Efficiency

Misc