Emacs: Toggle Word Wrap

By Xah Lee. Date: . Last updated: .

Alt+x toggle-word-wrap to wrap words at word boundary.

emacs30 toggle-word-wrap 2025-08-17 2fb48
emacs30 toggle-word-wrap 2025-08-17 2fb48

put this in your Emacs Init File:

;; force line wrap to wrap at word boundaries
;; http://xahlee.info/emacs/emacs/emacs_toggle-word-wrap.html
(setq-default word-wrap t)

Emacs Lines, Column, Cursor Position

Soft-Wrap Lines

Reformat Lines

Show Line Number, Column Number

Highlight Current Line, Screen Line