Vim find and replace
Find and replace all occurs in file:
(in vim command line)
%s/find_string/replace_string/g
Written by Sergey Zabolotnov
Related protips
1 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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#