yqrashawn / GokuRakuJoudo

config karabiner with ease
GNU General Public License v3.0
1.17k stars 120 forks source link

Add example for two-stroke keybinding #190

Closed prurph closed 1 year ago

prurph commented 2 years ago

Hi! I really love Goku and after reading about to_delayed_action on the Karabiner docs I was excited to try it out.

After a bunch of frustration trying to get it to work, I discovered that the actions that depend on the conditional being set need to be declared first. This makes sense (I guess Karabiner evaluates the manipulations in order), but it was totally non-obvious at first and the Karabiner docs don't have a good example of this specific case, or one that also sends the first key so it is still usable (ie has an :alone). I thought I would add one here because I think it could be really useful. If you don't think so, feel free to close!

yqrashawn commented 1 year ago

@prurph Thanks for your contribution!