Merge pull request #114 from jiajia2u/patch-1

Update ch01_starting_vim.md
This commit is contained in:
Igor Irianto 2021-09-06 09:02:15 -05:00 committed by GitHub
commit 4b2743a0f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ The command can be stacked:
vim +%s/pancake/bagel/g +%s/bagel/egg/g +%s/egg/donut/g hello.txt
```
Vim will replace all instances of "pancake" with "bagel", then replace "bagel" with "egg", then replace "egg" with "donut" (you willl learn substitution in a later chapter).
Vim will replace all instances of "pancake" with "bagel", then replace "bagel" with "egg", then replace "egg" with "donut" (you will learn substitution in a later chapter).
You can also pass the `c` flag followed by the command instead of the `+` syntax: