Skip to content

Instantly share code, notes, and snippets.

@matthewmueller
Created October 23, 2019 09:12
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 matthewmueller/970fe94f878c4969004f717e0b2c7b2e to your computer and use it in GitHub Desktop.
Save matthewmueller/970fe94f878c4969004f717e0b2c7b2e to your computer and use it in GitHub Desktop.
Change caps_lock to command+control+option+shift or F19 if tapped
{
"title": "Change caps_lock to Esc and Control",
"rules": [
{
"description": "Change caps_lock to command+control+option+shift or F19 if tapped",
"manipulators": [
{
"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": "f19"
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment