Last active
December 6, 2022 00:45
-
-
Save hekt/156b09f7c6bde22f37103e7a16c3d949 to your computer and use it in GitHub Desktop.
^g => esc unless iTerm2
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": "esc = ctrl + g unless iTerm2", | |
"rules": [ | |
{ | |
"description": "Control + g => Escape unless iTerm2", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "g", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"^com\\.googlecode\\.iterm2$" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment