lk/vim/search.md
2020-01-15 02:05:53 +01:00

122 B

Search and replace the first 'one' found with 'two':

:%s/one/two/

Same, but replace 'one' globally:

:%s/one/two/g