Skip to content

Instantly share code, notes, and snippets.

@ceme
Created November 18, 2012 21:47
Show Gist options
  • Save ceme/4107697 to your computer and use it in GitHub Desktop.
Save ceme/4107697 to your computer and use it in GitHub Desktop.
VIM search and replace
:g/pattern/s/old/new/g
or
:g/pattern/s//new/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment