Currently, you can only fold/unfold headers and lists.
In my workflow, folding headers and lists serve different purposes.
I fold headers to eliminate visual clutter and narrow my focus.
With lists, however, they have a meaningful structure; some lists are folded and others unfolded. I find folding all lists not useful at all. Even if I were to fold all lists, I’d want to fold only the topmost level, not all levels.
Possible solution
Add options to separately fold/unfold headers and lists.
Add an option to fold only the topmost level of lists.
I support this request and like to add the option to have commands/shortcuts for folding specific header-types. Like ‘fold all H1’.
Then I could have my header outline easily folded or unfolded.
Hi, I haven’t tested this extensively but I think the Crease plugin by Liam Cain might have what you’re after. As a fellow disgruntle-ee of limited folding controls I’ve found it does exactly what I need.
I also support this request! In the meantime, I’ve realised that it’s possible to prevent all lists from folding by toggling off ‘Fold indent’ in Editor. For me that’s a good trade off because I rarely want to collapse lists, and if I did I suppose I can just pop a header above it.
The Creases plugin suggested above seems great for some purposes but from what I could tell it doesn’t help with the issue of having to manually unfold each dot point.
In addition to “Fold all headings and list”, please also add more (un)fold commands for more granular control:
Toggle fold all lists
Toggle fold all headings
Toggle fold for H1/2/3/4/5/6 (six separate commands)
I don’t see a reason to have separate ‘fold’ and ‘unfold’ commands. So as not to clog up the command palette w/ redundant commands, the proposed commands are toggles instead.
Plugin solutions worth mentioning:
Creases adds quite a few (un)fold commands to the palette, including “Toggle fold H1/H2/etc”.
Outliner adds commands to (un)fold list under cursor.