lk/vim/vim-search.md
2022-02-03 20:10:35 +01:00

183 B

title tags
vim search
Documentation
vim

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

:%s/one/two/

Same, but replace 'one' globally:

:%s/one/two/g