FREE COURSE / REAL PRACTICE
Vim
Practice motions, operators and repeatable editing directly in the editor through focused Vim drills.
What you’ll work toward
Compose editing commands and rehearse them on the supplied text fixtures.
Read an explanation, inspect the diagrams and work through the available checks, debugging exercises and builds. Feedback and prerequisite links guide the next step.
Before you start
The entry lesson has no earlier CodeRigor skill prerequisite. Start there and follow the sequence.
Individual lessons can add prerequisites. The course map shows your actual readiness.
A look inside the first lesson
Vim basics: modes, hjkl, insert and delete
Practice directly with the supplied editor and exercise fixtures in the first lesson.
Your course outline
Follow the lessons in curriculum order. Open a unit to preview the ideas you’ll work with.
Vim (optional)
- LESSON 01.01
Vim basics: modes, hjkl, insert and delete
Normal vs insert mode, moving with h j k l, inserting with i a o A, deleting with x.
Open lesson - LESSON 01.02
Vim words: w b e, W B E, 0 ^ $
Move by words and WORDs instead of characters, and jump to line starts and ends.
Open lesson - LESSON 01.03
Vim text objects: iw aw, i( a(, i" a"
Edit whole words, bracket contents and strings from anywhere inside them.
Open lesson - LESSON 01.04
Vim operators: d c y with motions, counts and .
Combine operators with motions, repeat them with counts and the dot command.
Open lesson - LESSON 01.05
Vim search and repeat: f t ; , / * n
Jump straight to characters and words, and repeat jumps and edits.
Open lesson