{"repo":"madox2/vim-ai","free":true,"listed":false,"github":"https://github.com/madox2/vim-ai","clone":"git clone https://github.com/madox2/vim-ai.git","description":"AI-powered code assistant for Vim. OpenAI and ChatGPT plugin for Vim and Neovim.","language":"Python","stars":1186,"topics":["chatgpt","code-generation","gpt-4","neovim","openai","vim","llm","gemini"],"license":"MIT","category":"ai-agents","readme_excerpt":"vim-ai This plugin adds Artificial Intelligence (AI) capabilities to your Vim and Neovim. You can generate code, edit text, or have an interactive conversation with GPT models, all powered by OpenAI's API. To get an idea what is possible to do with AI commands see the prompts on the Community Wiki Features - Generate text or code, answer questions with AI - Edit selected text in-place with AI - Interactive conversation with ChatGPT - Custom roles - Vision capabilities (image to text) - Generate images - Integrates with any OpenAI-compatible API - AI provider plugins How it works This plugin uses OpenAI's API to generate responses. You will need to setup an account and obtain an API key. Usage of the API is not free, but the cost is reasonable and depends on how many tokens you use, in simple terms, how much text you send and receive (see pricing). Note that the plugin does not send any of your code behind the scenes. You only share and pay for what you specifically select, for prompts and chat content. In case you would like to experiment with Gemini, Claude or other models running as a service or locally, you can use any OpenAI compatible proxy. A simple way is to use OpenRouter which has a fair pricing (and currently offers many models for free), or setup a proxy like LiteLLM locally. See this simple guide on configuring custom OpenRouter roles. 🚨 Announcement 🚨 vim-ai can now be extended with custom provider plugins. However, there aren't many available yet, so developin","default_branch":null,"files":null,"tree":[],"storefront":"/r/madox2","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/madox2/vim-ai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}