summaryrefslogtreecommitdiff
path: root/doc/vim-ai.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/vim-ai.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/vim-ai.txt b/doc/vim-ai.txt
index ed70ef1..05b73ca 100644
--- a/doc/vim-ai.txt
+++ b/doc/vim-ai.txt
@@ -79,6 +79,7 @@ Options: >
\ },
\ "ui": {
\ "code_syntax_enabled": 1,
+ \ "populate_options": 0,
\ "open_chat_command": "below new | call vim_ai#MakeScratchWindow()",
\ },
\}
@@ -103,6 +104,22 @@ a selection of options: >
\ },
\}
+Or modify options directly during the vim session: >
+
+ let g:vim_ai_chat['options']['model'] = 'gpt-4'
+ let g:vim_ai_chat['options']['temperature'] = 0.2
+
+You can also customize the options in the chat header: >
+
+ [chat-options]
+ model=gpt-4
+ temperature=0.2
+
+ >>> user
+
+ generate a paragraph of lorem ipsum
+ ...
+
KEY BINDINGS
Examples how configure key bindins and customize commands: >