Last active
June 4, 2018 15:37
-
-
Save sohocoke/61e0ff7328b06357e02375ae89ea6bc2 to your computer and use it in GitHub Desktop.
Karabiner-elements rule to remap press-hold ESC to cmd-W
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": "Hold Keys", | |
"rules": [ | |
{ | |
"description": "Hold Esc to cmd+W", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape" | |
}, | |
"to": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "w", | |
"modifiers": ["right_command"] | |
} | |
], | |
"conditions": [ | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment