News for hackers. Stuff that matters.
Re:Vim Racer by thot_experiment on Monday August 26, 2024 @06:37PM (#41362916)
It's using relative line numbering, at least for me this is how I've had vim set up for the last 10 years. It makes commands like 10j easier to do because you can just look to the side and see how many lines away the target is.
Re:Vim Racer by dools on Monday August 26, 2024 @07:04PM (#41363073)
I've never even heard of relative line numbering! I just thought it was broken.
Re:Vim Racer by ccvannorman on Monday August 26, 2024 @07:24PM (#41363177)
Same!

I guess I can see the appeal; it's not for me though, I'm swimming in the local minimum of absolute line number dependence :)

Re:Vim Racer by chamomeal on Monday August 26, 2024 @09:28PM (#41363839)
That’s so funny, I love relative line numbers, but I had no idea about half the tips in here.

I use relative numbers while in normal mode, and absolute numbers in insert mode. That way you get easy vertical jumps, but you still have a sense of your line numbers.

Re:Vim Racer by vim_racer on Tuesday August 27, 2024 @02:01AM (#41364906)
Another variation on that is relative in both modes, but my current cursor line has the absolute. That's what I tend to roll with!