Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. CopilotChat.nvim

CopilotChat.nvim

GPL-3.0Luav4.7.4

A Neovim plugin that brings GitHub Copilot Chat capabilities directly into the editor with transparency and user control.

Visit WebsiteGitHubGitHub
3.7k stars171 forks0 contributors

What is CopilotChat.nvim?

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.

Target Audience

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.

Value Proposition

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.

Overview

Chat with GitHub Copilot in Neovim

Use Cases

Best For

  • Neovim users who want to use GitHub Copilot Chat without switching to a separate IDE or web interface.
  • Developers who need AI-assisted code review, explanation, or optimization directly within their editor using predefined prompts like /Review, /Explain, and /Optimize.
  • Privacy-conscious users who require explicit approval before AI models can access workspace data through tool calls.
  • Teams or individuals building custom AI workflows in Neovim through the plugin's extensible Lua API and support for custom functions and providers.
  • Managing token usage efficiently during AI-assisted coding sessions with features like resource replacement and history management via tiktoken.
  • Integrating AI-powered code generation, documentation, and testing into existing Neovim configurations with commands and key mappings.

Not Ideal For

  • Developers not subscribed to GitHub Copilot, as core functionality requires an active Copilot subscription and access to its API.
  • Users of IDEs other than Neovim, since the plugin is tightly integrated with Neovim's Lua ecosystem and specific version requirements (0.10.0+).
  • Teams seeking a plug-and-play AI assistant with zero configuration, due to the need for dependency management (e.g., curl, plenary.nvim) and optional picker integrations.
  • Projects on tight budgets needing consistently free AI models, because while custom providers are supported, the primary integration is with paid GitHub Copilot services.

Pros & Cons

Pros

Multiple Model Support

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.

Privacy-First Design

Ensures explicit user approval for tool calls and no background data collection, aligning with the philosophy of transparency and control over shared data.

Workspace-Aware Tools

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.

Token Efficiency

Uses resource replacement and tiktoken for history management to prevent duplicate context, optimizing token usage as emphasized in the README's features.

Cons

Complex Setup and Dependencies

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.

Dependency on GitHub Copilot

Primary functionality hinges on a GitHub Copilot subscription, limiting accessibility for users without access or those preferring fully open-source or free AI models.

Limited Out-of-the-Box Integration

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.

Frequently Asked Questions

Quick Stats

Stars3,651
Forks171
Contributors0
Open Issues17
Last commit22 days ago
CreatedSince 2023

Tags

#hacktoberfest#developer-tools#ai-assistant#neovim-plugin#vim-integration#lua#tool-calling#github-copilot#github#copilot#code-completion#chat-interface

Built With

N
Neovim
p
plenary.nvim
L
Lua

Links & Resources

Website

Included in

Neovim20.6k
Auto-fetched 16 hours ago

Related Projects

avante.nvimavante.nvim

Use your Neovim like using Cursor AI IDE!

Stars18,071
Forks838
Last commit4 days ago
codecompanion.nvimcodecompanion.nvim

✨ AI Coding, Vim Style

Stars6,764
Forks442
Last commit3 days ago
ChatGPT.nvimChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API

Stars3,999
Forks320
Last commit6 months ago
opencode.nvimopencode.nvim

Neovim 🤝 OpenCode in the flow that you already know.

Stars3,697
Forks145
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub