Answers

Question and Answer:

  Home  Editors

⟩ How to replace String "a" with String "b" in whole file of the vi editor?

:g/string1/s//string2/g

ex:

:g/a/s//b/g

 166 views

More Questions for you: