O'Reilly logo

Linux in a Nutshell, 6th Edition by Robert Love, Stephen Figgins, Ellen Siever, Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required