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.
ciwthemeEscYour textVim mode: Normal
1
2export const settings = {
3 currency: "EUR",
4 pageSize: 24,
5 color: "dark",
6 showReviews: true,
7 supportEmail: "help@northwind.shop",
8};
Your textVim mode: Normal1
2export const settings = {
3 currency: "EUR",
4 pageSize: 24,
5 theme: "dark",
6 showReviews: true,
7 supportEmail: "help@northwind.shop",
8};
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 this1
2export const settings = {
3 currency: "EUR",
4 pageSize: 24,
5 theme: "dark",
6 showReviews: true,
7 supportEmail: "help@northwind.shop",
8};
Click the code to try it yourself.
0 keys
How it works
ciw
See the keys
Each lesson shows you which keys to press.
Your textVim mode: Insert Edit real code
You make the edit yourself, in a real Vim editor.
14yours9par
Try to match par
Par is a clean route using what you've learned so far. See how close you get.
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.