1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 21:46:02 +02:00

vim: add s for substitution

This commit is contained in:
Max Strübing 2017-10-19 19:27:18 +02:00
parent 37fa82919b
commit c4a0fbd89e

View file

@ -25,7 +25,7 @@
- Perform a regex substitution in the whole file (from the start to the end(% holds the file name)):
`<Esc>:%/{{pattern}}/{{replacement}}/g<Enter>`
`<Esc>:%s/{{pattern}}/{{replacement}}/g<Enter>`
- Save (write) the file, and quit: