Return to Snippet

Revision: 22557
at January 15, 2010 10:30 by wdso


Initial Code
# Replaces every occurrence of the word foo with bar in the whole file.
:%s/foo/bar/g

Initial URL

                                

Initial Description
Howto search and replace in vim when editing a file.

Initial Title
vim search and replace

Initial Tags
regex

Initial Language
Bash