mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-02-24 01:59:28 +08:00
Text motions: they do take counts
Also add example of a text motion used with a count. Closes #39.
This commit is contained in:
parent
2ce59cdded
commit
51f0117fd6
@ -354,7 +354,9 @@ object. With `i` it only acts on the object itself, with `a` on the object plus
|
|||||||
trailing whitespace. E.g. `diw` deletes the current word and `ci(` changes
|
trailing whitespace. E.g. `diw` deletes the current word and `ci(` changes
|
||||||
everything between parentheses.
|
everything between parentheses.
|
||||||
|
|
||||||
Text objects don't take a count.
|
Text objects take a count. Imagine `((( )))` and the cursor on or between the
|
||||||
|
most inner parentheses, then `d2a(` will remove the 2 inner pairs of parentheses
|
||||||
|
and everything in between.
|
||||||
|
|
||||||
See `:h text-objects` for all available text objects.
|
See `:h text-objects` for all available text objects.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user