Created
July 9, 2017 06:51
-
-
Save sugi2000/b94cef38d2577c3396dd6dc01ea09670 to your computer and use it in GitHub Desktop.
Karabiner-Elements config file
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.to_if_alone_timeout_milliseconds": 1000 | |
}, | |
"rules": [ | |
{ | |
"description": "コマンドキーを単体で押したときに、英数・かなキーを送信する。(左コマンドキーは英数、右コマンドキーはかな)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "japanese_eisuu" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_command" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "japanese_kana" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Change spacebar to left_command if pressed with other keys (Post spacebar when pressed alone)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "spacebar" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"devices": [], | |
"fn_function_keys": { | |
"f1": "display_brightness_decrement", | |
"f10": "mute", | |
"f11": "volume_decrement", | |
"f12": "volume_increment", | |
"f2": "display_brightness_increment", | |
"f3": "mission_control", | |
"f4": "launchpad", | |
"f5": "illumination_decrement", | |
"f6": "illumination_increment", | |
"f7": "rewind", | |
"f8": "play_or_pause", | |
"f9": "fastforward" | |
}, | |
"name": "Default profile", | |
"selected": true, | |
"simple_modifications": { | |
"caps_lock": "left_control" | |
}, | |
"virtual_hid_keyboard": { | |
"caps_lock_delay_milliseconds": 0, | |
"keyboard_type": "ansi" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment