A Neovim plugin that brings GitHub Copilot Chat capabilities directly into the editor with transparency and user control.
CopilotChat.nvim is a Neovim plugin that integrates GitHub Copilot Chat functionality directly into the editor, enabling developers to interact with AI assistants without leaving their workflow. It provides a native chat interface with access to multiple AI models and workspace-aware tools for enhanced coding assistance, focusing on transparency and user control over data sharing.
Neovim users who are already subscribed to GitHub Copilot and want to access its chat features within their editor, particularly developers who prioritize privacy and want granular control over what data is shared with AI models.
Developers choose CopilotChat.nvim because it offers a privacy-first, fully integrated chat experience within Neovim with support for multiple AI models (including GitHub Copilot's models and custom providers like Ollama), tool calling for workspace operations, and extensive customization through a comprehensive Lua API.
Chat with GitHub Copilot in Neovim
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports GitHub Copilot models (GPT-4o, Claude, etc.) plus custom providers like Ollama and Mistral.ai, offering flexibility as detailed in the Key Features section.
Ensures explicit user approval for tool calls and no background data collection, aligning with the philosophy of transparency and control over shared data.
Allows LLMs to call functions for file reading, git operations, and search with user approval, enhancing coding assistance directly within the editor via predefined resources and tools.
Uses resource replacement and tiktoken for history management to prevent duplicate context, optimizing token usage as emphasized in the README's features.
Requires Neovim 0.10.0+, curl, plenary.nvim, and optional tools like tiktoken_core, with potential key mapping conflicts noted in WARNING sections for plugins like copilot.vim.
Primary functionality hinges on a GitHub Copilot subscription, limiting accessibility for users without access or those preferring fully open-source or free AI models.
Requires manual configuration for picker integrations (e.g., fzf-lua, telescope) and custom highlights, lacking seamless setup compared to AI features in full IDEs like VSCode.