Skip to content

Instantly share code, notes, and snippets.

@loerise
Last active February 1, 2024 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loerise/b449d1105f104afe47a6d6c3be103514 to your computer and use it in GitHub Desktop.
Save loerise/b449d1105f104afe47a6d6c3be103514 to your computer and use it in GitHub Desktop.
Karabiner Hyper
{
"title": "Hyper",
"maintainers": ["Loerise"],
"import_url": "karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/loerise/b449d1105f104afe47a6d6c3be103514/raw/hyper.json",
"rules": [
{
"description": "Hyper",
"manipulators": [
{
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "right_shift",
"modifiers": ["right_command", "right_control", "right_option"]
}
],
"to_if_alone": [
{
"key_code": "f12",
"modifiers": [
"left_gui",
"left_alt",
"left_control",
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "Hyper Media",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
],
"type": "basic"
},
{
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "volume_increment"
}
],
"type": "basic"
},
{
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"key_code": "volume_decrement"
}
],
"type": "basic"
},
{
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"consumer_key_code": "scan_previous_track"
}
],
"type": "basic"
},
{
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"right_shift",
"right_option"
]
}
},
"to": [
{
"consumer_key_code": "scan_next_track"
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment