Outlining

Section and scene headings define the outline of a script. There are six levels of outline headings: the first five are the five section heading levels and the sixth is scene headings.

You can cycle the visibility of an individual subtree with TAB. Cycle global outline visibility with S-TAB (shift-tab) or C-u TAB.

You can rearrange the structure of a script by shifting sections via their headings, with the following commands:

M-<up>

Shift the section at the current outline heading up (backward) by one section at the same level. (fountain-outline-shift-up).

M-<down>

Shift the section at the current outline heading down (forward) by one section at the same level. (fountain-outline-shift-down).

Command: fountain-insert-section-heading

Bound to M-RET, insert an empty section heading at the current outline level.

Command: fountain-outline-to-indirect-buffer

If you want to focus on discrete sections of your script you can open these in indirect buffers. Bound to C-c C-x b, this command clones the current section or scene to indirect buffer.

See (emacs)Indirect Buffers

User Option: fountain-pop-up-indirect-windows

Set this to control how indirect buffer windows are opened. Sometimes you might want to limit your focus to one sequence, other times you might want to look at two scenes in windows side-by-side. Set this option to spawn a new window.