Ranges: :write/:global are not the only cmds acting on all lines

This commit is contained in:
Marco Hinz 2018-04-10 17:15:38 +02:00
parent 7426f2407e
commit 58c206a159
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -548,8 +548,8 @@ full potential.
- A range is either a single address or a pair of addresses separated by either
`,` or `;`.
- Ranges tell commands which lines to act on.
- Most commands act only on the current line by default.
- Only `:write` and `:global` act on all lines by default.
- Most commands act only on the current line by default. Notable exceptions are
`:write` and `:global` which act on all lines.
The usage of ranges is pretty intuitive, so here are some examples (using `:d`
as short form of `:delete`):