sponsor Vim development Vim logo Vim Book Ad

vim-ai : Complete and edit text and chat with GPT model

 script karma  Rating 39/15, Downloaded by 58  Comments, bugs, improvements  Vim wiki

created by
Martin Bielik
 
script type
utility
 
description
Repository:
https://github.com/madox2/vim-ai

Features:
- Generate text or code, answer questions
- Edit selected text in-place
- Interactive conversation with ChatGPT

Commands:
- :AI - complete text
- :AIEdit - edit selected text
- :AIChat - start/continue conversation with openai chat

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 and openai-python
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-ai.tar.gz 1.2.0 2023-03-23 7.0 Martin Bielik openai configuration and other small improvements
vim-ai.tar.gz 1.1.0 2023-03-16 8.0 Martin Bielik live streaming AI responses
vim-ai.tar.gz 1.0.0 2023-03-07 8.0 Martin Bielik Initial upload
ip used for rating: 34.239.173.144

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN