Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Vim - comment lines between num1 and num2
:34,65 s/./#&/
@4383
Copy link
Author

4383 commented Mar 28, 2018

fold bash function

:%g/\(function\_.\{-}\)\@<={/ normal! f{zf%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment