Jeremy Conlin wrote:
Hello all. I have several files where I want to make the same substitution. I can make the substitute command work on a single file, but I want to make it work on all the files. I have the files loaded in buffers in vim. Any suggestions? Thanks, Jeremy
You can use the :bufdo command. It executes the given command on every (non-hidden IIRC) buffer.
:bufdo s/foo/bar/g Bye, Wim