News for hackers. Stuff that matters.
Re:Vim anti-patterns by tomn on Tuesday February 07, 2012 @08:54PM (#3564641)
That, or subtracting ;)

I swear the entire UI of Vim is made to make the user feel like a ninja.

Re:Vim anti-patterns by literalusername on Wednesday February 08, 2012 @02:16AM (#3565570)
I'm fairly sure the GP meant "dd", not "add".
Re:Vim anti-patterns by tomn on Wednesday February 08, 2012 @07:03AM (#3566232)
Ah, I meant subtracting the current line number from the target line number to get the number of lines to jump, instead of just guessing.
Re:Vim anti-patterns by literalusername on Wednesday February 08, 2012 @12:57PM (#3567600)
Got it. I think we ironically tend to underestimate our ability to estimate. I normally :set nonumber, and like secoif, I've impressed myself on numerous occasions with how well I'm able to estimate line counts and character counts. Give it a try -- you're likely to impress yourself too.
Re:Vim anti-patterns by secoif on Wednesday February 08, 2012 @05:32AM (#3566007)
Correct.