🤖 AI Summary
Claude-Chat.nvim is a new Neovim plugin that tightly integrates the Claude Code CLI into your editor, launching an interactive Claude session preloaded with your current file, filetype, and any visual selection. It opens Claude in a configurable split (vertical or horizontal) and keeps context live — any edits to visible buffers are immediately reflected in the running Claude session. Interaction is keyboard-driven (recommended keybind <leader>cc), supports direct commands (:ClaudeChat <prompt>), visual-selection workflows, and injects the current filename into prompts. It doesn’t alter Claude’s config — you just need Claude Code CLI available in your PATH (command default: "claude") and Neovim 0.7+.
For developers this removes friction around sending precise, in-editor context to an LLM: Claude receives path, filetype and selection metadata for more relevant code reviews, bug explanations, or refactors. Configuration is flexible (split type, position, width/height, claude_cmd) and the plugin watches files for live updates. Installation supports lazy.nvim, vim-plug, and packer. The project is MIT-licensed, mainly built with Claude, and encourages contributions; planned enhancements include session management, multi-file/workspace context, persistent chat history, and smarter context selection — all features that would further streamline AI-assisted coding workflows.
Loading comments...
login to comment
loading comments...
no comments yet