I use org-mode, and have huge text files with headings (as well as subheadings at different depths). Instead of clicking open each headline to check for its content, I would like a "follow" functionality, made such that when moving the cursor down or up the collapsed headlines in one window (commands C-n
or C-p
, respectively), the content under the current headline is shown in a second window, splitting the frame vertically or horizontally.
How can I make or invoke such a following mode for showing headline content?
occur
to search for^*
(i.e. all headings) and navigate with M-g M-n and M-g M-p.C-c a < m RET F
, though it will give you all the headings will not preserve the tree structure/order.