Interactive editing course

Vim Tutorial

Learn the core language of Vim in 15 short, hands-on lessons. Commands run inside a safe browser simulator, so you can experiment freely.

0 / 15 complete

Your goal
✓ Lesson complete
practice.txt — browser simulator
NORMALPress a lesson key to begin1,1
Click the editor, then type commandsEsc always returns to Normal mode

Essential command map

Move

h j k l left, down, up, right

w b e by words

0 $ line edges · gg G file edges

Enter text

i a insert before / after

o O open below / above

Esc return to Normal

Edit

x r delete / replace character

dw dd delete word / line

yy p copy line / paste

u Ctrl-r undo / redo

Find and finish

/text search · n N repeat

:w save · :q quit

:wq save and quit · :q! discard

This focused simulator implements the commands used by the lessons. Real Vim has more modes, options, motions, text objects, and plugins; use this course to build the mental model before moving to a full editor.