Back to the Shell: Why Vim Is Indispensable in the Age of AI Agents
For years the equation was: modern developer equals modern IDE. Gigantic memory hogs with hundreds of menus, sluggish progress bars, and autocompletions that sometimes distract more than they help.
But the mood is shifting. The renaissance of the terminal is in full swing.
Driven by modern terminal tools and autonomous AI developer tools such as Claude Code or agentic CLI frameworks, the workflow is moving rapidly back to the black console. If you want to work efficiently today, you don't need to wait two minutes for a heavy IDE to start just to tweak a config snippet or check a test run. The action is back on the shell – and that puts a tool in the spotlight that some already considered a museum piece: Vim (and Neovim).
A Brief History: From Teletypes to the Perfect Abstraction
To understand why Vim still works so well today, it helps to look at its DNA:
- 1969 –
ed: Bill Joy and the Unix pioneers built editors for Teletype machines. Paper instead of a screen, line-oriented commands. - 1976 –
exandvi: Withvi(visual mode), Bill Joy brought all of this to real screens. Because modems of that era were painfully slow at 300 baud, every keystroke had to have maximum effect. Navigation withh,j,k,lcame about simply because the terminal of the time (the Lear Siegler ADM-3A) had no separate arrow keys. - 1991 –
vim(Vi IMproved): Bram Moolenaar extended the system with syntax highlighting, multiple windows, and unlimited undo. - Today –
neovim: The logical continuation, with an asynchronous Lua ecosystem, native LSP support, and Treesitter parsing.
What matters about Vim is not nostalgia but its paradigm: Vim is not an editor you operate – Vim is a language for editing text.
The Grammar of Text Manipulation
In ordinary editors you move the cursor with the arrow keys and clumsily select blocks with Shift. In Vim you combine verbs, counts, and nouns: an operator (verb) plus a text object or motion (noun).
A few examples that show why this approach easily outclasses the mouse and arrow keys:
ci"(Change Inside "): Deletes everything inside the current quotation marks and puts you straight into insert mode. No matter where in the line the cursor is.da{(Delete Around {): Removes the entire code block, including the curly braces.y3ap(Yank 3 Around Paragraphs): Copies three consecutive paragraphs to the clipboard.:%s/\<foo\>/bar/gc: Searches the entire file for the exact word foo and replaces it with bar, but asks for interactive confirmation before each replacement.gqip(Format Inside Paragraph): Automatically re-wraps a block of running text to the configured line length.
Once you have internalized this grammar, you no longer think in cursor coordinates but formulate direct transformation commands in your head.
The Symbiosis: Headless CLIs, LLMs, and the Terminal as an OS
Why are we seeing this hype right now?
The answer lies in how modern LLM agents such as Claude Code or terminal-based AI assistants operate. These tools do not manipulate the system through graphical user interfaces. They use the terminal as their native control console:
- Subprocesses and CLI remote control: An AI agent scans the repository via
ripgrep, pipes output throughjq, lints withruff, or runs unit tests in Bash. - Fast context switches: When the agent creates a branch or proposes a diff, reviewing it in the terminal (e.g. with
nvim -dor quick in-place edits) is seamless and free of friction. - The shell as a common language: Terminal users speak the same language as the agents – Unix streams, exit codes, standard in/out.
If you are at home in the terminal and know keyboard commands by reflex, you keep pace with modern agent pipelines instead of constantly being torn between windows, mouse clicks, and GUI menus.
Getting Started Without Hurdles: From 80s Nostalgia Trip to VimRealm
The built-in vimtutor on the shell is excellent for learning the basics. In practice, though, getting started often fails on small things:
- You are sitting at a Windows company laptop without WSL or Vim installed.
- You want to practice briefly in the browser, but after three lessons you run into paywalls or registration forms.
- Dry text lessons only motivate so much after the second hour.
Inspired by a late-night read of an old issue of Happy Computer (6/86) and the review of the legendary Apple II classic The Bard's Tale, an idea came up: why not package learning Vim in exactly that way?
Together with Claude Code and nVim, I built an open-source project: vimrealm.dev
An interactive Vim tutorial right in the browser – set up as a classic dungeon crawler:
- Real Vim shortcuts: Move your hero with
h,j,k,l, switch modes, and solve tasks using real editing commands. - Gamification, plain and simple: Open doors with the right keybindings, dodge traps, and solve puzzles.
- 100% free and accessible: No paywall, no setup, no login – just open the browser and get going.
If you want to refresh your finger skills for the new era of terminal and agent development, or learn from scratch: visit vimrealm.dev and explore the first dungeon.