From 502bf47ce4a03c2b4419b363a2f001308546ff3e Mon Sep 17 00:00:00 2001 From: lohhiiccc <96543753+lohhiiccc@users.noreply.github.com> Date: Thu, 21 Aug 2025 16:57:52 +0200 Subject: [PATCH] docs: update singlechar.vim comments - Updated comments to specify toggling off the static cursor. - Revised usage instructions for character insertion mappings to include line positioning options. --- plugin/singlechar.vim | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/plugin/singlechar.vim b/plugin/singlechar.vim index b0d62dc..a4d5c82 100644 --- a/plugin/singlechar.vim +++ b/plugin/singlechar.vim @@ -45,7 +45,7 @@ if !exists('g:singlechar_prompt') g:singlechar_prompt = 'Press the character to insert - Press Esc to cancel...' endif -#Toggle static cursor +#Toggle off static cursor if !exists('g:singlechar_static_cursor') g:singlechar_static_cursor = 0 endif @@ -85,10 +85,9 @@ if !exists('g:singlechar_no_mappings') endif # Usage: -# i - Insert character at cursor position -# a - Insert character after cursor position +# [count]i - Insert character at cursor position +# [count]I - Insert character at begin of the line +# [count]a - Insert character after cursor position +# [count]A - Insert character at end of the line # -# You can use a count before the mapping to insert multiple copies -# of the same character. For example: 3i will insert the -# character 3 times at the cursor position. # ------------------------------------------------------------------------------ #