Skip to content

Instantly share code, notes, and snippets.

@matthewmueller
Last active October 23, 2019 09:25
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/6b6cc31e7789c717ab9bb55284e0557b to your computer and use it in GitHub Desktop.
Save matthewmueller/6b6cc31e7789c717ab9bb55284e0557b 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 command+control+option+shift or F19 if tapped",
"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"
}
]
}
]
}
curl https://gist.githubusercontent.com/matthewmueller/6b6cc31e7789c717ab9bb55284e0557b/raw/a4c8a7fa0bedd8198526d068fc75190df4aeb271/custom-capslock.json > ~/.config/karabiner/assets/complex_modifications/custom-capslock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment