#190190th of 218 in Coding agents and AI editors

vim-ai

Vim and Neovim plugin for AI completion, in-place editing and chat

Stars
1.2k
License
MIT
Last commit
Oct 2026
Language
Python

Missed the latest GitHub check; these facts may be older.

Overview

vim-ai adds :AI, :AIEdit, :AIChat and :AIImage commands to Vim and Neovim, sending prompts or visual selections to OpenAI's API. It can target any OpenAI-compatible endpoint (OpenRouter, LiteLLM, local servers) and supports third-party provider plugins such as Google Gemini. Chats live in editable .aichat buffers that can include files and command output, and reusable prompts are defined as roles in an .ini file.

Who it is for: Vim and Neovim users who want AI commands inside the editor

Strengths

  • Works on selections or ranges, so only text you pick is sent to the API
  • Custom endpoint_url and auth_type allow any OpenAI-compatible server, including local ones
  • Roles in .ini files and .aichat files make prompts reusable and combinable
  • Chat files can include globbed files, images and command output

Weaknesses

  • Not an agent: no repo-wide context or tool use beyond exec sections in chat
  • Requires Vim or Neovim built with python3 support
  • Gemini and other non-OpenAI APIs need a proxy or a separate provider plugin
  • Defaults assume an OpenAI API key billed per token; no bundled local model

What it needs

  • no GPU
  • Needs Vim or Neovim with python3, OpenAI API key or OpenAI-compatible endpoint
  • Models: OpenAI chat models, OpenAI image generation, OpenAI-compatible APIs (OpenRouter, LiteLLM), Gemini via provider plugin

Also in Coding agents and AI editors

See all 218
Also in Coding agents and AI editors
RankProjectScore
1claw-codeRust CLI coding agent harness using Anthropic and OpenAI-compatible APIs194.8k stars+724 (+0.4%) in 30 daysMIT96 out of 100
2t3codeDesktop, web and mobile front end for controlling local coding agent CLIs Live demo ↗ (opens in a new tab)57.9k stars+30,427 (+111%) in 30 daysMIT95 out of 100
3codewhaleTerminal coding agent in Rust that works with 40+ model providers41.2k stars+331 (+0.8%) in 30 daysMIT94 out of 100
#4ArchonYAML workflow engine that runs AI coding agents through fixed dev steps23.9k starsMIT93 out of 100
#5piMinimal terminal coding agent extensible with skills and packages121.6k stars+7,287 (+6.4%) in 30 daysMIT92 out of 100