Claude Code editor integration

Vim Claude Code

Claude CLI integration for Vim, enabling AI-powered coding workflows.

Install

From source
git clone https://github.com/rishi-opensource/vim-claude-code.git

From the README

vim-claude-code

AI-powered coding, inside Vim. No context switching.

vim-claude-code brings Claude Code directly into your editor. Fix bugs, write tests, review diffs, generate commits, and refactor code — all without leaving Vim.

One keypress opens Claude in a split panel. Another hides it. Your session persists across toggles. Claude edits your files; your buffers reload automatically. You stay in flow.

Why vim-claude-code?

Most AI coding tools pull you out of your editor — into a browser, a chat window, or a separate terminal. vim-claude-code keeps everything inside Vim:

- No copy-pasting — commands automatically capture your visual selection or current function
- No tab switching — Claude runs in a managed split, toggled with a single key
- No blind edits — every file change Claude proposes shows up as a reviewable diff before anything is written to disk
- No workflow interruption — buffers reload automatically when Claude modifies files

Demos
Toggle, fix bugs, generate tests, explain code, git workflows, diff preview, terminal zoom, and more — all from within Vim.
See DEMO.md for individual feature walkthroughs.

Features at a Glance

Stay in Flow
- One-key toggle —  opens and hides Claude. Session persists across toggles.
- Terminal Zoom — Maximize Claude to full-screen with z, tmux-style. Restore your split instantly.
- Auto file refresh — Buffers reload when Claude edits your files. No manual :e needed.
- Multiple layouts — Right split (default), bottom, top, left, floating popup, or dedicated tab.

Context-Aware Commands
- Selection-aware — Commands use your visual selection when active, otherwise detect the current function automatically.
- 22 sub-commands — Explain, fix, refactor, test, document, commit, review, rename, optimize, debug, and more. All…
Read the full README on GitHub

Details

Language
Vim Script
License
MIT
Last updated
18 July 2026
Topics
claude-aiclaude-cliclaude-codedeveloper-toolsintegrationproductivityvimvim-pluginvim9-plugin

FAQ

What is Vim Claude Code?

Claude CLI integration for Vim, enabling AI-powered coding workflows. It is a editor integration for Claude Code, from rishi-opensource/vim-claude-code on GitHub.

How do I install Vim Claude Code?

Clone rishi-opensource/vim-claude-code from GitHub and follow the setup steps in its README.

Is Vim Claude Code popular?

rishi-opensource/vim-claude-code has 75 GitHub stars and 6 forks. It was last updated on 18 July 2026.

More editor integrations

Browse the most popular Claude Code mods, all editor integrations, or the skills and MCP server directories.