Emacs: Line Wrap

By Xah Lee. Date: . Last updated: .

Toggle Line Wrap Display

Alt+x toggle-truncate-lines

when on, lines runs off and disappears on the right window margin. You have to horizontal scroll right to see them.

💡 TIP: This is useful when you just want to get an overview of long paragraphs.

emacs toggle truncate lines 61581
emacs toggle-truncate-lines

put this in your Emacs Init File:

;; make emacs not soft-wrap lines by default for all buffers
(setq-default truncate-lines t)
;; not recommended
;; if you do this, dired filenames or url may show at next line 

Emacs Lines, Column, Cursor Position

Soft-Wrap Lines

Reformat Lines

Show Line Number, Column Number

Highlight Current Line, Screen Line