lk/vim/vim-search.md

13 lines
183 B
Markdown
Raw Normal View History

2022-01-16 18:20:39 +00:00
---
2022-02-03 19:10:35 +00:00
title: "vim search"
2022-01-16 18:20:39 +00:00
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