1866 lines
80 KiB
JSON
1866 lines
80 KiB
JSON
{
|
|
"global": {
|
|
"check_for_updates_on_startup": true,
|
|
"show_in_menu_bar": true,
|
|
"show_profile_name_in_menu_bar": true
|
|
},
|
|
"profiles": [
|
|
{
|
|
"complex_modifications": {
|
|
"parameters": {
|
|
"basic.simultaneous_threshold_milliseconds": 50,
|
|
"basic.to_delayed_action_delay_milliseconds": 500,
|
|
"basic.to_if_alone_timeout_milliseconds": 1000,
|
|
"basic.to_if_held_down_threshold_milliseconds": 500,
|
|
"mouse_motion_to_scroll.speed": 100
|
|
},
|
|
"rules": [
|
|
{
|
|
"description": "Change caps_lock to control if pressed with other keys, to escape if pressed alone.",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "caps_lock",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "left_control"
|
|
}
|
|
],
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "escape"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Tab Modifier Mode [Tab as Trigger Key]",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "tab",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"set_variable": {
|
|
"name": "tab_modifier",
|
|
"value": 1
|
|
}
|
|
}
|
|
],
|
|
"to_after_key_up": [
|
|
{
|
|
"set_variable": {
|
|
"name": "tab_modifier",
|
|
"value": 0
|
|
}
|
|
}
|
|
],
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "tab"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "1",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "1",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "2",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "2",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "3",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "3",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "4",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "4",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "5",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "5",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "6",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "6",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "7",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "7",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "8",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "8",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "9",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "9",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "0",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "0",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "hyphen",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "hyphen",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "equal_sign",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "equal_sign",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "delete_or_backspace",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "delete_or_backspace",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "q",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "q",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "w",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "w",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "e",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "e",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"bundle_identifiers": [
|
|
"^com\\.jetbrains\\.PhpStorm$",
|
|
"^com\\.jetbrains\\.WebStorm$"
|
|
],
|
|
"type": "frontmost_application_if"
|
|
},
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "r",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "r",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_option"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "r",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "r",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "t",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "t",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "y",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "y",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "u",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "u",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "i",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "i",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "o",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "o",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "p",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "p",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "open_bracket",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "open_bracket",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "close_bracket",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "close_bracket",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "backslash",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "backslash",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "a",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "a",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "s",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "s",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "d",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "d",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "f",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "g",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "g",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "h",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "h",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "j",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "j",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "k",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "k",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "l",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "l",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "semicolon",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "semicolon",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "quote",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "quote",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "return_or_enter",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "return_or_enter",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "z",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "z",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "x",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "x",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "c",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "c",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "v",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "v",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "b",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "b",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "n",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "n",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "m",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "m",
|
|
"modifiers": [
|
|
"left_command",
|
|
"left_control",
|
|
"left_option",
|
|
"left_shift"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "comma",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "osascript -e 'display notification \"Tab-,\" with title \"Triggered:\"'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "period",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "osascript -e 'display notification \"Tab-.\" with title \"Triggered:\"'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"name": "tab_modifier",
|
|
"type": "variable_if",
|
|
"value": 1
|
|
}
|
|
],
|
|
"from": {
|
|
"key_code": "slash",
|
|
"modifiers": {
|
|
"optional": [
|
|
"caps_lock"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "osascript -e 'display notification \"Tab-/\" with title \"Triggered:\"'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"devices": [
|
|
{
|
|
"disable_built_in_keyboard_if_exists": false,
|
|
"fn_function_keys": [],
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"is_pointing_device": false,
|
|
"product_id": 521,
|
|
"vendor_id": 1241
|
|
},
|
|
"ignore": false,
|
|
"manipulate_caps_lock_led": false,
|
|
"simple_modifications": []
|
|
},
|
|
{
|
|
"disable_built_in_keyboard_if_exists": false,
|
|
"fn_function_keys": [],
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"is_pointing_device": false,
|
|
"product_id": 632,
|
|
"vendor_id": 1452
|
|
},
|
|
"ignore": false,
|
|
"manipulate_caps_lock_led": true,
|
|
"simple_modifications": []
|
|
},
|
|
{
|
|
"disable_built_in_keyboard_if_exists": false,
|
|
"fn_function_keys": [],
|
|
"identifiers": {
|
|
"is_keyboard": false,
|
|
"is_pointing_device": true,
|
|
"product_id": 49282,
|
|
"vendor_id": 1133
|
|
},
|
|
"ignore": true,
|
|
"manipulate_caps_lock_led": false,
|
|
"simple_modifications": []
|
|
},
|
|
{
|
|
"disable_built_in_keyboard_if_exists": false,
|
|
"fn_function_keys": [],
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"is_pointing_device": false,
|
|
"product_id": 49282,
|
|
"vendor_id": 1133
|
|
},
|
|
"ignore": false,
|
|
"manipulate_caps_lock_led": false,
|
|
"simple_modifications": []
|
|
}
|
|
],
|
|
"fn_function_keys": [
|
|
{
|
|
"from": {
|
|
"key_code": "f1"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "display_brightness_decrement"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f2"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "display_brightness_increment"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f3"
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "mission_control"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f4"
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "launchpad"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f5"
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "illumination_decrement"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f6"
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "illumination_increment"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f7"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "rewind"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f8"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "play_or_pause"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f9"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "fastforward"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f10"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "mute"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f11"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "volume_decrement"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f12"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "volume_increment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "work",
|
|
"parameters": {
|
|
"delay_milliseconds_before_open_device": 1000
|
|
},
|
|
"selected": false,
|
|
"simple_modifications": [],
|
|
"virtual_hid_keyboard": {
|
|
"caps_lock_delay_milliseconds": 1000,
|
|
"country_code": 0,
|
|
"indicate_sticky_modifier_keys_state": true,
|
|
"keyboard_type": "ansi",
|
|
"mouse_key_xy_scale": 100
|
|
}
|
|
},
|
|
{
|
|
"complex_modifications": {
|
|
"parameters": {
|
|
"basic.simultaneous_threshold_milliseconds": 50,
|
|
"basic.to_delayed_action_delay_milliseconds": 500,
|
|
"basic.to_if_alone_timeout_milliseconds": 1000,
|
|
"basic.to_if_held_down_threshold_milliseconds": 500,
|
|
"mouse_motion_to_scroll.speed": 100
|
|
},
|
|
"rules": [
|
|
{
|
|
"manipulators": [
|
|
{
|
|
"description": "Change caps_lock to command+control+option+shift.",
|
|
"from": {
|
|
"key_code": "caps_lock",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "left_shift",
|
|
"modifiers": [
|
|
"left_option"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"devices": [],
|
|
"fn_function_keys": [
|
|
{
|
|
"from": {
|
|
"key_code": "f1"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "display_brightness_decrement"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f2"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "display_brightness_increment"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f3"
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "mission_control"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f4"
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "launchpad"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f5"
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "illumination_decrement"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f6"
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "illumination_increment"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f7"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "rewind"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f8"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "play_or_pause"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f9"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "fastforward"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f10"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "mute"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f11"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "volume_decrement"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "f12"
|
|
},
|
|
"to": [
|
|
{
|
|
"consumer_key_code": "volume_increment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "wow",
|
|
"parameters": {
|
|
"delay_milliseconds_before_open_device": 1000
|
|
},
|
|
"selected": true,
|
|
"simple_modifications": [
|
|
{
|
|
"from": {
|
|
"key_code": "right_command"
|
|
},
|
|
"to": [
|
|
{
|
|
"pointing_button": "button2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"virtual_hid_keyboard": {
|
|
"caps_lock_delay_milliseconds": 0,
|
|
"country_code": 0,
|
|
"indicate_sticky_modifier_keys_state": true,
|
|
"keyboard_type": "ansi",
|
|
"mouse_key_xy_scale": 100
|
|
}
|
|
}
|
|
]
|
|
} |