Back to catalog

sidekick.nvim

by folke

Pending

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
README.md

🤖 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 tmux and zellij integration.
    • 📂 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