From 267df7588e60e4e4a4b7df72433a167b877cefb9 Mon Sep 17 00:00:00 2001 From: Konfekt Date: Thu, 16 Mar 2023 07:02:46 +0100 Subject: do not clobber printable characters `vnoremap` is for non-printable modifiers such as `Ctrl` --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b95dffd..d2776b6 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Map keys in your `.vimrc` to trigger `:AI` command. ```vim nnoremap a :AI -vnoremap a :AI +xnoremap a :AI ``` ### Custom commands @@ -93,11 +93,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 :AIEdit fix grammar and spelling and use formal language +xnoremap s :AIEdit fix grammar and spelling and use formal language nnoremap s :AIEdit fix grammar and spelling and use formal language " key binding to trigger chat -vnoremap c :AIChat +xnoremap c :AIChat nnoremap c :AIChat " command with custom context (vim-ai functions: AIRun, AIEditRun, AIChatRun) -- cgit v1.2.3