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

9 lines
122 B
Markdown

Search and replace the first 'one' found with 'two':
> :%s/one/two/
Same, but replace 'one' globally:
> :%s/one/two/g