Skip to content

Instantly share code, notes, and snippets.

@fooqri
Created September 12, 2017 16:30
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 fooqri/0909aad8aa479234f48fa36ff8f9191d to your computer and use it in GitHub Desktop.
Save fooqri/0909aad8aa479234f48fa36ff8f9191d to your computer and use it in GitHub Desktop.
{
"title": "Change tab key",
"rules": [
{
"description": "Change tab key to command+control+option+shift. (Post tab key when pressed alone)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "tab",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": [
"left_command",
"left_control",
"left_option"
]
}
],
"to_if_alone": [
{
"key_code": "tab"
}
]
}
]
},
{
"description": "Change tab key to command+control+option+shift. (Use shift+caps_lock as tab)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "tab",
"modifiers": {
"mandatory": [
"shift"
],
"optional": [
"tab"
]
}
},
"to": [
{
"key_code": "tab"
}
]
},
{
"type": "basic",
"from": {
"key_code": "tab",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": [
"left_command",
"left_control",
"left_option"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment