mirror of
https://github.com/iggredible/Learn-Vim
synced 2025-02-17 00:08:26 +00:00
Merge pull request #114 from jiajia2u/patch-1
Update ch01_starting_vim.md
This commit is contained in:
commit
4b2743a0f0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue