On Sunday 21 May 2006 15:18, Andy George wrote: > ...in VI the editor-of-the-gods... > > How do you do a word find/replace?
:%s/find/replace/g Will replace find with replace in the whole document (%) and be greedy (g) i.e. replace more than one occurrence on a line. Of course you are correct; http://www.google.co.nz/search?q=vim+search+replace could easily tell you as well. hads -- Make it idiot-proof, and someone will breed a better idiot. -- Oliver Elphick