top | item 41362165

(no title)

gtm1260 | 1 year 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.

discuss

order

vim_racer|1 year ago

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?

mewse|1 year ago

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?

mFixman|1 year ago

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