by justinvh · 13y ago · 0 comments
Here's what it looked like: http://i.imgur.com/NTwwB.jpg
Here was the patch. I wrote it back in 2011: https://code.google.com/r/justinvh-vim/source/detail?r=c2479...
Ultimately Bram Moolenaar sent me a reply:
"""
Justin,
I think the audience for this would be too small.
- Bram
"""
However, in 7.3.787 (Jan 2013) a patch was introduced which showed the current line number in :rnu instead of 0. That's definitely in the direction that this patch was going in.
So, I didn't get a patch in, but on the plus side, I did learn a bunch about vim's source code.
Feature request: allow the user to select separate colors for the relative and absolute line numbers, and for the slash. So three separate colors in total. That would make it easier to read.
Another idea is to have relative line numbers on the left side of the screen, and absolute line numbers on the right (or vice-versa).
On a side note, to your second request of left-side/right-side splits for line numbers: my first experimentation was to do just that. Left side was rnu and right side was nu, but the way vim's buffers work out, it wasn't very practical. It also caused headaches for rtl text and so on if I remember correctly.