From d1030eb6368c9d9d205889304d1875213925a711 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Sat, 4 Mar 2023 19:08:19 +0100 Subject: updated command customization docu --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 86696df..35ce3c0 100644 --- a/README.md +++ b/README.md @@ -66,11 +66,11 @@ To customize and re-use prompts it is useful to put some context to the language ```vim " key binding with custom context -vnoremap s :AI fix grammar and spelling and use formal language -nnoremap s :AI fix grammar and spelling and use formal language +vnoremap s :AIEdit fix grammar and spelling and use formal language +nnoremap s :AIEdit fix grammar and spelling and use formal language -" command with custom context -command! -range -nargs=? AICode ,call AIRun("Programming syntax is " . &filetype, ) +" command with custom context (vim-ai functions: AIRun, AIEditRun, AIChatRun) +command! -range -nargs=? AICode ,call AIRun("Programming syntax is " . &filetype . ", " . ) ``` -- cgit v1.2.3