| ▲ | Show HN: I built a little browser game to practice Vim commands(hjkl.duy.run) | |||||||
| 9 points by dh1011 3 hours ago | 10 comments | ||||||||
I made hjkl to help myself remember Vim commands. It’s a little browser game you can play when you want to unwind and get a bit of Vim practice in. There are still a lot of commands I want to add, but I hope someone finds it useful in the meantime :) | ||||||||
| ▲ | glibg10b 3 minutes ago | parent | next [-] | |||||||
For all of the ciw examples, ce is easier since the cursor is at the first letter of the word. Where dw works, this game teaches vlllld instead, which is a bad habit to teach. Ctrl+A increments the first number after the cursor, which is easier than, say, f6r7 in cases where they do the same thing. Similarly, Ctrl+X decrements. t:t: is weird when fY is much easier. The Vim simulator has a minor difference compared to real Vim:
Start on line one and do CTRL-V then j then CTRL-A. Real Vim would increment both. The simulator only increments the one under the cursor. | ||||||||
| ▲ | jaydonb an hour ago | parent | prev | next [-] | |||||||
This is great, definitely going to be using this to practice! One note: It might be useful to keep the "undo" prompt when the user messes up after the first two prompted lessons for a clear recovery path. Thank you for making this! | ||||||||
| ||||||||
| ▲ | usrme an hour ago | parent | prev | next [-] | |||||||
I did the first challenge or exercise, but I was honestly a little surprised that Vim motions aren't able to be used to choose the next exercise(s) in the sidebar that becomes visible. That could potentially be something that the player unlocks later on as well. | ||||||||
| ||||||||
| ▲ | anil_gr an hour ago | parent | prev | next [-] | |||||||
Cool, a small ux issue I noticed is that the grid cells are not clickable as a whole. | ||||||||
| ||||||||
| ▲ | senectus1 an hour ago | parent | prev | next [-] | |||||||
oh man this is great. thank you! | ||||||||
| ||||||||
| ▲ | rivetworkshop 21 minutes ago | parent | prev [-] | |||||||
[flagged] | ||||||||