Paragraphs and Regions

Keystrokes

Command name

Description

C-@

set-mark-command

Mark the beginning (or end) of a region.

C-Space

(same as above)

(same as above)

C-x C-p

mark-page

Mark page.

C-x C-x

exchange-point-and-mark

Exchange location of cursor and mark.

C-x h

mark-whole-buffer

Mark buffer.

M-q

fill-paragraph

Reformat paragraph.

(none)

fill-region

Reformat individual paragraphs within a region.

M-h

mark-paragraph

Mark paragraph.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.