Last active
October 25, 2022 20:24
-
-
Save avishaan/22fb2b16f7c6b52d651a2a1b0beb0e4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 50, | |
| "basic.to_delayed_action_delay_milliseconds": 500, | |
| "basic.to_if_alone_timeout_milliseconds": 500, | |
| "basic.to_if_held_down_threshold_milliseconds": 500, | |
| "mouse_motion_to_scroll.speed": 180 | |
| }, | |
| "rules": [ | |
| { | |
| "description": "Ctrl+u/Ctrl+d up and down vim", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^org\\.gnu\\.Emacs", | |
| "^com.microsoft.VSCode", | |
| "^com.jetbrains.pcharm.ce", | |
| "^com\\.googlecode\\.iterm2$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "d", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| }, | |
| { | |
| "key_code": "down_arrow" | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "key_code": "vk_none" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^org\\.gnu\\.Emacs", | |
| "^com.microsoft.VSCode", | |
| "^com.jetbrains.pcharm.ce", | |
| "^com\\.googlecode\\.iterm2$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "u", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| }, | |
| { | |
| "key_code": "up_arrow" | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "key_code": "vk_none" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+p/Ctrl+n to arrow up/down", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^org\\.gnu\\.Emacs" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "p", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^org\\.gnu\\.Emacs" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "available_since": "13.6.0", | |
| "description": "Mouse Keys Mode v4 (rev 2)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "vertical_wheel": 32 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "y": 1536 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "j" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "mouse_key": { | |
| "y": 1536 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "vertical_wheel": -32 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "y": -1536 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "k" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "mouse_key": { | |
| "y": -1536 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "horizontal_wheel": 32 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "x": -1536 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "h" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "mouse_key": { | |
| "x": -1536 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "horizontal_wheel": -32 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "x": 1536 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "l" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "mouse_key": { | |
| "x": 1536 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "v", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "pointing_button": "button1" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "v" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "pointing_button": "button1" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "b", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "pointing_button": "button3" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "b" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "pointing_button": "button3" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "pointing_button": "button2" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "n" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "pointing_button": "button2" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "s", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "s" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "f", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "speed_multiplier": 2.0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "f" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "mouse_key": { | |
| "speed_multiplier": 2.0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "g", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "mouse_key": { | |
| "speed_multiplier": 0.5 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "g" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "mouse_key": { | |
| "speed_multiplier": 0.5 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "i", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "software_function": { | |
| "set_mouse_cursor_position": { | |
| "screen": 0, | |
| "x": "50%", | |
| "y": "50%" | |
| } | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "i" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "software_function": { | |
| "set_mouse_cursor_position": { | |
| "screen": 0, | |
| "x": "50%", | |
| "y": "50%" | |
| } | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "mouse_keys_mode_v4", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "o", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "software_function": { | |
| "set_mouse_cursor_position": { | |
| "screen": 1, | |
| "x": "50%", | |
| "y": "50%" | |
| } | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| }, | |
| "simultaneous": [ | |
| { | |
| "key_code": "d" | |
| }, | |
| { | |
| "key_code": "o" | |
| } | |
| ], | |
| "simultaneous_options": { | |
| "key_down_order": "strict", | |
| "key_up_order": "strict_inverse", | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4_scroll", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "mouse_keys_mode_v4", | |
| "value": 1 | |
| } | |
| }, | |
| { | |
| "set_notification_message": { | |
| "id": "mouse_keys_mode_v4", | |
| "text": "Mouse Keys Mode v4" | |
| } | |
| }, | |
| { | |
| "software_function": { | |
| "set_mouse_cursor_position": { | |
| "screen": 1, | |
| "x": "50%", | |
| "y": "50%" | |
| } | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Post Esc if Caps is tapped, Control if held.", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_control", | |
| "lazy": true | |
| } | |
| ], | |
| "to_if_alone": [ | |
| { | |
| "key_code": "escape" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "devices": [ | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "is_pointing_device": true, | |
| "product_id": 8705, | |
| "vendor_id": 4617 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": false, | |
| "simple_modifications": [] | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "identifiers": { | |
| "is_keyboard": false, | |
| "is_pointing_device": true, | |
| "product_id": 8705, | |
| "vendor_id": 4617 | |
| }, | |
| "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": [ | |
| { | |
| "apple_vendor_keyboard_key_code": "mission_control" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f4" | |
| }, | |
| "to": [ | |
| { | |
| "apple_vendor_keyboard_key_code": "spotlight" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f5" | |
| }, | |
| "to": [ | |
| { | |
| "consumer_key_code": "dictation" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f6" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "f6" | |
| } | |
| ] | |
| }, | |
| { | |
| "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": "fast_forward" | |
| } | |
| ] | |
| }, | |
| { | |
| "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": "Default profile", | |
| "parameters": { | |
| "delay_milliseconds_before_open_device": 1000 | |
| }, | |
| "selected": true, | |
| "simple_modifications": [ | |
| { | |
| "from": { | |
| "key_code": "escape" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_shift" | |
| } | |
| ] | |
| } | |
| ], | |
| "virtual_hid_keyboard": { | |
| "country_code": 0, | |
| "indicate_sticky_modifier_keys_state": true, | |
| "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": [] | |
| }, | |
| "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": [ | |
| { | |
| "apple_vendor_keyboard_key_code": "mission_control" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f4" | |
| }, | |
| "to": [ | |
| { | |
| "apple_vendor_keyboard_key_code": "spotlight" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f5" | |
| }, | |
| "to": [ | |
| { | |
| "consumer_key_code": "dictation" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f6" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "f6" | |
| } | |
| ] | |
| }, | |
| { | |
| "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": "fast_forward" | |
| } | |
| ] | |
| }, | |
| { | |
| "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": "Blank", | |
| "parameters": { | |
| "delay_milliseconds_before_open_device": 1000 | |
| }, | |
| "selected": false, | |
| "simple_modifications": [], | |
| "virtual_hid_keyboard": { | |
| "country_code": 0, | |
| "indicate_sticky_modifier_keys_state": true, | |
| "mouse_key_xy_scale": 100 | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment