By batch folding I mean being able to fold all instances of a heading that appears on multiple pages.
For instance, all my notes have a Meta heading-section. When I search “meta”, there could be an option to fold/unfold all headings that contain the word “meta”.