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

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind