lk/vim/vim search.md

13 lines
179 B
Markdown
Raw Normal View History

2022-01-16 18:20:39 +00:00
---
title: "search"
tags: [ "Documentation", "vim" ]
---
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