DevToolsHub Free · Fast · 100% in your browser

Vim Trainer

Learn Vim motions and editing commands by solving small puzzles. Edit the text to match the target using only the keyboard.

Keystrokes0
Par2
Solved0 / 19

Remove the duplicated "the".

Click the editor and type Vim commands. Supported: h j k l w b e 0 ^ $ gg G, i a A I o O, x r dd dw cw cc D C yy p P J u, counts (3w) and Esc.

the the quick fox
NORMAL1:1

Target:

the quick fox

About this Vim tutorial game

Learn Vim by doing. Each level gives you text and a target; edit it using normal and insert mode commands such as w, b, dd, dw, cw, ciw, f, t, di(, yy, p and u. Your keystrokes are counted against par, and progress is saved in your browser.

How to use the Vim Trainer

  1. Click the editor.
  2. Use Vim commands to make the text match the target.
  3. Beat par and move to the next level.

Example

the the quick fox  →  dw  →  the quick fox

Frequently asked questions

How do I exit insert mode?

Press Esc to return to normal mode.

Is this a full Vim emulator?

No. It supports the most useful motions, operators and text objects to build muscle memory.

Is my progress saved?

Yes. Solved levels are stored in your browser's local storage.

Is my data safe?

Yes. The tool runs entirely in your browser using WebAssembly. Nothing you type or upload is sent to a server, logged or stored.

Is it free?

Yes, completely free with no sign-up, no limits and no watermarks. It also works offline once the page has loaded.

An unhandled error has occurred. Reload ✕