Created
March 1, 2018 10:28
-
-
Save akira-kuriyama/4d58d388e8246df5a94a4a4960ba62c3 to your computer and use it in GitHub Desktop.
This file contains 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": 700, | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
}, | |
"rules": [ | |
{ | |
"description": "Change left_option+jiml to arrow keys", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "lang2", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "fn" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "lang2" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i", | |
"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" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "slash", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "escape" | |
}, | |
{ | |
"key_code": "s", | |
"modifiers": [ | |
"left_command" | |
] | |
}, | |
{ | |
"key_code": "lang2" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "hyphen" | |
}, | |
{ | |
"key_code": "period", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "hyphen", | |
"modifiers": [ | |
"left_shift" | |
] | |
}, | |
{ | |
"key_code": "period", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"option": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "lang4" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "return_or_enter" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "return_or_enter" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Change spacebar to left_shift. (Post spacebar if pressed alone)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_shift" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "spacebar" | |
} | |
], | |
"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": [ | |
{ | |
"from": { | |
"key_code": "caps_lock" | |
}, | |
"to": { | |
"key_code": "left_command" | |
} | |
} | |
], | |
"virtual_hid_keyboard": { | |
"caps_lock_delay_milliseconds": 0, | |
"keyboard_type": "jis" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment