Back to browse
GitHub Repository

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

60 starsVim Script

Vim-Claude-code – Use Claude directly inside Vim

by rishi-sharma·Feb 24, 2026·3 points·0 comments

AI Analysis

●●SolidShip ItNiche GemSolve My Problem

22 Claude commands in Vim without leaving editor, but Continue and Cursor already own this UX.

Strengths
  • 22 subcommands cover real workflows (test generation, bug fixing, PR descriptions, conventional commits) with tab-completion discovery.
  • Automatic file reload on Claude edits + git-aware session isolation per repo reduces friction for practical use.
  • Vim-native terminal management respects splits, tabs, and popups—no heavy UI layer, stays modal.
Weaknesses
  • AI editor integrations (Continue, Cursor, Copilot in VS Code) already solve this at scale with better IDE context.
  • Dependent on Claude Code CLI—adds a tool dependency chain vs. built-in API support like competitors.
Target Audience

Vim power users, terminal-first developers, engineers using Claude Code CLI

Similar To

Continue.dev (Vim/VS Code AI assistant) · Cursor (IDE with built-in Claude) · GitHub Copilot for Vim

Post Description

Hello Everyone,

I built vim-claude-code, a lightweight Vim plugin that lets you interact with Claude directly inside Vim through a split window.

The goal was to avoid leaving the editor to ask questions, refactor snippets, or generate code. I wanted something that feels native to Vim instead of context-switching to a browser or separate app.

What it does:

Opens a split window for Claude's responses

Sends selected code or custom prompts

Displays responses directly in Vim

Supports normal Vim navigation and scrolling

Minimal setup with no heavy UI layer

It’s still early and intentionally simple. I’d really appreciate feedback from Vim users, especially around workflow, keybindings, and split behavior. Happy to discuss tradeoffs and improvements.

GitHub: https://github.com/rishi-opensource/vim-claude-code

Thanks!

Similar Projects