Skip to content

Instantly share code, notes, and snippets.

@lodestone
Forked from ttscoff/karabiner.json
Created June 14, 2017 16:52
Show Gist options
  • Save lodestone/0eb6c6486072c65e1cd938aee58541dd to your computer and use it in GitHub Desktop.
Save lodestone/0eb6c6486072c65e1cd938aee58541dd to your computer and use it in GitHub Desktop.
Karabiner Elements hyper key with escape
// This requires 0.91.3 or higher, check for beta updates
// copy below into ~/.config/karabiner/karabiner.json right below "simple_modifications"
"complex_modifications": {
"rules": [
{
"manipulators": [
{
"description": "Change caps_lock to command+control+option+shift. Escape if no other key used.",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": [
"left_command",
"left_control",
"left_option"
]
}
],
"to_if_alone": [
{
"key_code": "escape",
"modifiers": {
"optional": [
"any"
]
}
}
],
"type": "basic"
}
]
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment