Editor plugins
claudecode.nvim
Use Claude Code in Neovim with file context, selected code, and reviewable diffs.
Install
macOS / Linux · Neovim lazy.nvim plugin configurationConfiguration to paste
- Install Claude Code and sign in before configuring this integration.
- A service account is required; check its available plan and permissions.
- Use a macOS or Linux terminal for these commands.
Step 1 · Neovim lazy.nvim plugin configuration
Configuration file ~/.config/nvim/lua/plugins/claudecode.lua
- Requires Neovim and lazy.nvim. Save the plugin configuration, then run :Lazy sync in Neovim.
return {
{
"coder/claudecode.nvim",
dependencies = { "folke/snacks.nvim" },
config = true,
cmd = { "ClaudeCode", "ClaudeCodeFocus", "ClaudeCodeAdd", "ClaudeCodeSend" },
},
}Step 2 · Neovim command line (starts with :)
:Lazy sync
:ClaudeCodeRequirements, costs and detailed steps
claudecode.nvim setup documentation
Setup requirements have not been reviewed yet. Check the project’s setup guide.
Based on public documentation; not individually installed and tested here.
What is claudecode.nvim?
Coder's community integration connects Claude Code to Neovim, sends files or selected text as context, and displays proposed changes as editor diffs. This is not an Anthropic-authored Neovim extension. It requires Neovim 0.8+ and a working Claude Code CLI; the documented setup also uses snacks.nvim for terminal support. Claude account access and model or subscription charges are separate.
claudecode.nvim use cases
- Open Claude Code inside the editor
- Send files or selected code as context
- Inspect and accept or reject proposed edits
Official project & documentation
Alternatives to claudecode.nvim for similar tasks
Compare plugins for similar tasks and check their setup requirements.
- Cline — Use AI in your editor to read a project, edit files, and run development commands.
- Kilo Code — Use AI coding in VS Code or JetBrains with your chosen models and tools.
- CodeCompanion.nvim — Chat, edit code, and connect models or coding agents inside Neovim.