lk/vim/search.md
2022-01-18 13:24:25 +01:00

179 B

title tags
search
Documentation
vim

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

:%s/one/two/

Same, but replace 'one' globally:

:%s/one/two/g