Last active
July 24, 2018 13:49
-
-
Save splhack/9e609fc9be49814ffa836a0cba4bd85d to your computer and use it in GitHub Desktop.
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": "Change grave accent (backtick) to escape if alone", | |
| "rules": [ | |
| { | |
| "description": "Post escape if grave accent is pressed alone; post grave_accent (backtick) if with modifiers.", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": { | |
| "mandatory": [ | |
| "option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": { | |
| "mandatory": [ | |
| "fn" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": { | |
| "mandatory": [ | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "escape" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment