</>MCP Agents Market
Plugin

sidekick.nvim

by folke2.7kLuaUpdated 2026-04-22

Your Neovim AI sidekick

Neovim

sidekick.nvim is a Neovim plugin that integrates GitHub Copilot's Next Edit Suggestions (NES) and AI command-line tools directly into your editor. It provides intelligent multi-line refactorings and contextual code changes through Copilot LSP, alongside a built-in terminal for interacting with AI assistants like Claude, Gemini, Grok, and others. The plugin displays rich diffs with syntax highlighting, enables hunk-by-hunk navigation for reviewing changes, and offers context-aware prompts that automatically include file content, cursor position, and diagnostics when communicating with AI tools.

Key Features

Next Edit Suggestions via Copilot LSP with automatic multi-line refactoring and contextual code edits
Rich diff visualization with Treesitter-based syntax highlighting and granular word/character-level diffing
Integrated AI CLI terminal with pre-configured support for Claude, Gemini, Grok, Copilot, Aider, and more
Context-aware prompt library with automatic inclusion of file content, cursor position, diagnostics, and code selections
Hunk-by-hunk navigation for reviewing and applying code changes incrementally
Terminal multiplexer integration (tmux/zellij) for persistent AI CLI sessions
Automatic file watching and reloading when AI tools modify code
Statusline integration showing Copilot LSP status, request progress, and active CLI sessions

Use Cases

  • 01Reviewing and applying large-scale refactorings suggested by GitHub Copilot across multiple lines
  • 02Chatting with Claude or other AI assistants about code issues without leaving the editor
  • 03Sending diagnostic errors to AI tools for automated fix suggestions
  • 04Requesting AI-generated tests, documentation, or code explanations for specific functions or files
  • 05Managing multiple AI CLI sessions simultaneously with persistent terminal multiplexer integration
  • 06Iteratively reviewing and applying AI-suggested code changes hunk-by-hunk before committing

Related Plugins

View more

sidekick.nvim — FAQ

What is sidekick.nvim and how does it work with AI assistants?+

sidekick.nvim is a Neovim plugin that integrates GitHub Copilot's Next Edit Suggestions for multi-line refactorings and provides a built-in terminal for interacting with AI CLI tools like Claude, Gemini, and Grok. It works independently from inline completions, offering larger contextual code changes and direct AI assistant communication within your editor.

How do I install sidekick.nvim in Neovim?+

Install it using a plugin manager like lazy.nvim by adding the folke/sidekick.nvim configuration to your init.lua. You must have Neovim >= 0.11.2, the official copilot-language-server installed (via npm, mason-lspconfig, or bundled with copilot.lua/copilot.vim), and a working Copilot LSP configuration enabled with vim.lsp.enable.

Do I need a GitHub Copilot subscription to use sidekick.nvim?+

You only need a GitHub Copilot subscription for the Next Edit Suggestions (NES) feature. The AI CLI integration works independently with any supported CLI tool (Claude, Gemini, etc.) and doesn't require Copilot, so you can disable NES and use only the terminal features.

Which AI tools and clients does sidekick.nvim support?+

sidekick.nvim works exclusively in Neovim and supports AI CLI tools including Claude Code, Gemini, Grok, Aider, Amazon Q, Copilot CLI, Cursor CLI, and others. The NES feature requires GitHub Copilot LSP, while the CLI terminal integration supports any command-line AI assistant you have installed.

Is sidekick.nvim free to use?+

The plugin itself is free and open-source. However, the NES feature requires a GitHub Copilot subscription, and the AI CLI tools may have their own licensing or API costs depending on which assistants you use (e.g., Claude requires an Anthropic API key).

Can I use sidekick.nvim alongside copilot.lua or copilot.vim?+

Yes, sidekick.nvim complements rather than replaces copilot.lua or copilot.vim. Those plugins provide inline completions as you type, while sidekick.nvim adds Next Edit Suggestions for larger refactorings and AI CLI integration. Using them together provides the best experience.

How do I install sidekick.nvim?+

Open the source repository on GitHub and follow its README. sidekick.nvim is a plugin — MCP Agents Market links you directly to the official repo.

Is sidekick.nvim free?+

sidekick.nvim is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches