Learn vim by surviving it. Every motion, operator and trick, one trial at a time.

hjkl to pick, Enter to play
01

Boot Sector

The terminal wakes. You are the cursor. Learn to move.

  1. 1-1 Power On hl ★★★
  2. 1-2 Vertical Hold jk ★★★
  3. 1-3 Grid Walk ★★★
  4. 1-4 Count Down {n} ★★★
02

Word Lines

Text is made of words. Move by meaning, not by letters.

  1. 2-1 Word Hop w ★★★
  2. 2-2 Backtrack b ★★★
  3. 2-3 End Run ege ★★★
  4. 2-4 BIG WORDS WBE ★★★
03

Line Edges

Every line has two ends. Every file has a top and a bottom.

  1. 3-1 Edges 0$ ★★★
  2. 3-2 Indentation ^ ★★★
  3. 3-3 Top and Bottom ggG ★★★
  4. 3-4 Paragraph Jumps }{ ★★★
04

Seekers

Name a character and fly to it.

  1. 4-1 Find f{char} ★★★
  2. 4-2 Till t{char}F{char}T{char} ★★★
  3. 4-3 Again and Back ;, ★★★
  4. 4-4 Bracket Bounce % ★★★
05

Delete Protocol

Corruption detected. Cut it out. (Clear these by making the buffer match the target.)

  1. 5-1 Static x ★★★
  2. 5-2 Bad Lines dd ★★★
  3. 5-3 Echo Chamber d{motion} ★★★
  4. 5-4 Precision Cuts D ★★★
  5. 5-5 Second Chances u<C-r> ★★★
06

Input Stream

Normal mode is for moving. Insert mode is for typing.

  1. 6-1 Insert i ★★★
  2. 6-2 Append aA ★★★
  3. 6-3 Prefix I ★★★
  4. 6-4 Open Lines oO ★★★
07

Change Engine

Delete and type in one breath.

  1. 7-1 Patch r{char}~ ★★★
  2. 7-2 Swap Words c{motion} ★★★
  3. 7-3 Rewrite ccCs ★★★
  4. 7-4 Join J ★★★
  5. 7-5 The Dot . ★★★
08

Copy Machine

Yank it. Put it. Again.

  1. 8-1 Clone yyp ★★★
  2. 8-2 Shuffle ★★★
  3. 8-3 Carbon Copy y{motion}P ★★★
09

Object Lessons

Stop counting characters. Operate on things.

  1. 9-1 Inner Word iwaw ★★★
  2. 9-2 Quote Unquote i"a"i' ★★★
  3. 9-3 Bracketed i(a(i[ ★★★
  4. 9-4 Blocks i{a{ ★★★
10

Signal Search

Big files. Find the signal in the noise.

  1. 10-1 Slash /{pattern}?{pattern} ★★★
  2. 10-2 Next nN ★★★
  3. 10-3 Star *# ★★★
  4. 10-4 Rename ★★★
11

Visual Field

See it, select it, act on it.

  1. 11-1 Highlight vU / u ★★★
  2. 11-2 Indent V>< ★★★
  3. 11-3 Select Object ★★★
12

Command Line

Speak to the editor directly.

  1. 12-1 Go To Line :{n} ★★★
  2. 12-2 Substitute :s/a/b/ ★★★
13

Memory Banks

Nothing you cut is lost. It waits in a register.

  1. 13-1 Last Yank <C-r>{x} ★★★
  2. 13-2 Named Banks "{x} ★★★
  3. 13-3 Deep Memory ★★★
  4. 13-4 Swap ★★★
14

Waypoints

Drop a pin anywhere. Come back in two keys.

  1. 14-1 Drop Anchor m{a-z}`{a-z}'{a-z} ★★★
  2. 14-2 Round Trip `` / '' ★★★
15

Tape Deck

Do it once. Let the machine do it a hundred times.

  1. 15-1 Record q{a-z}@{a-z} ★★★
  2. 15-2 Seek and Fix ★★★
Needs a physical keyboard. Progress is saved in this browser.