diff --git a/README.md b/README.md index e1ac198..46b3a0e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ A simple Vim plugin that lets you insert single characters (including Unicode) w - Insert characters (supports Unicode) at or after the cursor position - Support for counts to insert a character multiple times -- Input validation: warns if more than one character is entered - Stay in normal mode for efficient editing - Minimal workflow interruption - Works with Vim 9+ diff --git a/plugin/singlechar.vim b/plugin/singlechar.vim index abd3890..e4ddf80 100644 --- a/plugin/singlechar.vim +++ b/plugin/singlechar.vim @@ -54,7 +54,7 @@ g:last_singlechar_count = 1 nnoremap (singlechar-repeat) :call g:RepeatSingleChar() # Direct command implementations -command! -count=1 -nargs=? InsertCharAt call singlechar.InsertChar('at', , ) +command! -count=1 -nargs=? InsertCharAt singlechar.InsertChar('at', , ) command! -count=1 -nargs=? InsertCharAfter singlechar.InsertChar('after', , ) # Create default mappings unless disabled