pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful tool for customizing keyboards on macOS
https://karabiner-elements.pqrs.org/
The Unlicense
18.98k stars 840 forks source link

When using simultaneous, keys appear to have different delays #3194

Open prescientmoon opened 2 years ago

prescientmoon commented 2 years ago

Hi! I use this app for homerow chord modifiers. I also use neovim as my daily editor, together with the vim-arpeggio plugin for vim specific chord keybinds.

Here's the issue I am facing:

When I press kj really quickly, the j will have a tiny delay (which is understandable, there's no other way to detect simultaneous key presses), meaning vim-arpeggio won't register the keys as pressed in quick succession.

It works fine if I press the keys in reverse order.

Expected behaviour: After using simultaneous anywhere, all keys should have an artificial delay, even if it serves no other purpose than consistency (this could be a config option). On my linux setup, I have a custom python script which does exactly this, and it works very well!

I know I could maybe replace vim-arpeggio with this app, but I want my neovim config to remain os-agnostic.

prescientmoon commented 2 years ago

Maybe I could add a chord containing every single key, which I will never trigger, but which will add the delay to everything?