3 ms·
It is amazing how much I rely on Vim on a daily basis and yet how small a proportion of it I actually know.
by weavie 13y ago
It is amazing how much I rely on Vim on a daily basis and yet how small a proportion of it I actually know.
- drivers99 13y agoSame. I use d$ (i.e. d and the movement command $) to delete to the end of the line. Apparently you can just use D. Also, I didn't even know you could do N | to move the the Nth column (e.g. 30| moves to the 30th column).
- clarry 13y agoI don't know if this is the case in vim, but in nvi C works like D except it also puts you in insert mode. Which is exactly what I want to do almost every time I delete to the end of the line. S is likewise super nice: it clears the line and puts you in insert mode.
- plantsbeans 13y agothe "c" verb is called "change"