How do I search and replace a string in multiple files?
You can use the ‘argdo’, ‘bufdo’, ‘windo’ or ‘tabdo’ commands to execute an ex command on multiple files. For example:
:argdo %s/foo/bar/g|upd
You can use the ‘argdo’, ‘bufdo’, ‘windo’ or ‘tabdo’ commands to execute an ex command on multiple files. For example:
:argdo %s/foo/bar/g|upd
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE