Re:Reasons To Give The Vim Text Editor A Chance
by crowsfan85 on Monday May 16, 2011 @05:56AM
(#2552087)
I agree. I've also found this perl script handy for recursive find/replace: http://www.neilgunton.com/doc/deep
$ deep replace "foo" "bar" "*.html"
The Unix shell is pretty much designed for advanced text manipulation across files. E.g., to replace all instances of foo with bar in HTML files, recursively:
vim and the shell are not so far apart and complement each other well, so it pays to understand them both.