summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2023-04-22 17:29:58 +0200
committerMartin Bielik <mx.bielik@gmail.com>2023-04-22 17:29:58 +0200
commit27ee959366ab8b5aebc2d0db6f508ebdc84519b6 (patch)
tree93c1e27cc4a574e025564301cadefd02b7962d40 /README.md
parent4b3f4339e643bb7cae9065fb4129bdbfaf0b2dcf (diff)
downloadvim-ai-27ee959366ab8b5aebc2d0db6f508ebdc84519b6.tar.gz
added AINewChat command
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5d47090..21fee30 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,8 @@ To use an AI command, type the command followed by an instruction prompt. You ca
```
:AI complete text
:AIEdit edit text
-:AIChat open/continue chat
+:AIChat continue or open new chat
+:AINewChat open new chat
:AIRedo repeat last AI command
:help vim-ai
@@ -119,6 +120,14 @@ You are a Clean Code expert, I have the following code, please refactor it in a
Supported chat roles are **`>>> system`**, **`>>> user`** and **`<<< assistant`**
+### `:AINewChat`
+
+`:AINewChat {preset shortname}?` - start a new conversation
+
+This command is used when you need to spawn a new chat in a specific way or in situation when `:AIChat` would normally continue conversation instead.
+
+As a parameter you put an open chat command preset shortcut - `below`, `tab` or `right`.
+
### `:AIRedo`
`:AIRedo` - repeat last AI command