Created
February 20, 2025 19:16
-
-
Save aitchwhy/a3c2351a72fc9033c9e1ead11f28d58f to your computer and use it in GitHub Desktop.
karabiner (Feb 2025)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "rules": [ | |
| { | |
| "description": "KBD: BluetoothConverter、IKBC_C87、XD60: Swap Win/CMD and Alt/Opt", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "identifiers": [ | |
| { | |
| "product_id": 544, | |
| "vendor_id": 1452 | |
| }, | |
| { | |
| "product_id": 31235, | |
| "vendor_id": 1547 | |
| }, | |
| { | |
| "product_id": 24672, | |
| "vendor_id": 52701 | |
| } | |
| ], | |
| "type": "device_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_command", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "left_option" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "identifiers": [ | |
| { | |
| "product_id": 544, | |
| "vendor_id": 1452 | |
| }, | |
| { | |
| "product_id": 31235, | |
| "vendor_id": 1547 | |
| }, | |
| { | |
| "product_id": 24672, | |
| "vendor_id": 52701 | |
| } | |
| ], | |
| "type": "device_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_option", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "left_command" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "identifiers": [ | |
| { | |
| "product_id": 544, | |
| "vendor_id": 1452 | |
| }, | |
| { | |
| "product_id": 31235, | |
| "vendor_id": 1547 | |
| }, | |
| { | |
| "product_id": 24672, | |
| "vendor_id": 52701 | |
| } | |
| ], | |
| "type": "device_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_command", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "right_option" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "identifiers": [ | |
| { | |
| "product_id": 544, | |
| "vendor_id": 1452 | |
| }, | |
| { | |
| "product_id": 31235, | |
| "vendor_id": 1547 | |
| }, | |
| { | |
| "product_id": 24672, | |
| "vendor_id": 52701 | |
| } | |
| ], | |
| "type": "device_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_option", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "right_command" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "CapsLock to Hyper/Escape", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_shift", | |
| "modifiers": ["right_command", "right_control", "right_option"] | |
| } | |
| ], | |
| "to_if_alone": [{ "key_code": "escape" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Navigation: 0 4($) HJKL UIOP", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "0", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "4", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "left_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": ["left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_control", "left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "down_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow", | |
| "modifiers": ["left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "up_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": ["left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_command", "left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "right_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "u", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "page_up" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "i", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "home" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "o", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "end" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "p", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "page_down" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper MouseMove: ←↓↑→", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "mouse_key": { "x": -345 } }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "down_arrow", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "mouse_key": { "y": 345 } }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "up_arrow", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "mouse_key": { "y": -345 } }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "mouse_key": { "x": 345 } }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "return_or_enter", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "pointing_button": "button1" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "return_or_enter", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "pointing_button": "button2" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "return_or_enter", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "pointing_button": "button3" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Deletion: N M , .", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": ["left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "delete_or_backspace" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "comma", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "delete_forward" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "period", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_forward", | |
| "modifiers": ["left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Window Control: ⇥ QWAS D", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "tab", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "tab", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_command", "left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "q", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "q", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "q", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "escape", | |
| "modifiers": ["left_command", "left_option", "left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "w", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "w", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "a", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "s", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "s", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_control", "left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "d", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "f11" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Bash Control: D ZXCVB", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "d", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "d", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "z", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "z", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "x", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "r", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "c", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "v", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "v", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "b", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "b", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Application (held down hyper+g to Fn)", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "e", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'finder'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "e", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Safari'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "r", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'iTerm'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "r", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -b com.jetbrains.pycharm" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "t", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Visual Studio Code'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "t", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Typora'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "y", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Siri'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "d", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Dictionary'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -b com.runningwithcrayons.Alfred-3" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Dash'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "g", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "parameters": { | |
| "basic.to_if_alone_timeout_milliseconds": 250, | |
| "basic.to_if_held_down_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "g", | |
| "modifiers": ["right_command", "right_control", "right_option", "right_shift"] | |
| } | |
| ], | |
| "to_if_held_down": [ | |
| { | |
| "key_code": "fn", | |
| "modifiers": "any" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "g", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_option", "right_shift"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Google Chrome'" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Functional", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "1", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "display_brightness_decrement" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "2", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "display_brightness_increment" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "3", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "4", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Launchpad'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "5", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "illumination_decrement" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "6", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "illumination_increment" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "7", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "rewind" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "8", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "play_or_pause" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "9", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "fastforward" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "0", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "mute" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "hyphen", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "volume_decrement" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "equal_sign", | |
| "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "volume_increment" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f13", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "rewind" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f14", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "fastforward" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f15", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "mute" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "insert", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "display_brightness_increment", | |
| "modifiers": ["left_shift", "left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "delete_forward", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "display_brightness_decrement", | |
| "modifiers": ["left_shift", "left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "home", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "illumination_increment", | |
| "modifiers": ["left_shift", "left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "end", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "illumination_decrement", | |
| "modifiers": ["left_shift", "left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "page_down", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "volume_decrement", | |
| "modifiers": ["left_shift", "left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "page_up", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "volume_increment", | |
| "modifiers": ["left_shift", "left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Shifter", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "1", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "1", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "2", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "2", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "3", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "3", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "4", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "4", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "5", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "5", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "6", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "6", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "7", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "7", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "8", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "8", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "9", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "9", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "0", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "0", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "hyphen", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "hyphen", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "equal_sign", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "equal_sign", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "open_bracket", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "open_bracket", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "close_bracket", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "close_bracket", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "semicolon", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "semicolon", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "quote", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "equal_sign" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "semicolon", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "1", | |
| "modifiers": ["left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "quote", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [{ "key_code": "equal_sign" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Misc (Check https://github.com/suliveevil/Capslock for all details)", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": ["right_command", "right_control", "right_shift", "right_option"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [{ "key_code": "caps_lock" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "4", | |
| "modifiers": ["left_shift", "left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "4", | |
| "modifiers": ["left_control", "left_shift", "left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "backslash", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "slash", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "slash", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "slash", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "spacebar", | |
| "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "spacebar", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "CapsLock -> esc (tap) + left_control (hold)", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_control", | |
| "lazy": true | |
| } | |
| ], | |
| "to_if_alone": [{ "key_code": "escape" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX: left cmd + double-tap q → close application", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "command-q", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "q", | |
| "modifiers": { "mandatory": ["command"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "q", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "q", | |
| "modifiers": { "mandatory": ["command"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "command-q", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_delayed_action": { | |
| "to_if_canceled": [ | |
| { | |
| "set_variable": { | |
| "name": "command-q", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "to_if_invoked": [ | |
| { | |
| "set_variable": { | |
| "name": "command-q", | |
| "value": 0 | |
| } | |
| } | |
| ] | |
| }, | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX: disable cmd + h to prevent minimising an application window", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "mandatory": ["command"] } | |
| }, | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX: disable cmd + option + h + m to prevent minimising all windows", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { | |
| "mandatory": ["command", "option"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { | |
| "mandatory": ["command", "option"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Change right_shift x2 to mission_control", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "right_shift pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_shift", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { "apple_vendor_keyboard_key_code": "mission_control" }, | |
| { "key_code": "vk_none" } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "right_shift", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "right_shift pressed", | |
| "value": 1 | |
| } | |
| }, | |
| { "key_code": "right_shift" } | |
| ], | |
| "to_delayed_action": { | |
| "to_if_canceled": [ | |
| { | |
| "set_variable": { | |
| "name": "right_shift pressed", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "to_if_invoked": [ | |
| { | |
| "set_variable": { | |
| "name": "right_shift pressed", | |
| "value": 0 | |
| } | |
| } | |
| ] | |
| }, | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "o Launcher", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "launcher_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { "mandatory": [] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'notion.app'" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Use (TODO: fn?) right_command+h/l to switch tabs in an application.", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "mandatory": ["right_command"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "mandatory": ["right_command"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_control", "left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Use (TODO: fn?) right_command+j/k to switch windows of the foreground application .", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "mandatory": ["right_command"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": ["left_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "mandatory": ["right_command"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": ["left_command", "left_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Change cmd+backslach to cmd+f11 if pressed in VSCode or Cursor", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "com\\.microsoft\\.VSCode", | |
| "com\\.microsoft\\.VSCodeInsiders" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "backslash", | |
| "modifiers": { | |
| "mandatory": ["left_gui"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "f11", | |
| "modifiers": ["left_gui"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "file_paths": ["/Cursor.app$", "/Cursor$"], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "backslash", | |
| "modifiers": { | |
| "mandatory": ["left_gui"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "f11", | |
| "modifiers": ["left_gui"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Double tap left-shift to return ~/", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "left_shift pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_shift", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": ["shift"] | |
| }, | |
| { "key_code": "slash" } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "left_shift", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "left_shift pressed", | |
| "value": 1 | |
| } | |
| }, | |
| { "key_code": "left_shift" } | |
| ], | |
| "to_delayed_action": { | |
| "to_if_canceled": [ | |
| { | |
| "set_variable": { | |
| "name": "left_shift pressed", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "to_if_invoked": [ | |
| { | |
| "set_variable": { | |
| "name": "left_shift pressed", | |
| "value": 0 | |
| } | |
| } | |
| ] | |
| }, | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "devices": [ | |
| { | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "is_pointing_device": true, | |
| "product_id": 1760, | |
| "vendor_id": 13364 | |
| }, | |
| "manipulate_caps_lock_led": false | |
| }, | |
| { | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "is_pointing_device": true, | |
| "product_id": 45081, | |
| "vendor_id": 1133 | |
| }, | |
| "manipulate_caps_lock_led": false | |
| }, | |
| { | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "product_id": 1760, | |
| "vendor_id": 13364 | |
| }, | |
| "manipulate_caps_lock_led": false | |
| } | |
| ], | |
| "name": "Default profile", | |
| "selected": true, | |
| "simple_modifications": [ | |
| { | |
| "from": { "key_code": "f20" }, | |
| "to": [{ "apple_vendor_top_case_key_code": "keyboard_fn" }] | |
| } | |
| ], | |
| "virtual_hid_keyboard": { "keyboard_type_v2": "ansi" } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment