Learn Vim by editing real code in your browser.

Read a short lesson, make the edit, see your keys.

Change waiting to active.

ciwactiveEsc
Your textVim mode: Normal
Your textVim mode: Normal
The edit, replayed: c, i, w, type active, Esc. Click the code to try it yourself. Before: const reminder = "Keep this line unchanged."; / const label = "(waiting)";. After: const reminder = "Keep this line unchanged."; / const label = "(active)";.
Desired result

Start lesson 1

How it works

  1. See the keys

    Each lesson shows you the keys.

  2. Edit real code

    Real code, in a real Vim editor.

  3. Beat par

    Your keys against the shortest route.

The course

35 lessons, from your first edit to macros.

  1. 00Your first good edit
  2. AEditing foundations
  3. BWords and quotations
  4. CSearch and apply
  5. DBoundaries and reusable text
  6. ERepeat, select and compose
  7. +Optional extensions

Questions

Is it free?

Yes. Every lesson is free.

Do I need an account?

No. Progress stays in this browser.

Which languages?

JavaScript, Python or plain text. The keys are the same.

Does it work on a phone?

Read on a phone; practise on a keyboard.