Q: how do I fold the current org-mode block where my cursor is inside of it?
I want to fold block under the current heading only. I know that I can use org-hide-block-all
to fold all blocks in the buffer, and org-hide-block-toggle
to toggle the current block (i.e., the one at point). But how about folding one block under the current heading?
For example:
* header 1
Some text here
* header 2
Some text here [point/cursor]
* header 1
Some text here
I'd like to be able to fold the text under header 2 but leave the rests of headers 1 and 3 alone. And if the pointer/cursor happens to be on the header 2 instead of text below, it will also give the same behaviour. How would I do that?