#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| Rank | Project | Score |
|---|---|---|
| 1 | claw-codeRust CLI coding agent harness using Anthropic and OpenAI-compatible APIs | 96 out of 100 |
| 2 | t3codeDesktop, web and mobile front end for controlling local coding agent CLIs | 95 out of 100 |
| 3 | codewhaleTerminal coding agent in Rust that works with 40+ model providers | 94 out of 100 |
| #4 | ArchonYAML workflow engine that runs AI coding agents through fixed dev steps | 93 out of 100 |
| #5 | piMinimal terminal coding agent extensible with skills and packages | 92 out of 100 |