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.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago