News for hackers. Stuff that matters.
Re:Vim Racer by vim_racer on Monday August 26, 2024 @05:18PM (#41362300)
I've heard that feedback before, but I couldn't quite understand what was wrong. I'd really appreciate your help in troubleshooting.

My understanding is that Shift + G should be absolute positioning, so 12G will bring you to the twelfth line.

I do deviate slightly from default VIM in that relative lines are one, so the line count starts at 0, respective to your cursor. Is there a chance that this plays into your experience of the bug?

Re:Vim Racer by mewse on Monday August 26, 2024 @07:47PM (#41363306)
Not the person you're replying to, but I agree that for me (as another heavy shift-G user), vim-racer having `:relativenumber` turned on is where my own troubles are coming from.

I'd really love to be able to specify whether I want absolute or relative numbering (or both or neither); the :set commands don't seem to be implemented?

Re:Vim Racer by vim_racer on Monday August 26, 2024 @09:40PM (#41363893)
I'll make the line numbers absolute by default soon.

It's just a shallowish vim, so there's mostly only key bindings. I'd like to support more in the future though.

Re:Vim Racer by mFixman on Tuesday August 27, 2024 @10:47AM (#41368152)
It would be nice to be able to toggle off `:relativenumber`.

Half the Vim users navigate large spaces by doing `42j`; have some thought for the other half that does `142G` :-)

Re:Vim Racer by vim_racer on Monday September 02, 2024 @04:03PM (#41428355)
Relative line numbers are finally configurable through the settings icon now