Hacker News new | ask | show | jobs
by gtm1260 654 days ago
I feel like I found a bug but I'm not sure - when I do <line_number> then Shift +G I don't think the behavior is correct.
1 comments

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?

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?

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.

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` :-)

Relative line numbers are finally configurable through the settings icon now