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 Email and Password
3 years ago