← blog

Vim is a language, not a list of shortcuts

2026-07-173 min readIntermediate
#fundamentals#motions#operators

Here's how most people try to learn Vim: they find a list of 50 commands, memorize a dozen, forget nine, and conclude that Vim is for people with better memories.

That approach fails because it's the wrong shape. Vim isn't a pile of shortcuts to memorize. It's a small language with a grammar, and you already know how grammar works — you're reading some right now.

Verbs and nouns

An English sentence: delete the word. A Vim sentence: dw.

d is the verb — delete. w is the noun — a word. Put them together and you have an instruction. Not a shortcut you memorized: a sentence you composed.

Now swap parts. c is change (delete, then start typing). y is yank (copy). Keep w and you get cw and yw — change a word, copy a word. You didn't learn two more shortcuts. You learned one verb and reused a noun you already had.

Swap the other way. $ means "to the end of the line". So d$ deletes to the end of the line, c$ changes to the end of the line, y$ copies to the end of the line.

Three verbs, two nouns, six sentences. Nobody memorized six things.

The multiplication

This is where it stops being cute and starts being the reason people never leave.

Vim has roughly ten common verbs and several dozen nouns — w word, $ end of line, } paragraph, G end of file, f, up to the next comma, i( inside the parentheses. You don't learn verbs × nouns combinations. You learn verbs, you learn nouns, and every pairing works because the grammar guarantees it.

Learn i( — "inside the parens" — and you get di(, ci(, yi( on the same afternoon, free. Learn the verb y and it immediately works with every noun you already know.

A cheat sheet lists the combinations as if they were separate facts. That's why cheat sheets are so long, and why they don't stick.

Counts are adjectives

Put a number in front and it means what you'd expect. 3w is three words forward. d3w deletes three words. 5j is five lines down.

Nothing new to learn. You knew what "three" meant before you opened a terminal.

Where the magic actually lives

The famous Vim moment — the one people describe as their editor reading their mind — is ciw.

Break it up: c change, i inner, w word. "Change the inner word." Your cursor can be anywhere in the word. Not the start. Anywhere. Vim finds the boundaries, deletes what's between, and drops you into insert mode ready to type.

Compare with what you do now: double-click the word, or click before it, hold shift, click after it, then type. That's a mouse round-trip and your hands left the keyboard. ciw is three keys and your hands never moved.

Then there's . — repeat the last change. Do ciw once, type the new word, press Escape. Now jump to the next occurrence and press .. Vim replays the whole edit. Three keystrokes, then one keystroke per repetition, forever.

That's not a shortcut. That's a sentence you can say again.

Why this matters more than speed

People sell Vim on speed, which is the least interesting thing about it. Nobody's bottleneck is typing.

The real claim is different: when editing is a language you speak fluently, the distance between "I want that word gone" and the word being gone shrinks to nothing. You stop planning your edits. You stop thinking about the editor at all. The thought and the action arrive together.

That's why the metric that matters isn't seconds. It's keystrokes — how directly you said what you meant. Fewer keys is a better sentence.

Learn the grammar, not the vocabulary

If you take one thing from this: stop collecting commands. Learn one verb properly, learn one noun properly, and notice that they combine. Then add a noun. The combinations come free — that's what a grammar is for.

The Operators chapter teaches exactly this, one verb at a time, in your browser. It's about ten minutes to the point where the multiplication clicks.