Neovim plugin for Claude Code integration
Top 39.7% on sourcepulse
This plugin provides seamless integration between the Claude Code AI assistant and the Neovim text editor, allowing users to interact with Claude Code directly within Neovim. It targets Neovim users who want to leverage AI for coding tasks without leaving their preferred environment, offering enhanced productivity through integrated workflows.
How It Works
The plugin creates a dedicated terminal buffer within Neovim to run the Claude Code CLI. It leverages Neovim's autocommand system to monitor file changes, automatically reloading buffers modified by Claude Code. The integration includes automatic detection of Git project roots to set the correct working directory for Claude Code, and provides customizable keymaps for toggling the Claude Code terminal and managing conversations.
Quick Start & Requirements
lazy.nvim
, packer.nvim
, or vim-plug
.plenary.nvim
.require("claude-code").setup({...})
with extensive options for window, refresh, git, shell, command, and keymap settings.:ClaudeCode
command or mapped keybinds.Highlighted Details
which-key
for enhanced keymap discoverability.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The plugin requires the Claude Code CLI to be installed and accessible in the system's PATH. Scrolling within the Claude Code terminal buffer with Ctrl-f
or Ctrl-b
requires pressing i
to re-enter insert mode for further interaction.
1 month ago
Inactive