News for hackers. Stuff that matters.
Re:Vim Tips For Intermediate Users by isbadawi on Tuesday May 19, 2015 @11:05PM (#9574441)
You can use a hybrid of absolute and relative numbering by setting both the 'number' and 'relativenumber' options (in vim 7.4). It displays the absolute number of the current line (instead of 0) but relative numbers of the other lines.
Re:Vim Tips For Intermediate Users by sondr3 on Wednesday May 20, 2015 @12:11AM (#9574611)
Care to give any links to this? This is probably my biggest annoyance with Vim right now, how my current line is 0 and having to add 1 every time I do any operation gets old quick.
Re:Vim Tips For Intermediate Users by frankerz on Wednesday May 20, 2015 @12:18AM (#9574645)
I think what he means is just put both

set relativenumber

set number

In your .vimrc

Re:Vim Tips For Intermediate Users by aleek on Wednesday May 20, 2015 @12:22AM (#9574659)