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

Spent a few hours here?

Emacs Tutorial

Emacs Init

Emacs Keys

Elisp Basics

Elisp Examples

Elisp Advanced

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

Editing Brackets

Org Mode

HTML

Emacs Efficiency

Misc