Indentation Commands
Keystrokes | Command name | Description |
---|---|---|
C-x . | set-fill-prefix | Use characters from the beginning of the line up to the cursor column as the “fill prefix.” This prefix is prepended to each line in the paragraph. Cancel the prefix by typing this command in column 1. |
(none) | indented-text-mode | Major mode: each tab defines a new indent for subsequent lines. |
(none) | text-mode | Exit indented text mode; return to text mode. |
C-M-\ | indent-region | Indent a region to match first line in region. |
M-m | back-to-indentation | Move cursor to first nonblank character on line. |
M-^ | delete-indentation | Join this line to the previous one. |
C-M-o | split-line | Split line at cursor; indent to column of cursor. |
(none) | fill-individual-paragraphs | Reformat indented paragraphs, keeping indentation. |
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.