add vim search
This commit is contained in:
parent
20dba22e6f
commit
fbdc2360dc
8
vim/search.md
Normal file
8
vim/search.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Search and replace the first 'one' found with 'two':
|
||||||
|
|
||||||
|
> :%s/one/two/
|
||||||
|
|
||||||
|
Same, but replace 'one' globally:
|
||||||
|
|
||||||
|
> :%s/one/two/g
|
||||||
|
|
Loading…
Reference in New Issue
Block a user