sidekick.nvim
Your Neovim AI sidekick
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
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 moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
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.