Last active
October 5, 2019 19:06
-
-
Save HunterLarco/b25d6c9a44529794b22849c3b36d2da1 to your computer and use it in GitHub Desktop.
Modifier Keys for Macbook Pro Touchbar
This file contains 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": "Terminal Keys", | |
"rules": [ | |
{ | |
"description": "<capslock> to <esc>", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "escape", | |
"lazy": true | |
} | |
], | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Terminal$" | |
], | |
"type": "frontmost_application_if" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "<capslock-a> to <ctrl-a>", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "caps_lock" | |
}, | |
{ | |
"key_code": "a" | |
} | |
], | |
"simultaneous_options": { | |
"key_down_order": "strict" | |
}, | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
], | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Terminal$" | |
], | |
"type": "frontmost_application_if" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment