🤖 AI 资讯

· · ↗
← 返回列表

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

hjkl作者 Duy Hua扩散模型,提示工程,招聘HR,榜单评测原文 ↗

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 desktop browser with a physical keyboard.