# madox2/vim-ai

AI-powered code assistant for Vim. OpenAI and ChatGPT plugin for Vim and Neovim.

Repository: https://github.com/madox2/vim-ai
Canonical: https://ross.abutalabs.com/products/vim-ai
Language: Python
License: MIT
License Family: permissive
Topics: chatgpt, code-generation, gpt-4, neovim, openai, vim, llm, gemini
Last push: 2026-03-11T23:10:05+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 71, release rhythm 35, longevity 91
- inputs: {"age_days": 1283, "days_push": 175, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1184, forks 110 (observed 2026-08-28T04:03:54.634690+00:00)

## What it is
A Vim/Neovim plugin that adds AI capabilities such as code generation, text editing, and interactive ChatGPT conversations directly in the editor. It uses the OpenAI API and works with any OpenAI-compatible endpoint, including proxies for Gemini, Claude, or local models.

## Use cases
- generate code with gpt inside vim
- chat with chatgpt from neovim
- edit selected text with ai in vim
- refactor code using llm in my editor
- use claude or gemini models in vim via openrouter
- describe an image to text within the editor
- generate images from vim

## When to choose
- you live in Vim or Neovim and want AI assistance without leaving the editor
- you want to use any OpenAI-compatible API or local model through a proxy
- you prefer paying only for the tokens you explicitly send
- you want customizable roles and provider plugins

## When to avoid
- you use an IDE like VS Code or JetBrains rather than Vim/Neovim
- you need an AI assistant with built-in editor-side indexing of your whole codebase
- you cannot use Vim builds with python3 support
- you want a fully free solution with no API costs

## Facets
- artifact type: plugin
- maturity: active
- function: llm-inference, chatbot, plugin-system
- domain: developer-tools, text-editors, artificial-intelligence, large-language-models
- platform: editor-plugin, cli, cross-platform
- tags: vim, neovim, openai, chatgpt, gemini, editor-assistant, ai-coding, code-generation

## Member repositories
- madox2/vim-ai (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:54.634690+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:24:19.589393+00:00, confidence not recorded.
  - readme: https://github.com/madox2/vim-ai (fetched 2026-08-28T04:03:54.634690+00:00, sha 62ccf7dd1cd7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
