Learn Vim by doing it
Short exercises in a real Vim (vim.wasm) running in your browser. Each one teaches one idea, checks your buffer as you type and scores you by keystrokes.
start with delete characters →exercises
| # | exercise | par | best |
|---|---|---|---|
| 01 | delete charactersDelete stray characters with x; jump to them with f. | 15 | – |
| 02 | delete wordsMove by words with w and delete them with dw. | 9 | – |
| 03 | insert and appendEnter insert mode right where you need it with A, I and o. | 28 | – |
| 04 | dot repeatDo a change once, then repeat it with the dot. | 12 | – |
| 05 | change and searchRename a variable with *, cw, n and dot. | 14 | – |
| 06 | text objectsChange inside quotes and brackets with ci" and ci[. | 17 | – |
| 07 | countsPrefix a command with a number to repeat it. | 8 | – |
| 08 | visual blockEdit a column of lines at once with Ctrl-v. | 8 | – |
| 09 | substituteReplace across the file with :%s. | 17 | – |
| 10 | macrosRecord a change once with q, replay it with @. | 17 | – |
Your best scores stay in this browser.
free play
Click the editor to focus it. :q stops Vim; reload the page to bring it back.