Karabiner-Elements: SpaceFN: Unwanted triggering at beginning of word.
My configuration is derived from SpaceFN, and I’m struggling with unwanted triggering. I type normal text, and it seems that I type the combination <space> <letter> with overlap sometimes, so that the corresponding SpaceFN binding triggers.
I thought about it and I think it would help if there was a timeout of some sort. Consider these sequences of events:
- space down; letter down; letter up; space up
- space down; letter down; space up; letter up
I’ve two ideas for timeouts that might help. One would be to require a minimum number of milliseonds between space down and letter down – if the time is shorter, then SpaceFN should not trigger. The other idea might be to require a minimum number of milliseconds between space down and space up.
I see that Karabiner has a number of parameters with such timeouts, but none seems to fit the bill. I have already decreased basic.to_if_alone_milliseconds to 100 (from 1000), but since the problem happens when I type fast, space is not held down for a long time.
Any ideas? Maybe there is another parameter that is applicable, I just don’t know.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15
Updated: I have uploaded my config to https://ke-complex-modifications.pqrs.org/json/spacefn_plus.json
For those who are bothered by SpaceFN triggering during fast typing, you can refer to my setting to cancel SpaceFN short time after the last typing https://gist.github.com/tshu-w/82af1843798edaab9062e44cb261d25a
@tshu-w thank you so much, after some time looking around other alternatives I think this is the way. Hard work but does what is intended.
Also, my Ergoemacs mod contains a bunch of DEBUG variables, so you can inspect exactly what is happening in KE internally through its EventViewer:
The documentation can tell you only so much. I wouldn’t have been able to fine-tune my mod without this. 🙂
Nope, I tried it, but it doesn’t work. The only way to make it work reliably is the way I’ve done it with my Ergoemacs mode mod.