lk/vim/vim-search.md

13 lines
183 B
Markdown

---
title: "vim search"
tags: [ "Documentation", "vim" ]
---
Search and replace the first 'one' found with 'two':
> :%s/one/two/
Same, but replace 'one' globally:
> :%s/one/two/g