Skip to content

Instantly share code, notes, and snippets.

@fuxialexander
Last active September 15, 2017 05:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fuxialexander/46f71c1f9b29174eea87b917089803e9 to your computer and use it in GitHub Desktop.
Save fuxialexander/46f71c1f9b29174eea87b917089803e9 to your computer and use it in GitHub Desktop.
Capslock to control; Right command to ESC + Hyper; Do not trigger Hyper-,/. (sysdiagnose)
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"rules": [
{
"manipulators": [
{
"description": "Change right-command to command+control+option+shift. Escape if no other key used.",
"from": {
"key_code": "right_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": [
"left_command",
"left_control",
"left_option"
]
}
],
"to_if_alone": [
{
"key_code": "escape",
"modifiers": {
"optional": [
"any"
]
}
}
],
"type": "basic"
},
{
"description": "Disable Hyper-comma",
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": [
"left_command",
"left_shift",
"left_option",
"left_control"
]
}
},
"to": [
{
"key_code": "comma",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"description": "Disable Hyper-period",
"from": {
"key_code": "period",
"modifiers": {
"mandatory": [
"left_command",
"left_shift",
"left_option",
"left_control"
]
}
},
"to": [
{
"key_code": "period",
"modifiers": [
"left_command"
]
}
],
"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"
},
"standalone_keys": {
"right_command": "escape"
},
"virtual_hid_keyboard": {
"caps_lock_delay_milliseconds": 0,
"keyboard_type": "ansi",
"standalone_keys_delay_milliseconds": 200
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment