Brennan Vincent
unread,Oct 17, 2020, 2:32:38 PM10/17/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
If [count] is more than the number of objects available, operators with
motions operate on as many as possible.
For example: on a buffer with contents "x y z", "d5w" will delete from
the cursor to the end of the buffer.
Text object selection motions do not have this behavior. On a buffer
with contents "<<xyz>>", where the cursor is between the angles, "d5i<"
has no effect. Presumably it is being aborted because there are not
enough angle bracket pairs.
I'm not sure whether this is a bug or intended behavior, but I didn't
see it mentioned in the docs.