"Folding and unfolding all headings and lists" command should not affect properties

Use case or problem

what title says

Proposed solution

when you run the fold/unfold all headings and lists cmmand it also folds and unfolds the properties

3 Likes

For what it’s worth, I like the current behavior, where “Fold all headings and lists” also folds the properties view. It’s how I expect the commands to work.

If the dev team considers this request, then I ask them to also consider making it a separate command so that we can assign a hotkey to the behavior we want, e.g.:

  • Fold/unfold all headings and lists
  • Fold/unfold all headings, lists, and frontmatter

there is a command to fold and unfold the property I mean is the property a heading or list to get folded by the ( fold all headings and lists ) command

Ah, I see what you mean, that folding/unfolding properties already has its own command. That makes sense.

1 Like

You might be able to use the “macros” feature of the Commander plugin to do both commands at once (I haven’t explored the feature myself).

1 Like

I would agree that the YAML is not a “list” in the same sense as the ones in the bodies of the notes and so shouldn’t automatically get folded by the keyboard shortcut. My workaround for the moment was to assign a keyboard shortcut to “Toggle fold properties in current file”, which at least lets me fold everything and then unfold the properties fairly quickly.

1 Like