Answers for "vim replace text in next 10 lines"

7

vim replace command

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

search and replace vim

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

search and replace vim forward slash

:%s/<dog/>/<cat\>
Posted by: Guest on April-20-2020

Browse Popular Code Answers by Language