sidekick.nvim  by folke

AI coding assistant for Neovim

Created 2 weeks ago

New!

1,513 stars

Top 27.3% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

sidekick.nvim enhances Neovim by integrating Copilot's "Next Edit Suggestions" (NES) and providing a built-in terminal for AI command-line interfaces. It targets Neovim users seeking to streamline AI-assisted coding workflows, enabling review and application of AI-generated code changes and interaction with various AI CLIs directly within the editor.

How It Works

The plugin leverages Copilot LSP for automatic "Next Edit Suggestions," presenting changes via rich, granular diffs (word/character level) with Treesitter syntax highlighting and allowing hunk-by-hunk navigation. It also features an integrated AI CLI terminal that supports popular tools like Claude, Gemini, and Grok. This terminal uses context-aware prompts, incorporating file content, cursor position, and diagnostics, and supports session persistence via tmux or zellij.

Quick Start & Requirements

  • Installation: Typically via a plugin manager like lazy.nvim.
  • Prerequisites: Neovim version 0.11.2 or newer. The official Copilot LSP server must be installed and enabled (e.g., via mason-lspconfig.nvim). A working lsp/copilot.lua configuration is also required.
  • Setup: Run :checkhealth sidekick after installation. Integration with completion engines like blink.cmp or custom keymaps for <Tab> is recommended.

Highlighted Details

  • Automatic "Next Edit Suggestions" powered by Copilot LSP with visual diffs.
  • Granular diffing down to word or character level, with Treesitter syntax highlighting.
  • Integrated AI CLI terminal supporting numerous tools (Claude, Gemini, Grok, Copilot CLI, etc.) with context-aware prompts.
  • Session persistence for AI CLI tools using tmux or zellij backends.
  • Statusline integration to display Copilot LSP status and progress.
  • Extensible API for custom workflows and UI customization.

Maintenance & Community

No specific details regarding maintainers, community channels (like Discord/Slack), or roadmap were present in the provided README.

Licensing & Compatibility

Released under the MIT License. This license generally permits commercial use and integration into closed-source projects.

Limitations & Caveats

Requires a recent Neovim version (>= 0.11.2) and a properly configured Copilot LSP server. The AI CLI features depend on the user having the respective AI command-line tools installed and configured separately.

Health Check
Last Commit

11 hours ago

Responsiveness

Inactive

Pull Requests (30d)
21
Issues (30d)
65
Star History
1,530 stars in the last 19 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Paul Gauthier Paul Gauthier(Founder of Aider).

aidermacs by MatthewZMD

0.5%
802
AI pair programming in Emacs, powered by Aider
Created 8 months ago
Updated 1 day ago
Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Cofounder of Luma AI), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

avante.nvim by yetone

0.3%
16k
Neovim plugin emulating Cursor AI IDE for AI-driven code assistance
Created 1 year ago
Updated 2 days ago
Feedback? Help us improve.