Last Updated: February 25, 2016
·
510
· zabolotnov87

Vim find and replace

Find and replace all occurs in file:

(in vim command line)

%s/find_string/replace_string/g 

1 Response
Add your response

you don't have to use '/' as seperator. You could for example use '' as separator and wouldn't have to escape paths (eg. `%s/path/a/path/bg`).

over 1 year ago ·