Closed BaseJumper1985 closed 5 years ago
My guess of what's happening here is that when you press something like i, j, Caps
in quick succession, you actually have bit of key overlap, triggering the flag in dual key remap that turns your caps key into control instead of escape. So what dual-key-remap sees looks like this: <j down> <caps down> <j up> <caps up>
.
In this case dual-key-remap will still convert caps into the alternative key (ctrl in default config) as it detected key activity while the key was pressed down.
A potential solution for this would be to only trigger the "Other keys have been held down" flag on key down events as opposed to all events.
This has been implemented in the latest release (v0.4). In my testing the Esc
key is no longer being swallowed with quick typing causes overlapping key inputs.
I notice when using this that there is a small delay after pressing other keys before
Esc
is sent. I use Vim as my primary text/code editor, and I often find myself quickly pressingi
for insert, a single key, thenCaps Lock
in quick succession. The problem is that the press ofCaps Lock
is missed every time.Edit: If I slow down a little bit, this does not happen. Only when I am working quickly.
Thank you.