Skip to content

Instantly share code, notes, and snippets.

@4383
Created March 28, 2018 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4383/a753084cd8289c50ceaf497c6bfd0fda to your computer and use it in GitHub Desktop.
Save 4383/a753084cd8289c50ceaf497c6bfd0fda to your computer and use it in GitHub Desktop.
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