Technology1 min read

Show HN: I built a little browser game to practice Vim commands

By · Published by Everything Blog

In short

The interactive web tool runs an actual Vim instance to deliver targeted, hands-on practice sessions across fundamental and advanced editing techniques. Learners can refine actions ranging from basic typo correction and navigation to complex text objects, mark setting, and count-based motions. Each chosen skill is divided into a six-part progression consisting of guided, prompted, and independent challenges. Participants can access command guidance at any point by typing ":help" while in Normal mode.

Key points

  • Challenges accept any functional edit that successfully changes the initial text to the t…: Challenges accept any functional edit that successfully changes the initial text to the target state.
  • Learners can review applicable commands at any time by entering ":help" in Normal mode.: Learners can review applicable commands at any time by entering ":help" in Normal mode.
  • The curriculum accommodates various proficiencies, ranging from basic line navigation to…: The curriculum accommodates various proficiencies, ranging from basic line navigation to complex text-object manipulation.

Sources checked by our analysis pipeline: 1

hjkl — learn Vim by doing

Little edits. Lasting skills.

Learn Vim in your browser with short, hands-on editing challenges. Practice motions, text objects, search, marks, counts, and repeats in a real Vim editor — free, no sign-up.

What you practice

- Fix a typoxh l

- Change a wordw bciw

- Remove a linej kdd

- Trim a phrasevh ld

- Move a sentenceddj kp

- Insert texti aI Ao O

- Replace a characterr

- Copy textyy ywp P

- Use counts3w2dd 3x3p

- Find within a linef Ft T; ,

- Search documents/ ?n N

- Edit text objectsci" ci' ci(diw daw

- Repeat edits.

- Match delimiters%

- Jump through files12Ggg Gctrl-o ctrl-i

- Set and return to marksma'a `a

How it works

Pick the skills you want, then make small real edits in a browser Vim editor. Each skill runs two guided edits, two prompted edits, and two independent edits. Any valid edit that reaches the target text passes. Type :help in Normal mode for the current commands.

Free, no account, nothing stored. Requires a…

Technology