Thursday, 22 August 2013

Difference between cutting lines with 10dd and d9 in vim?

Difference between cutting lines with 10dd and d9 in vim?

If I understand correctly both commands cut 10 lines and allow you to
paste them anywhere.
Are they both the same as (n-1)dd and dn+enter where n is the number of
lines to be cut?

No comments:

Post a Comment