Back to catalogPending🤖
sidekick.nvim
by folke
Your Neovim AI sidekick
2,236stars
83forks
Lua
Added 12/27/2025
CLI Toolsclaude-codecodex-clicopilotcopilot-cligemini-clineovimneovim-pluginnvimnvim-plugin
Installation
# Add to your Claude Code skills
git clone https://github.com/folke/sidekick.nvim🤖 sidekick.nvim
sidekick.nvim is your Neovim AI sidekick that integrates Copilot LSP's "Next Edit Suggestions" with a built-in terminal for any AI CLI. Review and apply diffs, chat with AI assistants, and streamline your coding, without leaving your editor.
<img width="2311" height="1396" alt="image" src="https://github.com/user-attachments/assets/63a33610-9a8e-45e2-bbd0-b7e3a4fde621" />✨ Features
-
🤖 Next Edit Suggestions (NES) powered by Copilot LSP
- 🪄 Automatic Suggestions: Fetches suggestions automatically when you pause typing or move the cursor.
- 🎨 Rich Diffs: Visualizes changes with inline and block-level diffs, featuring Treesitter-based syntax highlighting with granular diffing down to the word or character level.
- 🧭 Hunk-by-Hunk Navigation: Jump through edits to review them one by one before applying.
- 📊 Statusline Integration: Shows Copilot LSP's status, request progress, and preview text in your statusline.
-
💬 Integrated AI CLI Terminal
- 🚀 Direct Access to AI CLIs: Interact with your favorite AI command-line tools without leaving Neovim.
- 📦 Pre-configured for Popular Tools: Out-of-the-box support for Claude, Gemini, Grok, Codex, Copilot CLI, and more.
- ✨ Context-Aware Prompts: Automatically include file content, cursor position, and diagnostics in your prompts.
- 📝 Prompt Library: A library of pre-defined prompts for common tasks like explaining code, fixing issues, or writing tests.
- 🔄 Session Persistence: Keep your CLI sessions alive with
tmuxandzellijintegration. - 📂 Automatic File Watching: Automatically reloads files in Neovim when they are modified by AI tools.
-
🔌 Extensible and Customizable
- ⚙️ Flexible Configuration: Fine-tune every aspect of the plugin to your liking.
- 🧩 Plugin-Friendly API: A rich API for integrating with other plugins and building custom workflows.
- 🎨 Customizable UI: Change the appearance of diffs, signs, and more.
📋 Requirements
- Neovim
>= 0.11.2or newer - The official copilot-language-server LSP server,
enabled with
vim.lsp.enable. Can be installed in multiple ways:- install using
npmor your OS's package manager - install with mason-lspconfig.nvim
- copilot.lua and copilot.vim both bundle the LSP Server in their plugin.
- install using
- A working
lsp/copilot.luaconfiguration.- TIP: Included in nvim-lspconfig
- snacks.nvim for better prompt/tool selection (optional)
- nvim-treesitter-textobjects (
mainbranch) for{function}and{class}context variables (optional) - A...