Outline mode provides special motion commands that move backward and forward to heading lines.
outline-next-visible-heading
).
outline-previous-visible-heading
).
outline-forward-same-level
).
outline-backward-same-level
).
outline-up-heading
).
C-c C-n (outline-next-visible-heading
) moves down to the next
heading line. C-c C-p (outline-previous-visible-heading
) moves
similarly backward. Both accept numeric arguments as repeat counts. The
names emphasize that invisible headings are skipped, but this is not really
a special feature. All editing commands that look for lines ignore the
invisible lines automatically.
More powerful motion commands understand the level structure of headings.
C-c C-f (outline-forward-same-level
) and
C-c C-b (outline-backward-same-level
) move from one
heading line to another visible heading at the same depth in
the outline. C-c C-u (outline-up-heading
) moves
backward to another heading that is less deeply nested.
Go to the first, previous, next, last section, table of contents.