Feature/unicode input #2

Merged
lohhiiccc merged 3 commits from feature/unicode-input into main 2025-08-19 14:55:32 +00:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 9a44a23fc9 - Show all commits

View file

@ -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 - Insert characters (supports Unicode) at or after the cursor position
- Support for counts to insert a character multiple times - 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 - Stay in normal mode for efficient editing
- Minimal workflow interruption - Minimal workflow interruption
- Works with Vim 9+ - Works with Vim 9+

View file

@ -54,7 +54,7 @@ g:last_singlechar_count = 1
nnoremap <Plug>(singlechar-repeat) :call g:RepeatSingleChar()<CR> nnoremap <Plug>(singlechar-repeat) :call g:RepeatSingleChar()<CR>
# Direct command implementations # Direct command implementations
command! -count=1 -nargs=? InsertCharAt call singlechar.InsertChar('at', <count>, <q-args>) command! -count=1 -nargs=? InsertCharAt singlechar.InsertChar('at', <count>, <q-args>)
command! -count=1 -nargs=? InsertCharAfter singlechar.InsertChar('after', <count>, <q-args>) command! -count=1 -nargs=? InsertCharAfter singlechar.InsertChar('after', <count>, <q-args>)
# Create default mappings unless disabled # Create default mappings unless disabled