How do you run a command across all files in the argument list?
Answer
:argdo %s/old/new/ge | update
Explanation
Use :argdo to execute a command in every file in the argument list. The e flag prevents errors on no-match, update saves changes.
:argdo %s/old/new/ge | update
Use :argdo to execute a command in every file in the argument list. The e flag prevents errors on no-match, update saves changes.