lk/vim/search.md

9 lines
122 B
Markdown
Raw Normal View History

2020-01-15 01:05:53 +00:00
Search and replace the first 'one' found with 'two':
> :%s/one/two/
Same, but replace 'one' globally:
> :%s/one/two/g