Skip to content

Instantly share code, notes, and snippets.

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

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