Skip to content

Instantly share code, notes, and snippets.

@victorphamdeveloper
Last active April 14, 2022 09:56
Show Gist options
  • Save victorphamdeveloper/e2822af7d75ff290c089681932af058c to your computer and use it in GitHub Desktop.
Save victorphamdeveloper/e2822af7d75ff290c089681932af058c to your computer and use it in GitHub Desktop.
Vim commands
Replace all instances of `foo` with `bar` in project
```
:grep foo
:cdo s/foo/bar/ | update
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment