Learn Vim / Vim for Claude Code

Vim for Claude Code

The short answerClaude Code ships a vim mode for its input (/vim or editorMode: "vim"). But the real payoff isn't the prompt box — it's that the whole AI-terminal workflow (git, ssh, editing what the agent wrote) runs on vim keys. Learn the practical 20% and the terminal stops fighting you.

People arrive here two ways: they turned on vim mode in Claude Code and realized they don't actually know vim, or they've noticed that an agent-driven workflow keeps dumping them into the terminal. Both point at the same fix — a small, practical set of vim reflexes.

Where vim shows up in an AI-terminal workflow

MomentWhat you're doing
Claude Code inputEnable vim mode with /vim (or editorMode: "vim" in settings). Edit long prompts with ciw, dd, hjkl instead of holding arrow keys.
Editing the agent's outputThe model writes fast, then hands the file back. Fix a variable, tighten a function, edit CLAUDE.md — precise edits are vim's home turf.
git in the terminalgit commit and git rebase -i drop you straight into vim. Know the exit and the basics or lose five minutes.
ssh / containersOn a remote box there's no IDE. vim is what's installed, and it's how you fix that one config line.

An honest caveat

If all you want is to edit prompts in Claude Code's input box, you don't strictly need vim — standard input works fine, and vim mode is a quality-of-life feature for people who already think in vim. So learn vim for the whole workflow, not just the prompt field. The moment the agent hands you real files to shape and git and ssh put you in a real editor, the practical 20% pays off many times a day.

The practical 20% to learn first

Reading that list won't put it in your fingers — reps will. VimJutsu drills exactly these on a real vim engine in your browser (the same one Replit ships), as short missions with a keystroke target on each. Every mission checks the actual buffer, so any correct sequence passes, and the reflexes transfer 1:1 to vim, neovim, Claude Code's vim mode, and any IDE. Start free; the full path is $49 one-time, no subscription.

Your AI already moves at 10x. This is how your hands keep up in the terminal. Do the first mission in a live vim buffer — about a minute.

Start training free →

Keep going