- Introduce InsertCharBegin and InsertCharEnd commands
to insert a character at the beginning or end of the line (<Leader>I and <Leader>A).
- Add configuration variables for customizable mappings:
- g:singlechar_map_insert_begin
- g:singlechar_map_insert_end
- Implement GetInsertCommand() and DoSingleChar() in autoload/singlechar.vim
to support new modes and static cursor feature.
- Add g:singlechar_static_cursor option:
when enabled, cursor returns to its original position after insertion.
|
||
|---|---|---|
| .. | ||
| singlechar.vim | ||