Is there any way to run a command like:
But apply it only to either folded or unfolded code?
:folddoopen and :folddoclose do exactly what you want:
I didn't know about these commands before tonight: :help fold is our friend.
3 years ago