Skip to content

Instantly share code, notes, and snippets.

@tux-00
Last active July 19, 2017 08:18
Show Gist options
  • Save tux-00/2308f245b9cccf6c64cdd823fccedc74 to your computer and use it in GitHub Desktop.
Save tux-00/2308f245b9cccf6c64cdd823fccedc74 to your computer and use it in GitHub Desktop.
Vim

Replace and ask for confirmation

:%s/foo/bar/gc

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