183 B
183 B
title | tags | ||
---|---|---|---|
vim search |
|
Search and replace the first 'one' found with 'two':
:%s/one/two/
Same, but replace 'one' globally:
:%s/one/two/g
title | tags | ||
---|---|---|---|
vim search |
|
Search and replace the first 'one' found with 'two':
:%s/one/two/
Same, but replace 'one' globally:
:%s/one/two/g