Archive for August, 2011

Execute a vim operation across multiple files

For example to replace all instances of “hello” by “bye” in all cpp files:

:args *.cpp
:argdo %s/hello/bye/cg | update
Monday, August 8th, 2011 Uncategorized No Comments