Skip to content

Comment on Vim: Takeaways from One Year of Typingparent

Comments

And in true TMTOWTDI fashion, I'd add that depending on what the four lines were (in relation to my cursor and their content and, frankly, whatever pops into my head first), I'd probably do 4dd, or d4j, or d] or d} (if the final line was the end of my current sentence or paragraph) or d2] if it was two sentences.

My favourite bit is that I use which one pops into my head first. If I think "until the next occurrence of 'nded?'" then that's what I do, with d/nded?<RET>. If I think "up to line 438" then I can do d438g. It reduces the number of decisions I have to make, which increases my mental stamina.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.