News for hackers. Stuff that matters.
Re:Vim anti-patterns by telemachos on Tuesday February 07, 2012 @06:03PM (#3564102)
I've tried relative numbers a few times in Vim, but always found it hard to adjust. But recently Jeff Kreeftmeijer wrote up a way to get the best of both worlds[1]: relative numbers in command mode and absolute numbers in insert mode or if Vim loses focus. Just another option to consider.

[1] http://jeffkreeftmeijer.com/2012/relative-line-numbers-in-vi...

Re:Vim anti-patterns by dasil003 on Wednesday February 08, 2012 @04:48AM (#3565922)
That's a good hack. Personally I just have F4 mapped to toggle between relative and absolute, but relative is the default. I rarely care about specific line numbers because if I'm looking at a stack trace for something I just jump directly with :#