Hacker News new | ask | show | jobs
by stonemetal 5866 days ago
Is shift-d supposed to effect the whole line? Default 7.2 vim on winxp shift-d goes from the cursor to the end of the line making 0shift-d the correct thing for me to delete a line.

The 3wcw to change a misspelled word is also incorrect(for me at least it should be 03wcw)

1 comments

You're right, the 0 is required. Now I think about it a little more, if you want to delete all the characters on the line, but not remove the line, then 0shift-D might is good. I tend to do ddO for the same operation.