Files
dotfiles/karabiner/karabiner.json
2024-12-25 10:00:28 +01:00

1481 lines
74 KiB
JSON

{
"global": {
"ask_for_confirmation_before_quitting": false,
"show_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"rules": [
{
"available_since": "12.3.0",
"description": "Change button3 + mouse motion to scroll wheel (rev 1)",
"manipulators": [
{
"from": {
"modifiers": { "optional": ["any"] },
"pointing_button": "button3"
},
"to": [
{
"set_variable": {
"name": "enable_mouse_motion_to_scroll",
"value": 1
}
}
],
"to_after_key_up": [
{
"set_variable": {
"name": "enable_mouse_motion_to_scroll",
"value": 0
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "enable_mouse_motion_to_scroll",
"type": "variable_if",
"value": 1
}
],
"from": { "modifiers": { "optional": ["any"] } },
"type": "mouse_motion_to_scroll"
}
]
},
{
"available_since": "12.3.0",
"description": "Change control + mouse motion to scroll wheel (rev 1)",
"manipulators": [
{
"from": { "modifiers": { "mandatory": ["control"] } },
"type": "mouse_motion_to_scroll"
}
]
},
{
"description": "The wheel click is fired by pressing the left and right buttons simultaneously.",
"manipulators": [
{
"from": {
"modifiers": {
"mandatory": [],
"optional": []
},
"simultaneous": [
{ "pointing_button": "button1" },
{ "pointing_button": "button2" }
],
"simultaneous_options": { "key_up_when": "all" }
},
"to": [
{
"modifiers": [],
"pointing_button": "button3"
}
],
"type": "basic"
}
]
},
{
"description": "Hyper Window Control: ⇥ QWAS D",
"manipulators": [
{
"from": {
"key_code": "tab",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "tab",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_command", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "q",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "q",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "q",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "escape",
"modifiers": ["left_command", "left_option", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "w",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "w",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "a",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "s",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "s",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_control", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "d",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "f11" }],
"type": "basic"
}
]
},
{
"description": "Hyper Shifter",
"manipulators": [
{
"from": {
"key_code": "1",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "1",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "2",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "2",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "3",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "3",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "4",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "4",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "5",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "5",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "6",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "6",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "7",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "7",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "8",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "8",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "9",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "9",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "0",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "0",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "hyphen",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "hyphen",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "equal_sign",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "equal_sign",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "open_bracket",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "open_bracket",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "close_bracket",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "close_bracket",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "semicolon",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "semicolon",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "quote",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "equal_sign" }],
"type": "basic"
},
{
"from": {
"key_code": "semicolon",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "1",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "quote",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "equal_sign" }],
"type": "basic"
}
]
},
{
"description": "Hyper Bash Control: D ZXCVB",
"manipulators": [
{
"from": {
"key_code": "d",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "d",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "z",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "z",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "x",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "r",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "c",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "c",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "v",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "v",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "b",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "b",
"modifiers": ["left_control"]
}
],
"type": "basic"
}
]
},
{
"description": "Hyper Deletion: N M , .",
"manipulators": [
{
"from": {
"key_code": "n",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "n",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "m",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "delete_or_backspace" }],
"type": "basic"
},
{
"from": {
"key_code": "m",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "comma",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "delete_forward" }],
"type": "basic"
},
{
"from": {
"key_code": "period",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "delete_forward",
"modifiers": ["left_option"]
}
],
"type": "basic"
}
]
},
{
"description": "Hyper Misc (Check https://github.com/suliveevil/Capslock for all details)",
"manipulators": [
{
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": ["right_command", "right_control", "right_shift", "right_option"],
"optional": ["caps_lock"]
}
},
"to": [{ "key_code": "caps_lock" }],
"type": "basic"
},
{
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "4",
"modifiers": ["left_shift", "left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "4",
"modifiers": ["left_control", "left_shift", "left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "backslash",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "slash",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "delete_or_backspace",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "slash",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "slash",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "spacebar",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "spacebar",
"modifiers": ["left_control"]
}
],
"type": "basic"
}
]
},
{
"description": "Hyper Application (held down hyper+g to Fn)",
"manipulators": [
{
"from": {
"key_code": "e",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'finder'" }],
"type": "basic"
},
{
"from": {
"key_code": "e",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'Safari'" }],
"type": "basic"
},
{
"from": {
"key_code": "r",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'iTerm'" }],
"type": "basic"
},
{
"from": {
"key_code": "r",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -b com.jetbrains.pycharm" }],
"type": "basic"
},
{
"from": {
"key_code": "t",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'Visual Studio Code'" }],
"type": "basic"
},
{
"from": {
"key_code": "t",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'Typora'" }],
"type": "basic"
},
{
"from": {
"key_code": "y",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'Siri'" }],
"type": "basic"
},
{
"from": {
"key_code": "d",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'Dictionary'" }],
"type": "basic"
},
{
"from": {
"key_code": "f",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'Zen Browser'" }],
"type": "basic"
},
{
"from": {
"key_code": "a",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a Alfred" }],
"type": "basic"
},
{
"from": {
"key_code": "f",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'Dash'" }],
"type": "basic"
},
{
"from": {
"key_code": "g",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"parameters": {
"basic.to_if_alone_timeout_milliseconds": 250,
"basic.to_if_held_down_threshold_milliseconds": 500
},
"to": [
{
"key_code": "g",
"modifiers": ["right_command", "right_control", "right_option", "right_shift"]
}
],
"to_if_held_down": [
{
"key_code": "fn",
"modifiers": "any"
}
],
"type": "basic"
},
{
"from": {
"key_code": "g",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_option", "right_shift"] }
},
"to": [{ "shell_command": "open -a 'Google Chrome'" }],
"type": "basic"
}
]
},
{
"description": "Hyper Functional",
"manipulators": [
{
"from": {
"key_code": "1",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "display_brightness_decrement" }],
"type": "basic"
},
{
"from": {
"key_code": "2",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "display_brightness_increment" }],
"type": "basic"
},
{
"from": {
"key_code": "3",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "4",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "shell_command": "open -a 'Launchpad'" }],
"type": "basic"
},
{
"from": {
"key_code": "5",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "illumination_decrement" }],
"type": "basic"
},
{
"from": {
"key_code": "6",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "illumination_increment" }],
"type": "basic"
},
{
"from": {
"key_code": "7",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "rewind" }],
"type": "basic"
},
{
"from": {
"key_code": "8",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "play_or_pause" }],
"type": "basic"
},
{
"from": {
"key_code": "9",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "fastforward" }],
"type": "basic"
},
{
"from": {
"key_code": "0",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "mute" }],
"type": "basic"
},
{
"from": {
"key_code": "hyphen",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "volume_decrement" }],
"type": "basic"
},
{
"from": {
"key_code": "equal_sign",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "volume_increment" }],
"type": "basic"
},
{
"from": {
"key_code": "f13",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "rewind" }],
"type": "basic"
},
{
"from": {
"key_code": "f14",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "fastforward" }],
"type": "basic"
},
{
"from": {
"key_code": "f15",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "mute" }],
"type": "basic"
},
{
"from": {
"key_code": "insert",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "display_brightness_increment",
"modifiers": ["left_shift", "left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "delete_forward",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "display_brightness_decrement",
"modifiers": ["left_shift", "left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "home",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "illumination_increment",
"modifiers": ["left_shift", "left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "end",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "illumination_decrement",
"modifiers": ["left_shift", "left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "page_down",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "volume_decrement",
"modifiers": ["left_shift", "left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "page_up",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "volume_increment",
"modifiers": ["left_shift", "left_option"]
}
],
"type": "basic"
}
]
},
{
"description": "Hyper MouseMove: ←↓↑→",
"manipulators": [
{
"from": {
"key_code": "left_arrow",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "mouse_key": { "x": -345 } }],
"type": "basic"
},
{
"from": {
"key_code": "down_arrow",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "mouse_key": { "y": 345 } }],
"type": "basic"
},
{
"from": {
"key_code": "up_arrow",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "mouse_key": { "y": -345 } }],
"type": "basic"
},
{
"from": {
"key_code": "right_arrow",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "mouse_key": { "x": 345 } }],
"type": "basic"
},
{
"from": {
"key_code": "return_or_enter",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "pointing_button": "button1" }],
"type": "basic"
},
{
"from": {
"key_code": "return_or_enter",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "pointing_button": "button2" }],
"type": "basic"
},
{
"from": {
"key_code": "return_or_enter",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "pointing_button": "button3" }],
"type": "basic"
}
]
},
{
"description": "Hyper Navigation: 0 4($) HJKL UIOP",
"manipulators": [
{
"from": {
"key_code": "0",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "4",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "left_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_control", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "down_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "down_arrow",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "down_arrow",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "down_arrow",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "up_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_command", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "right_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] }
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "u",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "page_up" }],
"type": "basic"
},
{
"from": {
"key_code": "i",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "home" }],
"type": "basic"
},
{
"from": {
"key_code": "o",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "end" }],
"type": "basic"
},
{
"from": {
"key_code": "p",
"modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] }
},
"to": [{ "key_code": "page_down" }],
"type": "basic"
}
]
},
{
"description": "CapsLock to Hyper/Escape",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "right_shift",
"modifiers": ["right_command", "right_control", "right_option"]
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Left ctrl + hjkl to arrow keys Vim",
"enabled": false,
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [{ "key_code": "left_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [{ "key_code": "down_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [{ "key_code": "up_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [{ "key_code": "right_arrow" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 620,
"vendor_id": 76
},
"manipulate_caps_lock_led": false
},
{
"identifiers": {
"is_keyboard": true,
"is_pointing_device": true,
"product_id": 45081,
"vendor_id": 1133
},
"ignore": false,
"mouse_flip_horizontal_wheel": true
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 34304,
"vendor_id": 1452
},
"ignore": true
}
],
"name": "Default profile",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
}
]
}