1

Using vim find and replace, how can one find and replace string pattern such as this: /local/this/drive/opt/script/ with /remote/script

DevEx
  • 4,337
  • 13
  • 46
  • 68

1 Answers1

1

Remember that in Vim you can use not only the slash character as separator:

:%s_/this/drive/opt/script/_/remote/script_g
Nicolás Ozimica
  • 9,481
  • 5
  • 38
  • 51