Last active
August 2, 2018 18:11
-
-
Save geakstr/a02ad88cbf9f1aa4a03818d97590b540 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": false, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 10, | |
| "basic.to_delayed_action_delay_milliseconds": 100, | |
| "basic.to_if_alone_timeout_milliseconds": 200, | |
| "basic.to_if_held_down_threshold_milliseconds": 100 | |
| }, | |
| "rules": [ | |
| { | |
| "description": "Caps Lock to Fn", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "fn" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Fn + H/J/K/L to Arrow Keys", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { | |
| "mandatory": [ | |
| "fn" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { | |
| "mandatory": [ | |
| "fn" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { | |
| "mandatory": [ | |
| "fn" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { | |
| "mandatory": [ | |
| "fn" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Disable arrows", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_none" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_none" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "up_arrow", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_none" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "down_arrow", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_none" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Change input source to eng", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "left_command", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_command" | |
| } | |
| ], | |
| "to_if_alone": [ | |
| { | |
| "select_input_source": { | |
| "input_source_id": "^org\\.sil\\.ukelele\\.keyboardlayout\\.t\\.english\\-\\ ilya\\ birman\\ typography$" | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Change input source to rus", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "right_command", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_command" | |
| } | |
| ], | |
| "to_if_alone": [ | |
| { | |
| "select_input_source": { | |
| "input_source_id": "^org\\.sil\\.ukelele\\.keyboardlayout\\.t\\.russian\\-\\ ilya\\ birman\\ typography$" | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "devices": [], | |
| "fn_function_keys": [ | |
| { | |
| "from": { | |
| "key_code": "f1" | |
| }, | |
| "to": { | |
| "key_code": "display_brightness_decrement" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f2" | |
| }, | |
| "to": { | |
| "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": { | |
| "key_code": "rewind" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f8" | |
| }, | |
| "to": { | |
| "key_code": "play_or_pause" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f9" | |
| }, | |
| "to": { | |
| "key_code": "fastforward" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f10" | |
| }, | |
| "to": { | |
| "key_code": "mute" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f11" | |
| }, | |
| "to": { | |
| "key_code": "volume_decrement" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f12" | |
| }, | |
| "to": { | |
| "key_code": "volume_increment" | |
| } | |
| } | |
| ], | |
| "name": "Default profile", | |
| "selected": true, | |
| "simple_modifications": [], | |
| "virtual_hid_keyboard": { | |
| "caps_lock_delay_milliseconds": 0, | |
| "country_code": 0, | |
| "keyboard_type": "ansi" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment