Skip to content

Instantly share code, notes, and snippets.

@kurtharriger
Created April 19, 2024 23:07
Show Gist options
  • Save kurtharriger/947255b61284e3d7f79b10a567c8e949 to your computer and use it in GitHub Desktop.
Save kurtharriger/947255b61284e3d7f79b10a567c8e949 to your computer and use it in GitHub Desktop.
{
"description": "Caps Lock to ESC on tap/Left Control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
}
{
"description": "ESC to ESC on tap/Left Control on hold",
"manipulators": [
{
"from": {
"key_code": "escape",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment