Skip to content

Instantly share code, notes, and snippets.

@vitalybe
Created June 25, 2017 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitalybe/e52609e4cad280fc3ee2f9e68ce503f8 to your computer and use it in GitHub Desktop.
Save vitalybe/e52609e4cad280fc3ee2f9e68ce503f8 to your computer and use it in GitHub Desktop.
Karabiner Elements - CapsLock to hyper/escape
{
"global": {
"check_for_updates_on_startup": false,
"show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"rules": [
{
"manipulators": [
{
"description": "Change caps lock to hyper/escape",
"type": "basic",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control",
"modifiers": [
"left_command",
"left_option",
"left_shift"
]
}
],
"to_if_alone": [
{
"key_code": "f18"
}
]
}
]
}
]
},
"name": "Profile",
"selected": true
}
]
}
@flekschas
Copy link

"key_code": "f18" should be "key_code": "escape" or the title should be CapsLock to hyper/f18 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment