Created
January 1, 2018 20:41
-
-
Save chesster/b95897618dab59bbba6d6dfe94630b57 to your computer and use it in GitHub Desktop.
Karabinier Config
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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 500, | |
"basic.to_if_alone_timeout_milliseconds": 800, | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
}, | |
"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 Application - Custom", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "c", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'iTerm'" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "t", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'Telegram'" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'Dash'" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'Visual Studio Code'" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'Safari'" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'Sublime Text'" | |
} | |
], | |
"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": "w", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "w", | |
"modifiers": [ | |
"left_option", | |
"left_control", | |
"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": "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": [ | |
"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": [ | |
"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": [ | |
"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": "home", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"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": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "end", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"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": [ | |
"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": "Home key to the beginning of the line (Control + a)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "home", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "End key to the end of the line (Control + e)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "end", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "e", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "PC-Style Reload(F5, Ctrl+R)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "r", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "r", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "f5", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "r", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "PC-Style Screenshot(PrtSc for whole, Shift+PrtSc to select)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\." | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "print_screen", | |
"modifiers": { | |
"mandatory": [ | |
"shift" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "4", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\." | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "print_screen", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "3", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "PC-Style Quit Application(Alt+F4 to Command+Q)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\." | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "f4", | |
"modifiers": { | |
"mandatory": [ | |
"option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "q", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"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 Misc (Check https://github.com/Vonng/Capslock for all details)", | |
"manipulators": [ | |
{ | |
"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": "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": "return_or_enter", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "equal_sign" | |
} | |
], | |
"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": "Hyper Shifter", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "1", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f1" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "2", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f2" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "3", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f3" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "4", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f4" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "5", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f5" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "6", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f6" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "7", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f7" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f8" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "9", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f9" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "0", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f10" | |
} | |
], | |
"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": "backslash", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "backslash", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "semicolon", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "quote", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "quote", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"devices": [], | |
"fn_function_keys": [ | |
{ | |
"from": { | |
"key_code": "f1" | |
}, | |
"to": { | |
"consumer_key_code": "display_brightness_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f2" | |
}, | |
"to": { | |
"consumer_key_code": "display_brightness_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f3" | |
}, | |
"to": { | |
"key_code": "mission_control" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f4" | |
}, | |
"to": { | |
"key_code": "launchpad" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f5" | |
}, | |
"to": { | |
"key_code": "illumination_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f6" | |
}, | |
"to": { | |
"key_code": "illumination_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f7" | |
}, | |
"to": { | |
"consumer_key_code": "rewind" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f8" | |
}, | |
"to": { | |
"consumer_key_code": "play_or_pause" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f9" | |
}, | |
"to": { | |
"consumer_key_code": "fastforward" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f10" | |
}, | |
"to": { | |
"consumer_key_code": "mute" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f11" | |
}, | |
"to": { | |
"consumer_key_code": "volume_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f12" | |
}, | |
"to": { | |
"consumer_key_code": "volume_increment" | |
} | |
} | |
], | |
"name": "Default profile", | |
"selected": true, | |
"simple_modifications": [ | |
{ | |
"from": { | |
"key_code": "non_us_backslash" | |
}, | |
"to": { | |
"key_code": "grave_accent_and_tilde" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "right_command" | |
}, | |
"to": { | |
"key_code": "right_option" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "right_option" | |
}, | |
"to": { | |
"key_code": "right_command" | |
} | |
} | |
], | |
"virtual_hid_keyboard": { | |
"caps_lock_delay_milliseconds": 0, | |
"keyboard_type": "ansi" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment