Skip to content

Commit

Permalink
karabiner CapsLock to Esc if alone
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfallshaw committed May 19, 2019
1 parent 6f8ef94 commit 09e4238
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions config/karabiner/karabiner.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,32 @@
"type": "basic"
}
]
},
{
"description": "Change caps_lock key to right_control. (Post escape key when pressed alone)",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_control"
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
}
]
},
Expand Down Expand Up @@ -432,20 +458,12 @@
],
"name": "Default profile",
"selected": true,
"simple_modifications": [
{
"from": {
"key_code": "caps_lock"
},
"to": {
"key_code": "right_control"
}
}
],
"simple_modifications": [],
"virtual_hid_keyboard": {
"caps_lock_delay_milliseconds": 0,
"country_code": 0,
"keyboard_type": "ansi"
"keyboard_type": "ansi",
"mouse_key_xy_scale": 100
}
}
]
Expand Down

0 comments on commit 09e4238

Please sign in to comment.