vim-ai : AI-powered code assistant for Vim. OpenAI and ChatGPT plugin for Vim and Neovim
script karma |
Rating 73/30,
Downloaded by 920 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Martin Bielik |
|
script type |
utility |
|
description |
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.
Using other than OpenAI models (Gemini, Claude, LLAMA, ...) is possible with any OpenAI-compatible proxy like OpenRouter or LiteLLM.
Repository:
https://github.com/madox2/vim-ai
Features:
- Generate text or code, answer questions with AI
- Edit selected text in-place with AI
- Interactive conversation with ChatGPT
- Custom roles
- Integrates with any OpenAI-compatible API
Commands:
- :AI - complete text
- :AIEdit - edit selected text
- :AIChat - start/continue conversation with OpenAI chat models
Disclaimer:
- Accuracy: GPT is good at producing text and code that looks correct at first glance, but may be completely wrong. Be sure to thoroughly review, read and test all output generated by this plugin!
- Privacy: This plugin sends text to OpenAI when generating completions and edits. Therefore, do not use it on files containing sensitive information.
More details:
https://github.com/madox2/vim-ai |
|
install details |
Works in Vim 8+, requires python 3 |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.14.90
|