You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hi,
in insert mode, mapping C-something to Esc doesn't work properly.
when typing, you need to wait for 1/2 seconds before pressing the keys, else it produces an output like that:
Remapper: debug: trying to find matching remap. keys=a,<C-j>,<C-j>,<C-j>,<C-j>,<C-j>,<C-j>,<C-j>,<C-j>,<C-j>. mode=Insert. keybindings=insertModeKeyBindingsMap.
and cannot match the appropriate behavior. Tested with <C-j> and <C-e> <C-c> and <C-[> work fine though. It also works perfectly in visual mode
There is an issue in insert modes with key mappings not working properly.
When typing, keymaps are just not recognized.
This PR tries to fix this by resetting the keys buffer on insert mode if the mapping didn't seem to be a potential remap.
Fixes#3221, fixes#3530, fixes#4062
Describe the bug
Hi,
in insert mode, mapping C-something to Esc doesn't work properly.
when typing, you need to wait for 1/2 seconds before pressing the keys, else it produces an output like that:
and cannot match the appropriate behavior. Tested with
<C-j>
and<C-e>
<C-c>
and<C-[>
work fine though. It also works perfectly in visual modeTo Reproduce
in settings.json:
Expected behavior
mapping c-something to escape in insert mode should properly be detected
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: