LessAI ToolsAI plugin directory
← Back to plugins

Editor plugins

CodeCompanion.nvim

olimorris/codecompanion.nvim

Chat, edit code, and connect models or coding agents inside Neovim.

Install

macOS / Linux · Neovim lazy.nvim plugin configurationConfiguration to paste
  • Requires Neovim 0.12 or later.
  • Obtain the required API key from the service; keep it in your local configuration.
  • Use a macOS or Linux terminal for these commands.

Step 1 · Neovim lazy.nvim plugin configuration

Configuration file ~/.config/nvim/lua/plugins/codecompanion.lua

  • Requires Neovim and lazy.nvim. Save the plugin configuration, then run :Lazy sync in Neovim.
return {
  {
    "olimorris/codecompanion.nvim",
    version = "^19.0.0",
    opts = {},
    dependencies = {
      { "nvim-lua/plenary.nvim", branch = "master" },
      "nvim-treesitter/nvim-treesitter",
    },
  },
}

Step 2 · System terminal

  • Use a macOS or Linux terminal for these commands.
  • Obtain the required API key from the service; keep it in your local configuration.
  • Replace the placeholder values below before running or saving.

Replace these values: YOUR_ANTHROPIC_API_KEY

export ANTHROPIC_API_KEY='YOUR_ANTHROPIC_API_KEY'
nvim

Step 3 · Neovim command line (starts with :)

:Lazy sync
:checkhealth codecompanion
:CodeCompanionChat
Official installation guide ↗
Requirements, costs and detailed steps

CodeCompanion.nvim setup documentation

Setup requirements have not been reviewed yet. Check the project’s setup guide.

Based on public documentation; not individually installed and tested here.

What is CodeCompanion.nvim?

CodeCompanion.nvim brings AI conversations and code changes into Neovim for developers who want to keep their existing editor. It supports multiple model services as well as coding agents and external tools, with chat and inline editing options. Prepare the plugin dependencies and configure the model or agent account you plan to use; requirements differ between integrations.

CodeCompanion.nvim use cases

  • Chat and edit code within Neovim
  • Connect models, coding agents, and external tools
  • Prepare dependencies and accounts for the chosen integration

Official project & documentation

Alternatives to CodeCompanion.nvim for similar tasks

Compare plugins for similar tasks and check their setup requirements.

  • Cline — Use AI in your editor to read a project, edit files, and run development commands.
  • Kilo Code — Use AI coding in VS Code or JetBrains with your chosen models and tools.
  • CopilotChat for Neovim — Chat with AI inside Neovim using project context and review suggested code changes.

Sources and ranking

This directory lists AI development plugins with public source code and a clear purpose. Browse by task, then open an introduction to learn what a project does, who it is for, and what you need to get started. It covers selected projects, not every AI plugin.

How do the three plugin types differ?

Tool connections (MCP) let AI assistants use external tools such as browsers, code repositories and databases. MCP is the protocol used for these connections.

Reusable skills give a compatible AI assistant instructions and guidance for a particular task.

Editor plugins run inside the software you use to write code, adding AI chat, completions or suggested edits.

How does “Most starred” work?

Projects are sorted by their total GitHub stars. Stars indicate interest; they are not downloads, active users or quality scores. A skill pack counts as one project.

What does “Recently updated” mean?

It uses the most recent code push, which may not be a new release. The 7-day filter checks that project update time; ranking still uses all-time stars. Each introduction shows when its star count was collected.

Introductions are based on public project documentation. These projects have not each been installed and tested here. Check the project documentation for setup, compatibility and service costs.

UTC+8

Pass a useful find along

Pick a draft and a platform. You can edit before posting.