Given:
for (int i = 0; i < 10; i++){
_ <---Cursor position
3w
leads to
for (int i = 0; i < 10; i++){
_ <---Cursor position
and d3w
leads to
fori = 0; i < 10; i++){
_ <---Cursor position
i.e., even though motion 3w
takes cursor upto i
, i
itself is not deleted.
On the other hand, given:
for (int i = 0; i < 10; i++){
_ <---Cursor position
%
leads to
for (int i = 0; i < 10; i++){
_ <---Cursor position
and d%
leads to
for{
_ <---Cursor position
i.e., motion %
takes cursor upto )
and )
itself is deleted.
So, why is there two different effects of d{motion}
? Is there any single general rule of which both of these are consistent special cases?
question from:
https://stackoverflow.com/questions/65643113/rule-for-dmotion-for-different-motions 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…