From dff91598cadf349b9be8a5f2c24f75dae4d0acdc Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Sun, 5 Mar 2023 12:56:07 +0100 Subject: updated vim docu --- doc/vim-ai.txt | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'doc/vim-ai.txt') diff --git a/doc/vim-ai.txt b/doc/vim-ai.txt index f4e3545..3bea986 100644 --- a/doc/vim-ai.txt +++ b/doc/vim-ai.txt @@ -14,9 +14,24 @@ To set-up key bindings and expamples see: https://github.com/madox2/vim-ai *:AI* -:AI {prompt} Completes selected text (visual mode) or text on the - current line (normal mode). Passing optional {prompt} - parameter prepends it to the final prompt. + +: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* -- cgit v1.2.3