In Vim, when I do:
:%s/foo/bar/g
It will replace all occurrence of \'foo\' with \'bar\' in the entire document. When it completes, the cursor h