claudecode.nvim
🧩 Claude Code Neovim IDE Extension
claudecode.nvim is a Claude Code plugin that brings Anthropic's AI coding assistant to Neovim through a reverse-engineered WebSocket-based MCP protocol implementation. Built entirely in pure Lua with zero external dependencies, it provides the same AI-powered coding experience available in VS Code and JetBrains IDEs. The plugin enables real-time context sharing, file operations, and diff management directly within Neovim, allowing Claude to see selections, open files, and propose changes with native diff views.
Key Features
Use Cases
- 01AI-assisted coding within Neovim with real-time context sharing of files and selections
- 02Reviewing and accepting Claude's code suggestions using native Neovim diff views
- 03Batch file selection from file explorers to provide multi-file context to Claude
- 04Scripting Claude interactions with :ClaudeCodeSendText and autocmd event hooks
- 05Running Claude in external terminals (tmux, kitty) while maintaining IDE integration
- 06Custom terminal layouts with floating windows for distraction-free AI pair programming
Related Plugins
View moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
claudecode.nvim — FAQ
What is claudecode.nvim?+
claudecode.nvim is a Neovim plugin that integrates Claude Code (Anthropic's AI coding assistant) into Neovim. It reverse-engineers the WebSocket-based MCP protocol used by the official VS Code extension to provide the same AI-powered coding features in Neovim.
How do I install claudecode.nvim?+
Install via lazy.nvim with 'coder/claudecode.nvim' and add 'folke/snacks.nvim' as a dependency. You must also have the Claude Code CLI installed separately from Anthropic. The plugin auto-configures everything else on first launch.
What are the prerequisites?+
You need Neovim >= 0.8.0, the Claude Code CLI installed from Anthropic, and the snacks.nvim plugin. No API keys are configured in the plugin itself—authentication is handled by the Claude Code CLI.
Which Neovim versions and terminal providers are supported?+
Neovim 0.8.0 and later are supported. The plugin works with Snacks.nvim terminal, native Neovim terminal, external terminals (alacritty, kitty, etc.), or custom provider implementations.
Is claudecode.nvim free?+
The plugin itself is open-source and MIT licensed. However, using Claude Code requires a subscription to Anthropic's Claude service, which has its own pricing.
How do I configure it for local Claude installations?+
If you used 'claude migrate-installer' to create a local installation, set terminal_cmd = '~/.claude/local/claude' in your plugin opts. Check 'which claude' to verify your installation type.
How do I install claudecode.nvim?+
Open the source repository on GitHub and follow its README. claudecode.nvim is a plugin — MCP Agents Market links you directly to the official repo.
Is claudecode.nvim free?+
claudecode.nvim is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.