Skip to content

Instantly share code, notes, and snippets.

@edwardsmit
Last active June 23, 2017 07:55
Show Gist options
  • Save edwardsmit/d3ec602dff53239b025e502170433b30 to your computer and use it in GitHub Desktop.
Save edwardsmit/d3ec602dff53239b025e502170433b30 to your computer and use it in GitHub Desktop.
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "A Modern Space Cadet (Steve Losh)",
"manipulators": [
{
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "left_control"
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
},
{
"from": {
"key_code": "left_shift"
},
"to": [
{
"key_code": "left_shift"
}
],
"to_if_alone": [
{
"key_code": "open_bracket",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "right_shift"
},
"to": [
{
"key_code": "right_shift"
}
],
"to_if_alone": [
{
"key_code": "close_bracket",
"modifiers": [
"right_shift"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "non_us_backslash",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "1",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "3",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "4",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "5",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "q",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "w",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "e",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "r",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "t",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "a",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "s",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "g",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "z",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "x",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "c",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "v",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "b",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "6",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "7",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "8",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "9",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "0",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "hyphen",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "equal_sign",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "y",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "open_bracket",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "close_bracket",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "semicolon",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "quote",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "backslash",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "return_or_enter",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "m",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "period",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"type": "basic"
},
{
"from": {
"key_code": "slash",
"modifiers": {
"mandatory": [
"right_shift"
]
}
},
"to": [
{
"key_code": "vk_none"
}
],
"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": {
"non_us_backslash": "grave_accent_and_tilde",
"grave_accent_and_tilde": "non_us_backslash"
},
"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