pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.73k stars 836 forks source link

Question: Is it possible to add tab key on hold as a HyperKey? #2748

Closed jaideeprana closed 3 years ago

jaideeprana commented 3 years ago

The functionality that I am looking for the ability where if I single press tab key it acts like a tab key but on hold it acts like a hyper key.

MuhammedZakir commented 3 years ago

E.g. https://karabiner-elements.pqrs.org/docs/json/typical-complex-modifications-examples/#post-escape-if-left_control-is-pressed-alone

For your case, remove lazy: true and add modifiers in to (see second rule in first example).

jaideeprana commented 3 years ago

Thanks @MuhammedZakir, that resolved the issue for me :)