add vim search

This commit is contained in:
Malin Freeborn 2020-01-15 02:05:53 +01:00
parent 20dba22e6f
commit fbdc2360dc
1 changed files with 8 additions and 0 deletions

8
vim/search.md Normal file
View 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