lk/vim/search.md
2022-01-16 19:29:49 +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