GeorgesAlkhouri/nvim-aider

🤖 Seamlessly integrate Aider with Neovim for an enhanced AI-assisted coding experience!

What it solves

It integrates the Aider AI pair programmer into Neovim, allowing developers to interact with the AI assistant without leaving their editor. It bridges the gap between a standalone terminal-based AI coding tool and the Neovim environment, enabling seamless file and context management.

How it works

The plugin embeds the Aider terminal within Neovim and provides a set of Lua commands and API functions to communicate with it. It allows users to send current buffers, specific text selections, or diagnostic errors directly to Aider. It also integrates with popular Neovim file explorers like Neo-tree and nvim-tree to let users add or remove files from the AI's context via the tree interface.

Who it’s for

Neovim users who use Aider for AI-assisted coding and want a more integrated experience than switching between a separate terminal and their editor.

Highlights

  • Deep Editor Integration: Send current buffers, selections, and buffer diagnostics directly to the AI.
  • Context Management: Quickly add or drop files from the session, including adding files as read-only references.
  • Explorer Integration: Native support for Neo-tree and nvim-tree for managing Aider's file context.
  • Programmatic Control: A fully documented Lua API for creating custom integrations and workflows.
  • UI Enhancements: Includes a command selection menu with fuzzy search and automatic color theme synchronization with Catppuccin.

Related

  • Project
  • Project
  • Project
  • Project
  • Project