Live data from Hacker News

Vim Racer

vim-racer.com

51–60 of 87 posts

Re: Vim Racer

#52

Something is broken on the site. Nothing happens no matter what I try. I've tried in chrome and firefox.

Sorry about that! Something seems to be broken with my publishing pipelines. It used to be a graceful switch. Now I have to manually invalidate a cache. Seems to only happen on some publishes.

Re: Vim Racer

#53

Something is broken on the site. Nothing happens no matter what I try. I've tried in chrome and firefox.

I have the same problem. Also in Chrome it uses a lot of CPU but yeah nothing happens and pressing any buttons doesn't do anything.

Re: Vim Racer

#54

This is fun! Keypress count, and a mode where rather than go faster you have to minimize the number of keypresses, would be fantastic additions. The game description could clarify what the "target" is.

Thats a good point! I'll have a better description by the next release.

I'm conflicted about keypress count because I really want the focus to be about speed. VimGolf does a great job of covering those types of puzzles/scenarios. The differentiator here is speed. I'm hoping that I'll be able to do some sort of data analysis on key strokes. An interesting finding might be that www is faster than f.

One of my hypothesis was that searching with 'f' and 'F' is not as efficient as simply navigating with more commong motions like w, e, h, j etc. I've already been proved wrong, Although, I should phrase it like "many top performers use 'f' and 'F'." Which would suggest that they might be fast, or using them isn't too much of a detriment

Re: Vim Racer

#56
post #36

Earlier quoted context omitted.

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

That’s so funny, I love relative line numbers, but I had no idea about half the tips in here. I use relative numbers while in normal mode, and absolute numbers in insert mode. That way you get easy vertical jumps, but you still have a sense of your line numbers.

Another variation on that is relative in both modes, but my current cursor line has the absolute. That's what I tend to roll with!

Re: Vim Racer

#57
post #8
post #6

Very nice. I would like this for Helix, and allow bringing your own config!

What's the latest talk on the timing for the scheme-based scripting language?

The PR is being worked on steadily. People use it on their own fork. The Helix team does not provide any target dates for features.

Re: Vim Racer

#59
post #9

Maybe i'm missing it, but I think this would be much more useful if it showed what the optimal way to navigate per-target was.

You can load the leaderboard and see what keys they used. E.g. number 2 finished in 1.002s and used these keys:

ArrowRight, ArrowRight, ArrowDown, ArrowRight, ArrowUp, ArrowRight, ArrowRight, ArrowRight, ArrowDown, ArrowLeft, ArrowLeft, Shift, ArrowUp, ArrowUp, Shift, ArrowRight, ArrowRight, ArrowRight, ArrowDown, ArrowDown, ArrowLeft, ArrowUp, ArrowRight, Shift, :, 4, Enter, ArrowDown, ArrowDown, ArrowDown, ArrowLeft, ArrowUp, ArrowLeft, ArrowDown, ArrowLeft, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowUp, ArrowLeft, ArrowDown, ArrowDown, ArrowLeft, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowLeft, Escape, Shift, :, 1, 1, Enter, Shift, :, 1, 0, 0, 0, Enter, ArrowDown, ArrowDown, ArrowDown, ArrowRight, ArrowLeft, ArrowLeft, ArrowLeft, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowDown, ArrowLeft, Shift, :, 5, Enter, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowRight, ArrowRight, ArrowRight, ArrowUp, ArrowRight, ArrowRight, ArrowRight, ArrowRight, ArrowLeft, Shift, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowUp, ArrowLeft, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowDown, ArrowLeft

...

Re: Vim Racer

#60
This was really fun! I could imagine myself really getting into this, as someone who enjoys Vim motions. It would also be great to see automated replays, based on the inputs in the leaderboard.
Post reply on HN