claude-code.nvim
CLAUDE.md2.1k starsChanged 19 months agoMITView on GitHub
Claude Code Plugin provides seamless integration between the Claude Code AI assistant and Neovim. It enables direct communication with the Claude Code CLI from within the editor, context-aware interactions, and various utilities to enhance AI-assisted development within Neovim. The plugin supports running multiple Claude Code instances, one per git repository root: Example configuration to disable multi-instance mode:
1 other project uses a version of this.
Trending
Quiet since May.thin dataabout the whole repository
Most recently taken up by
- Najeebullah3124/awesome-claude-universeword for word, first seen Apr 24, 2026
Who's talking about greggh/claude-code.nvim
- A Hacker News story“Claude-code.nvim: Seamless integration between Claude Code and Neovim”Hacker News · Sep 16, 2025 · 2 points
- @lomig.bzh“Il y a des plugins comme github.com/greggh/claud... Après je n’utilise pas beaucoup l’IA, et quand je le …”Bluesky · May 4, 2026 · 1 likes
- @mikedecr.computer“And I guess it's easier with LLMs to create your own integrations. For example this Claude \in Nvim pkg …”Bluesky · Jan 31, 2026 · 1 likes
- @gregghoush.bsky.social“I've been learning how to best use it since about an hour after it was released when I used Claude Code to …”Bluesky · Mar 1, 2025 · 1 likes
- @gregghoush.bsky.social“So @anthropic.com opened up the preview for Claude Code today, a command line interface built for coding. …”Bluesky · Feb 24, 2025 · 1 likes
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub, Bluesky and Hacker News (9 times).
On GitHub · 4
- Jul 6, 2025set up claude code — evokateur/nvim0 reactions
- Jun 9, 2025claude-code.nvim入れる? — yysd5/dotfiles0 reactions
- May 8, 2025plugins/claude-code: init module — nix-community/nixvim0 reactions · 6 comments
- Apr 25, 2025plugin: claude ai integration — practicalli/nvim-astro0 reactions
On Bluesky · 4
- May 4, 2026Il y a des plugins comme github.com/greggh/claud... Après je n’utilise pas beaucoup l’IA, et quand je le fais, j’ai neovim dans un… — @lomig.bzh1 likes and repost · 1 reply
- Jan 31, 2026And I guess it's easier with LLMs to create your own integrations. For example this Claude \in Nvim pkg github.com/greggh/claud... lets you… — @mikedecr.computer1 likes and repost · 1 reply
- Mar 1, 2025I've been learning how to best use it since about an hour after it was released when I used Claude Code to create a plugin for Neovim that… — @gregghoush.bsky.social1 likes and repost · 1 reply
- Feb 24, 2025So @anthropic.com opened up the preview for Claude Code today, a command line interface built for coding. To test it I used it to code a… — @gregghoush.bsky.social1 likes and repost
On Hacker News · 1
- Sep 16, 2025Claude-code.nvim: Seamless integration between Claude Code and Neovim2 points
Other versions1 project uses a version of this.
Word for word · 1
- Najeebullah3124/awesome-claude-universe★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
Project: Claude Code Plugin
Overview
Claude Code Plugin provides seamless integration between the Claude Code AI assistant and Neovim. It enables direct communication with the Claude Code CLI from within the editor, context-aware interactions, and various utilities to enhance AI-assisted development within Neovim.
Essential Commands
- Run Tests:
env -C /home/gregg/Projects/neovim/plugins/claude-code lua tests/run_tests.lua - Check Formatting:
env -C /home/gregg/Projects/neovim/plugins/claude-code stylua lua/ -c - Format Code:
env -C /home/gregg/Projects/neovim/plugins/claude-code stylua lua/ - Run Linter:
env -C /home/gregg/Projects/neovim/plugins/claude-code luacheck lua/ - Build Documentation:
env -C /home/gregg/Projects/neovim/plugins/claude-code mkdocs build
Project Structure
/lua/claude-code: Main plugin code/lua/claude-code/cli: Claude Code CLI integration/lua/claude-code/ui: UI components for interactions/lua/claude-code/context: Context management utilities/after/plugin: Plugin setup and initialization/tests: Test files for plugin functionality/doc: Vim help documentation
Current Focus
- Integrating nvim-toolkit for shared utilities
- Adding hooks-util as git submodule for development workflow
- Enhancing bidirectional communication with Claude Code CLI
- Implementing better context synchronization
- Adding buffer-specific context management
Multi-Instance Support
The plugin supports running multiple Claude Code instances, one per git repository root:
- Each git repository maintains its own Claude instance
- Works across multiple Neovim tabs with different projects
- Allows working on multiple projects in parallel
- Configurable via
git.multi_instanceoption (defaults totrue) - Instances remain in their own directory context when switching between tabs
- Buffer names include the git root path for easy identification
Example configuration to disable multi-instance mode:
require('claude-code').setup({
git = {
multi_instance = false -- Use a single global Claude instance
}
})Documentation Links
- Tasks:
/home/gregg/Projects/docs-projects/neovim-ecosystem-docs/tasks/claude-code-tasks.md - Project Status:
/home/gregg/Projects/docs-projects/neovim-ecosystem-docs/project-status.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

