{ "global": { "check_for_updates_on_startup": true, "show_in_menu_bar": true, "show_profile_name_in_menu_bar": false, "unsafe_ui": false }, "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": "CapsLock to Hyper", "manipulators": [ { "description": "capslock = hyper(hold)", "from": { "key_code": "caps_lock", "modifiers": { "optional": ["any"] } }, "to": [ { "key_code": "right_shift", "modifiers": [ "right_command", "right_control", "right_option" ] } ], "type": "basic" }, { "description": "escape = capslock switch", "from": { "key_code": "escape", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ], "optional": ["caps_lock"] } }, "to": [ { "key_code": "caps_lock", "modifiers": ["left_control"] } ], "type": "basic" }, { "description": "spacebar = language switch", "from": { "key_code": "spacebar", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "spacebar", "modifiers": ["left_control"] } ], "type": "basic" }, { "description": "command + spacebar = emoji", "from": { "key_code": "spacebar", "modifiers": { "mandatory": [ "left_command", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "spacebar", "modifiers": ["left_control", "left_command"] } ], "type": "basic" } ] }, { "description": "Hyper Navigation", "manipulators": [ { "description": " h = left", "from": { "key_code": "h", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "left_arrow" } ], "type": "basic" }, { "description": "shift + h = shift + left", "from": { "key_code": "h", "modifiers": { "mandatory": [ "left_shift", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "left_arrow", "modifiers": ["left_shift"] } ], "type": "basic" }, { "description": "option + h = option + left", "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" }, { "description": "option + shift + h = option + shift + left (select word ahead)", "from": { "key_code": "h", "modifiers": { "mandatory": [ "left_shift", "left_option", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "left_arrow", "modifiers": ["left_option", "left_shift"] } ], "type": "basic" }, { "description": " j = down", "from": { "key_code": "j", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "down_arrow" } ], "type": "basic" }, { "description": "shift + j = shift + down", "from": { "key_code": "j", "modifiers": { "mandatory": [ "left_shift", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "down_arrow", "modifiers": ["left_shift"] } ], "type": "basic" }, { "description": "option + j = option + down", "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" }, { "description": " k = up", "from": { "key_code": "k", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "up_arrow" } ], "type": "basic" }, { "description": "shift + k = shift + up", "from": { "key_code": "k", "modifiers": { "mandatory": [ "left_shift", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "up_arrow", "modifiers": ["left_shift"] } ], "type": "basic" }, { "description": "option + k = option + up", "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" }, { "description": " l = right", "from": { "key_code": "l", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "right_arrow" } ], "type": "basic" }, { "description": "shift + l = shift + right", "from": { "key_code": "l", "modifiers": { "mandatory": [ "left_shift", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "right_arrow", "modifiers": ["left_shift"] } ], "type": "basic" }, { "description": "option + l = option + right", "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" }, { "description": "option + shift + l = option + shift + right (select word after)", "from": { "key_code": "l", "modifiers": { "mandatory": [ "left_option", "left_shift", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "right_arrow", "modifiers": ["left_shift", "left_option"] } ], "type": "basic" } ] }, { "description": "Hyper Undo/Redo", "manipulators": [ { "description": "u = undo", "from": { "key_code": "u", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "z", "modifiers": ["left_command"] } ], "type": "basic" }, { "description": "r = redo", "from": { "key_code": "r", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "z", "modifiers": ["left_command", "left_shift"] } ], "type": "basic" } ] }, { "description": "Hyper Deletion", "manipulators": [ { "description": " backspace = delete", "from": { "key_code": "delete_or_backspace", "modifiers": { "mandatory": [ "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "key_code": "delete_forward" } ], "type": "basic" } ] }, { "description": "Hyper Application", "manipulators": [ { "description": "command + e = finder", "from": { "key_code": "e", "modifiers": { "mandatory": [ "left_command", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "shell_command": "open -a finder" } ], "type": "basic" }, { "description": "command + t = iTerm2", "from": { "key_code": "i", "modifiers": { "mandatory": [ "left_command", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "shell_command": "open -a iTerm" } ], "type": "basic" }, { "description": "command + v = VSCode", "from": { "key_code": "v", "modifiers": { "mandatory": [ "left_command", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "shell_command": "open -a 'Visual Studio Code'" } ], "type": "basic" }, { "description": "command + c = Chrome", "from": { "key_code": "c", "modifiers": { "mandatory": [ "left_command", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "shell_command": "open -a 'Google Chrome'" } ], "type": "basic" }, { "description": "command + f = Mozilla Firefox", "from": { "key_code": "f", "modifiers": { "mandatory": [ "left_command", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "shell_command": "open -a 'Firefox'" } ], "type": "basic" }, { "description": "command + t = Telegram", "from": { "key_code": "t", "modifiers": { "mandatory": [ "left_command", "right_command", "right_control", "right_shift", "right_option" ] } }, "to": [ { "shell_command": "open -a 'Telegram Desktop'" } ], "type": "basic" } ] }, { "description": "Disable arrows", "manipulators": [ { "from": { "key_code": "left_arrow" }, "to": [ { "key_code": "vk_none" } ], "type": "basic" }, { "from": { "key_code": "right_arrow" }, "to": [ { "key_code": "vk_none" } ], "type": "basic" }, { "from": { "key_code": "up_arrow" }, "to": [ { "key_code": "vk_none" } ], "type": "basic" }, { "from": { "key_code": "down_arrow" }, "to": [ { "key_code": "vk_none" } ], "type": "basic" } ] } ] }, "devices": [ { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], "identifiers": { "is_keyboard": true, "is_pointing_device": false, "product_id": 832, "vendor_id": 1452 }, "ignore": false, "manipulate_caps_lock_led": true, "simple_modifications": [], "treat_as_built_in_keyboard": false }, { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], "identifiers": { "is_keyboard": true, "is_pointing_device": false, "product_id": 34304, "vendor_id": 1452 }, "ignore": false, "manipulate_caps_lock_led": true, "simple_modifications": [], "treat_as_built_in_keyboard": false }, { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], "identifiers": { "is_keyboard": true, "is_pointing_device": false, "product_id": 833, "vendor_id": 1452 }, "ignore": false, "manipulate_caps_lock_led": true, "simple_modifications": [], "treat_as_built_in_keyboard": false }, { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], "identifiers": { "is_keyboard": false, "is_pointing_device": true, "product_id": 833, "vendor_id": 1452 }, "ignore": true, "manipulate_caps_lock_led": false, "simple_modifications": [], "treat_as_built_in_keyboard": false } ], "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": "krllnlmtd", "parameters": { "delay_milliseconds_before_open_device": 1000 }, "selected": true, "simple_modifications": [], "virtual_hid_keyboard": { "country_code": 0, "indicate_sticky_modifier_keys_state": true, "mouse_key_xy_scale": 100 } } ] }