Menu

Vim Scoops, Learn Vim Motions the Fun Way
πŸ“°

Vim Scoops, Learn Vim Motions the Fun Way

Hacker NewsΒ·5 months ago
#eZlGszSp
#thisismodest#vim#article#englishlanguage
Reading 0:00
15s threshold

~/vim-scoops

$ ./vim-scoops --learn β–‰

Learn vim motions with an ice-cream van.

The van is your cursor and the town is your text. Learn Vim motions the tasty way.

Try it: one quick level

Drive the van onto the customer with h j k l .

Play the full game β†’

How to play

Learn the basics, then you're going.

1

Pick a route

Each level on the town map teaches a small set of motions, shown as badges with what they do.

2

Drive the van

Press keys to move, with no mouse or arrow keys. The panel echoes every key you press so you can see your motions.

3

Serve under par

Reach every customer. Match the keystroke par to clear it; beat it to earn a Wizard rank.

New to vim? Read this first Vim edits text with the keyboard alone. Instead of clicking or holding an arrow key, you press single keys that move the cursor precisely, such as one word forward or to the end of a line. Those keys are called motions , and they are what make experienced vim users fast.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.