mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-02-23 17:49:28 +08:00
Ranges: :write/:global are not the only cmds acting on all lines
This commit is contained in:
parent
7426f2407e
commit
58c206a159
@ -548,8 +548,8 @@ full potential.
|
|||||||
- A range is either a single address or a pair of addresses separated by either
|
- A range is either a single address or a pair of addresses separated by either
|
||||||
`,` or `;`.
|
`,` or `;`.
|
||||||
- Ranges tell commands which lines to act on.
|
- Ranges tell commands which lines to act on.
|
||||||
- Most commands act only on the current line by default.
|
- Most commands act only on the current line by default. Notable exceptions are
|
||||||
- Only `:write` and `:global` act on all lines by default.
|
`:write` and `:global` which act on all lines.
|
||||||
|
|
||||||
The usage of ranges is pretty intuitive, so here are some examples (using `:d`
|
The usage of ranges is pretty intuitive, so here are some examples (using `:d`
|
||||||
as short form of `:delete`):
|
as short form of `:delete`):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user