Created
June 19, 2024 06:10
-
-
Save kazuph/43f03c16f58d818fc460e298beb0b1b4 to your computer and use it in GitHub Desktop.
2024-06-19 karabiner.json
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": { | |
| "ask_for_confirmation_before_quitting": true, | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": true, | |
| "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": "F18 to - ", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "f18" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "japanese_eisuu" | |
| }, | |
| { | |
| "key_code": "hyphen" | |
| }, | |
| { | |
| "key_code": "spacebar" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "F17 to ## ", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "f17" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "japanese_eisuu" | |
| }, | |
| { | |
| "key_code": "3", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| }, | |
| { | |
| "key_code": "3", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| }, | |
| { | |
| "key_code": "spacebar" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "F16 to ```", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "f16" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "japanese_eisuu" | |
| }, | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [] | |
| }, | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [] | |
| }, | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "F15 to ``←", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "f15" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "japanese_eisuu" | |
| }, | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [] | |
| }, | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [] | |
| }, | |
| { | |
| "key_code": "left_arrow" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "F14 to :", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "f14" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "japanese_eisuu" | |
| }, | |
| { | |
| "key_code": "quote" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "F13 to ⌘+Space and 英数 (japanese_eisuu)", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "f13" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "spacebar", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| }, | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl 単押しで Esc", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "left_control", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_control" | |
| } | |
| ], | |
| "to_if_alone": [ | |
| { | |
| "key_code": "escape" | |
| }, | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Cを押してEsc", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "c", | |
| "modifiers": [ | |
| "right_ctrl" | |
| ] | |
| }, | |
| { | |
| "key_code": "escape" | |
| }, | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "コマンドキーを単体で押したときに、英数・かなキーを送信する。(左コマンドキーは英数、右コマンドキーはかな) (rev 3)", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "left_command", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.to_if_held_down_threshold_milliseconds": 100 | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_command", | |
| "lazy": true | |
| } | |
| ], | |
| "to_if_alone": [ | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ], | |
| "to_if_held_down": [ | |
| { | |
| "key_code": "left_command" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "right_command", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "basic.to_if_held_down_threshold_milliseconds": 100 | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_command", | |
| "lazy": true | |
| } | |
| ], | |
| "to_if_alone": [ | |
| { | |
| "key_code": "japanese_kana" | |
| } | |
| ], | |
| "to_if_held_down": [ | |
| { | |
| "key_code": "right_command" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+[を押したときに、escキーと英数キーを送信する", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "ansi", | |
| "iso" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "open_bracket", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "escape" | |
| }, | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "close_bracket", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "escape" | |
| }, | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Cを押したときに、英数キーも送信する(vim用) (by kazuph)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "ansi", | |
| "iso" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "c", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| }, | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "c", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| }, | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "devices": [ | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 635, | |
| "vendor_id": 1452 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": true, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 49989, | |
| "vendor_id": 1133 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": false, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [ | |
| { | |
| "from": { | |
| "key_code": "caps_lock" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_control" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "escape" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "japanese_pc_nfer" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "japanese_eisuu" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "japanese_pc_xfer" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "japanese_kana" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "left_command" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_option" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "left_option" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_command" | |
| } | |
| ] | |
| } | |
| ], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 21, | |
| "vendor_id": 1278 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": true, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": false, | |
| "is_pointing_device": true, | |
| "product_id": 21, | |
| "vendor_id": 1278 | |
| }, | |
| "ignore": true, | |
| "manipulate_caps_lock_led": false, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 666, | |
| "vendor_id": 1452 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": true, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": false, | |
| "is_pointing_device": true, | |
| "product_id": 613, | |
| "vendor_id": 1452 | |
| }, | |
| "ignore": true, | |
| "manipulate_caps_lock_led": false, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 666, | |
| "vendor_id": 76 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": true, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": true, | |
| "is_keyboard": false, | |
| "is_pointing_device": false, | |
| "product_id": 3302, | |
| "vendor_id": 1356 | |
| }, | |
| "ignore": true, | |
| "manipulate_caps_lock_led": false, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 1024, | |
| "vendor_id": 22871 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": true, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": false, | |
| "is_pointing_device": true, | |
| "product_id": 1024, | |
| "vendor_id": 22871 | |
| }, | |
| "ignore": true, | |
| "manipulate_caps_lock_led": false, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": false, | |
| "is_pointing_device": true, | |
| "product_id": 613, | |
| "vendor_id": 76 | |
| }, | |
| "ignore": true, | |
| "manipulate_caps_lock_led": false, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": 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": [ | |
| { | |
| "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": "f7" | |
| } | |
| ] | |
| }, | |
| { | |
| "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": "JIS", | |
| "parameters": { | |
| "delay_milliseconds_before_open_device": 1000 | |
| }, | |
| "selected": true, | |
| "simple_modifications": [], | |
| "virtual_hid_keyboard": { | |
| "country_code": 45, | |
| "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