5 ms·
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.
by gtm1260 2y 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.
- vim_racer 2y agoI'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?
- mewse 2y agoNot 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?
- vim_racer 2y agoI'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.
- mFixman 2y agoIt 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` :-)
- vim_racer 2y agoRelative line numbers are finally configurable through the settings icon now