Search and replace
http://vim.wikia.com/wiki/Search_and_replace
replace (case insensitive) foo to bar whale document with confirmations
%s/foo/bar/gci
http://vim.wikia.com/wiki/Search_and_replace
replace (case insensitive) foo to bar whale document with confirmations
%s/foo/bar/gci