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

#exerciseparbest
01delete charactersDelete stray characters with x; jump to them with f.15–
02delete wordsMove by words with w and delete them with dw.9–
03insert and appendEnter insert mode right where you need it with A, I and o.28–
04dot repeatDo a change once, then repeat it with the dot.12–
05change and searchRename a variable with *, cw, n and dot.14–
06text objectsChange inside quotes and brackets with ci" and ci[.17–
07countsPrefix a command with a number to repeat it.8–
08visual blockEdit a column of lines at once with Ctrl-v.8–
09substituteReplace across the file with :%s.17–
10macrosRecord 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.

loading vim…