Answers for "find and replace in vim"

7

vim replace command

:%s/foo/bar/g
Posted by: Guest on May-22-2020
0

replace in vim

:%s/foo/bar/g
Copy
Posted by: Guest on July-29-2021
0

linux vim replace all

%s/{the word you want to find}/{word to replaced with }/gc
Posted by: Guest on June-11-2020
1

search and replace vim

:6,10s/<search_string>/<replace_string>/g | 14,18&&
Posted by: Guest on April-09-2020
0

vim replace in selection

:'<,'>s/foo/bar/g
Posted by: Guest on November-14-2020

Browse Popular Code Answers by Language