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:
parent
37fa82919b
commit
c4a0fbd89e
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue