News for hackers. Stuff that matters.
Re:Numbers.vim - better line numbers for vim by solutionyogi on Thursday June 28, 2012 @11:44AM (#4172219)
My exact thought. I absolutely love 'relative line numbering' as it lets me use different VIM commands without having to do math. And as I can go to any line number by typing ':<line number>' [generally reported by debugger or other means], I don't really care about actual line numbers anymore.
Re:Numbers.vim - better line numbers for vim by brown9-2 on Thursday June 28, 2012 @12:16PM (#4172390)
In addition, if you have 'set ruler' set, the absolute line number of the current line is displayed at the bottom of the screen when in insert mode.
Re:Numbers.vim - better line numbers for vim by pwf on Thursday June 28, 2012 @01:37PM (#4172829)
I still feel like I have to do math (albeit simple math) with relative line numbering. If I want to yank a block of code that's X lines long, I have to look at line X, and add one to the number next to it. E.g., when I want to grab 8 lines, the last line I want to grab has a 7 next to it.

I guess I think it'd be more helpful if the numbers were inclusive, and 1-indexed. I'm not sure how to configure that though.

Re:Numbers.vim - better line numbers for vim by solutionyogi on Thursday June 28, 2012 @04:02PM (#4173617)
Yes, I wish the numbering was 1-indexed. But by now, I have trained my brain to automatically add one. I would definitely prefer a fix where I don't have to do +1.