mirror of https://github.com/helix-editor/helix
add `insert_character_interactive` command
this command inserts a character of the user's choice underneath the current cursor, without exiting normal mode. multiple cursors are handled correctly. i chose `C-y` for the default mapping because it doesn't conflict with anything else. i would have preferred `C-i` (i for insert), but that conflicts with `jump_forward`; and additionally most terminals do not distinguish `C-i` from `tab`, so it's not a good choice for the default. this command does not have precedence in vim or kakoune to my knowledge, but at least vim allows replicating it with remap command (https://superuser.com/questions/581572/insert-single-character-in-vim), while helix currently does not, since there's no way to say "a character entered by the user".pull/11411/head
parent
cfe80acb6f
commit
08ec9d5ada
Loading…
Reference in New Issue