This is the official manual for the latest Org-mode release.
Outlines make it possible to hide parts of the text in the buffer. Org uses just two commands, bound to <TAB> and S-<TAB> to change the visibility in the buffer.
org-cycle
),-> FOLDED -> CHILDREN -> SUBTREE --. '-----------------------------------'
The cursor must be on a headline for this to work1. When the cursor is at the beginning of the buffer and the first line is not a headline, then <TAB> actually runs global cycling (see below)2. Also when called with a prefix argument (C-u <TAB>), global cycling is invoked.
org-global-cycle
)
,-> OVERVIEW -> CONTENTS -> SHOW ALL --. '--------------------------------------'
When S-<TAB> is called with a numeric prefix argument N, the CONTENTS view up to headlines of level N will be shown. Note that inside tables, S-<TAB> jumps to the previous field.
org-set-startup-visibility
)show-all
)org-reveal
)show-branches
)show-children
)org-tree-to-indirect-buffer
)org-copy-visible
)[1] see, however,
the option org-cycle-emulate-tab
.
[2] see the
option org-cycle-global-at-bob
.
[3] The indirect buffer (see the Emacs manual for more information about indirect buffers) will contain the entire buffer, but will be narrowed to the current tree. Editing the indirect buffer will also change the original buffer, but without affecting visibility in that buffer.