Learn Vim by editing real code in your browser.

Read a short lesson, make the edit yourself, and see how many keys it took.

Change color to theme.

ciwthemeEsc
Your textVim mode: Normal
Your textVim mode: Normal
Here's the edit played back, key by key: c, i, w, type theme, Esc. Click the code to try it yourself. Before: // Settings the storefront reads when it starts. / export const settings = { / currency: "EUR", / pageSize: 24, / color: "dark", / showReviews: true, / supportEmail: "help@northwind.shop", / };. After: // Settings the storefront reads when it starts. / export const settings = { / currency: "EUR", / pageSize: 24, / theme: "dark", / showReviews: true, / supportEmail: "help@northwind.shop", / };.
Make it look like this

Start lesson 1

How it works

  1. See the keys

    Each lesson shows you which keys to press.

  2. Edit real code

    You make the edit yourself, in a real Vim editor.

  3. Try to match par

    Par is a clean route using what you've learned so far. See how close you get.

The course

There are 37 lessons. They start with your first edit and go all the way 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. Your progress is saved in this browser. An account only matters if you want it on another device too.

Which languages can I practise in?

JavaScript, Python or plain text. The Vim keys are the same in all three.

Does it work on a phone?

You can read the lessons on a phone, but you need a keyboard to do the exercises.