Live data from Hacker News

Vim Racer

vim-racer.com

31–40 of 87 posts

Re: Vim Racer

#34

:4 does not go to line 4. Or at least, the line numbers are not correct. No thanks, I'll pass.

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

#36

:4 does not go to line 4. Or at least, the line numbers are not correct. No thanks, I'll pass.

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.

I've never even heard of relative line numbering! I just thought it was broken.

Re: Vim Racer

#37
post #36

Earlier quoted context omitted.

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.

I've never even heard of relative line numbering! I just thought it was broken.

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

#38

:4 does not go to line 4. Or at least, the line numbers are not correct. No thanks, I'll pass.

Another user mentioned this too. I'll be adding settings to let users turn relative lines off.

is the vimrc exposed?

For maximum vimness you could let players mod an empty vinrc from start

Re: Vim Racer

#39

sounds interesting but I don't understand what:"12 Targets (Burn Detector)" Means. What or where are the targets? I got it! Navigate to the yellow flashing square! Is fun but the numbers are relative so I can't type: :4 To go to line 4 which is the intuitive way.

I've got this feedback quite a few times, so I'm going to bump configurations up on the roadmap. I think proper vimrc configs might be impossible unless I swap out some of my libraries. I should provide the ability to disable relative lines though

I'd echo that "what am I even aiming for" was an initial confusion for me as well. The targets are pretty subtly styled and it took a few rounds of looking to realize it was already there. Also found it confusingly visually similar to the matching-brace/paren/bracket markers. And I'd say I have sharper eyes than most. I imagine even mildly color-blind people will struggle.

Changing to a more distinct color for the targets could already help a lot to improve on those parts I think.

Re: Vim Racer

#40
post #20

I feel like I found a bug but I'm not sure - when I do then Shift +G I don't think the behavior is correct.

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 expe…

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?

Post reply on HN