Merge pull request #106 from ltxlouis/master

typo in Ch12
This commit is contained in:
Igor Irianto 2021-07-16 09:00:17 -05:00 committed by GitHub
commit b441c685a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,7 +262,7 @@ To substitute the "let" into "const" on lines three to five, you can do:
Here are some range variations you can pass:
- `:,3/let/const/` - if nothing is given before the comma, it represents the current line. Substitute from current line to line 3.
- `:,3s/let/const/` - if nothing is given before the comma, it represents the current line. Substitute from current line to line 3.
- `:1,s/let/const/` - if nothing is given after the comma, it also represents the current line. Substitute from line 1 to current line.
- `:3s/let/const/` - if only one value is given as range (no comma), it does substitution on that line only.