Skip to main content

32.17 Indentation

The indentation functions are used to examine, move to, and change whitespace that is at the beginning of a line. Some of the functions can also change whitespace elsewhere on a line. Columns and indentation count from zero at the left margin.

Primitive Indent  Functions used to count and insert indentation.
Mode-Specific Indent  Customize indentation for different modes.
Region Indent  Indent all the lines in a region.
Relative Indent  Indent the current line based on previous lines.
Indent Tabs  Adjustable, typewriter-like tab stops.
Motion by Indent  Move to first non-blank character.