Last active
July 28, 2022 06:30
-
-
Save undeflife/b74f08d3db840d0394f89be024559e0c to your computer and use it in GitHub Desktop.
Capslock Enhancement
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
{ | |
"title": "Capslock Enhancement", | |
"author": "Vonng([email protected])", | |
"homepage": "https://github.com/Vonng/Capslock", | |
"hostpage": "https://pqrs.org/osx/karabiner/complex_modifications/", | |
"manual": "https://github.com/Vonng/Capslock/tree/master/mac", | |
"import_url": "karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/undeflife/b74f08d3db840d0394f89be024559e0c/raw/ace0c84ea7c2ee6bec09520064c47f71ad1440e6/capslock.json", | |
"rules": [ | |
{ | |
"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", | |
"manipulators": [ | |
{ | |
"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": [ | |
{ | |
"mouse_key": { | |
"x": -1536 | |
} | |
} | |
], | |
"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": "h", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_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": [ | |
{ | |
"mouse_key": { | |
"y": 1536 | |
} | |
} | |
], | |
"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": "j", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_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": [ | |
{ | |
"mouse_key": { | |
"y": -1536 | |
} | |
} | |
], | |
"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": "k", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_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": [ | |
{ | |
"mouse_key": { | |
"x": 1536 | |
} | |
} | |
], | |
"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": "l", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "page_up", | |
"modifiers": ["left_shift"] | |
} | |
], | |
"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": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": ["left_control", "left_shift"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": ["left_control"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "e", | |
"modifiers": ["left_control", "left_shift"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "e", | |
"modifiers": ["left_control"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "page_down", | |
"modifiers": ["left_shift"] | |
} | |
], | |
"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 Mousekey", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "up_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"mouse_key": { | |
"y": -1536 | |
} | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "down_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"mouse_key": { | |
"y": 1536 | |
} | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "left_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"mouse_key": { | |
"x": -1536 | |
} | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"mouse_key": { | |
"x": 1536 | |
} | |
} | |
], | |
"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": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"pointing_button": "button1" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper Deletion", | |
"manipulators": [ | |
{ | |
"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": "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": "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": "m", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"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", | |
"manipulators": [ | |
{ | |
"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": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "tab", | |
"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": "q", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "q", | |
"modifiers": ["left_command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": ["left_option"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": ["left_option"] | |
} | |
], | |
"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": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "tab", | |
"modifiers": ["left_control", "left_shift"] | |
} | |
], | |
"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": "d", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'Dictionary'" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper Bash Control", | |
"manipulators": [ | |
{ | |
"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_command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": ["left_option"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "g", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "g", | |
"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_command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "d", | |
"modifiers": ["left_control"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper Application", | |
"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": "t", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "t", | |
"modifiers": ["left_command"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper Functional", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "f1", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_decrement" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f2", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_increment" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f3", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": ["left_control"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f4", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'Launchpad'" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f5", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "illumination_decrement" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f6", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "illumination_increment" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f7", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "rewind" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f8", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "play_or_pause" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f9", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "fastforward" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f10", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "mute" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f11", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_decrement" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f12", | |
"modifiers": { | |
"mandatory": [ | |
"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", | |
"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": "9", | |
"modifiers": ["left_shift"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "close_bracket", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "0", | |
"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/Vonng/Capslock for all details)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
], | |
"optional": ["caps_lock"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "caps_lock" | |
} | |
] | |
}, | |
{ | |
"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_shift", "left_command"] | |
} | |
], | |
"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_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" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment