HyperSpace 👽 (🔹 on spacebar). Usage, issues and ideas. #3931
Replies: 1 comment 5 replies
-
What you're trying to define is a virtual modifier See https://karabiner-elements.pqrs.org/docs/json/extra/virtual-modifier/ {
"type": "basic",
"from": { "key_code": "spacebar" },
"to": [ { "set_variable": { "name": "hyperspace", "value": 1 } } ],
"to_after_key_up": [ { "set_variable": { "name": "hyperspace", "value": 0 } } ],
"to_if_alone": { "key_code": "spacebar" },
},
{
"type": "basic",
"from": { "key_code": "a" },
"to": { "key_code": "x", "modifiers": ["left_command", "left_control", "left_option"]},
"conditions": [ { "variable_if": { "name": "hyperspace", "value": 1 } } ],
}, (the I see a lot of bundle identifiers if your config. In most cases you can just use
|
Beta Was this translation helpful? Give feedback.
-
I have a rule converting my spacebar to a Hyperkey, so a… 🛸 HyperSpace 🛸. I use it to multitask, triggering OS-level shortcuts like mission control or background apps like Raycast. It's not for front apps.
HyperSpace is pretty useful because both its size and central positiion, making it easy to do all combinations one-handed. Another benefit is getting capslock back for other multi-modifiers combinations.
While it works well, it has issues:
"basic.to_if_held_down_threshold_milliseconds":75
mitigates the issue, but I still have hiccups sometimes, because this parameter doesn't really measure the overlap interval.basic.to_if_alone_timeout_milliseconds
to 200ms to fire shortcuts in quick succession so long-press is disbaled. So I blacklisted games (don't need multitasking then), and I modifiedshift + spacebar
to send a conventional, repeatable signal.Now I'd like to better differentiate shortcut keystroke from text typing.
Technically, the
from.simultaneous
options seems perfect for that, but thesimultaneous
definition doesn't seem geared towardsmodifier + key
combinations?I'm not sure about that, any confirmation would be greatly appreciated.
Also, it would be nice if we could choose between AND and OR when using
bundle_identifiers
alongfile_paths
, just saying…Any thought? Here is my current rule, in any case.
Beta Was this translation helpful? Give feedback.
All reactions