blob: 3bea9866428d7104d39a3e3c92408d6d7ad9638a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
*vim-ai.txt* Complete text using OpenAI API.
Author: Martin Bielik <https://madox2.poriadne.sk/>
License: see https://github.com/madox2/vim-ai/blob/main/LICENSE
INTRODUCTION *vim-ai*
This plugin can be used to generate code, edit text, brainstorm ideas,
translate, etc.
COMMANDS *vim-ai-commands*
To set-up key bindings and expamples see:
https://github.com/madox2/vim-ai
*:AI*
:AI complete the text on the current line
:AI {prompt} complete the prompt
(selection) :AI complete the selection
(selection) :AI {instruction} complete the selection using the instruction
*:AIEdit*
(selection)? :AIEdit edit the current line or the selection
(selection)? :AIEdit {instruction} edit the current line or the selection using
the instruction
### :AICh*a*
:AIChat continue or start a new conversation.
(selection)? :AIChat {instruction}? start a new conversation given the selection,
the instruction or both
ABOUT *vim-ai-about*
Contributions are welcome on GitHub:
https://github.com/madox2/vim-ai
|