claude-code.nvim

by greggh

Pending

Seamless integration between Claude Code AI assistant and Neovim

1,783stars
56forks
Lua
Added 12/27/2025
AI Agentsai-assistantanthropicclaudeclaude-codeneovimnvimpluginterminal
Installation
# Add to your Claude Code skills
git clone https://github.com/greggh/claude-code.nvim
README.md

Claude Code Neovim Plugin

GitHub License GitHub Stars GitHub Issues CI Neovim Version Tests Version Discussions

A seamless integration between Claude Code AI assistant and Neovim

FeaturesRequirementsInstallationConfigurationUsageContributingDiscussions

Claude Code in Neovim

This plugin was built entirely with Claude Code in a Neovim terminal, and then inside itself using Claude Code for everything!

Features

  • 🚀 Toggle Claude Code in a terminal window with a single key press
  • 🧠 Support for command-line arguments like --continue and custom variants
  • 🔄 Automatically detect and reload files modified by Claude Code
  • ⚡ Real-time buffer updates when files are changed externally
  • 📱 Customizable window position and size (including floating windows)
  • 🤖 Integration with which-key (if available)
  • 📂 Automatically uses git project root as working directory (when available)
  • 🧩 Modular and maintainable code structure
  • 📋 Type annotations with LuaCATS for better IDE support
  • ✅ Configuration validation to prevent errors
  • 🧪 Testing framework for reliability (44 comprehensive tests)

Requirements

See CHANGELOG.md for version history and updates.

Installation

Using [lazy.nvim](https://github.com/folke/la...