Claude Code Gains Vim Visual Mode: Select, Yank, and Delete with v and V
Claude Code v2.1.118 extends the built-in Vim editing mode with full visual mode support, enabling developers to select text using v (character-wise) and V (line-wise), then apply standard operators like d, y, and c to the selection β all within the terminal prompt input. Previously, Vim mode only covered Normal and Insert modes with basic motions; visual selection was a notable gap that Vim-native developers regularly flagged. This update brings the prompt editor meaningfully closer to a real Vim experience for keyboard-driven workflows.
Featured Video
A video we selected to help illustrate this changelog
Sources & Mentions
5 external resources covering this update
Claude Code Has a Visual Mode Now
Youtube
Shawn Tenam: Claude Code v2.1.118 dropped today β Vim visual modes and custom themes
X
Claude Code Unpacked: A visual guide
Hacker News
Claude Code Inside Vim: AI-Powered Workflows Without Leaving Your Editor
Dev.to
Keybindings & Vim Mode β maplelover/claude-code
DeepWiki
Vim Visual Mode Arrives in Claude Code
Anthropic shipped visual mode for Claude Code's built-in Vim editor in v2.1.118, filling one of the most-requested gaps in the tool's Vim emulation layer. Developers who rely on Vim keybindings to navigate and edit their prompt input can now press v to enter character-wise visual mode or V for visual-line mode, extend a selection using standard motion keys, and act on it with familiar operators.
What Visual Mode Enables
Prior to this release, Claude Code's Vim mode offered Normal and Insert modes with the standard suite of motion commands β hjkl navigation, word jumps (w/b/e), character finds (f/F), and text-object operators. What it lacked was the ability to visually mark a region of text before operating on it. This forced Vim users to reason about ranges implicitly (using counts and text objects) rather than selecting text and acting on the selection directly.
With v2.1.118:
venters character-wise visual mode β move the cursor to extend the selection one character at a timeVenters visual-line mode β selects entire logical lines at once, matching the Vim standard- Operators apply to selections β
ddeletes,yyanks,cchanges the selected region and drops into Insert mode - Visual feedback is rendered inline, making the selected region clearly visible in the terminal UI
Why It Matters for Terminal Workflows
Vim mode in Claude Code serves a specific but passionate audience: developers who never leave the keyboard and want their prompt editor to behave like their text editor. Before visual mode, composing multi-line prompts or editing a complex instruction required counting characters or words carefully. Visual mode removes that friction β select the phrase, hit d, retype. It is the same muscle memory that Vim users rely on in their editors, now available directly in the Claude Code terminal interface.
The addition also pairs naturally with the v2.1.118 custom theme support, giving Vim-native developers a more fully personalized terminal environment overall.
Other Notable Fixes in v2.1.118
Beyond visual mode, the release addressed several keyboard-related regressions: Alt+K, Alt+X, Alt+^, and Alt+_ no longer freeze keyboard input, and the typeahead "No commands match" error no longer fires when pasting file paths that start with /. These fixes make the Vim editing experience more reliable for power users who push the keyboard interaction model.