Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
676 lines (675 sloc) 27.6 KB
{
"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": "mort: msft: cmd <-> opt",
"manipulators": [
{
"conditions": [
{
"identifiers": [
{
"product_id": 180,
"vendor_id": 1118
}
],
"type": "device_if"
}
],
"from": {
"key_code": "left_option",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command"
}
],
"type": "basic"
},
{
"conditions": [
{
"identifiers": [
{
"product_id": 180,
"vendor_id": 1118
}
],
"type": "device_if"
}
],
"from": {
"key_code": "left_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_option"
}
],
"type": "basic"
}
]
},
{
"description": "mort: caps_lock -> ctrl",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control"
}
],
"type": "basic"
}
]
},
{
"description": "mort: S-' (\") <-> S-2 (@)",
"manipulators": [
{
"from": {
"key_code": "quote",
"modifiers": {
"mandatory": [
"shift"
]
}
},
"to": [
{
"key_code": "2",
"modifiers": [
"shift"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"shift"
]
}
},
"to": [
{
"key_code": "quote",
"modifiers": [
"shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "mort: \\ -> #; S-\\ (|) -> ~",
"manipulators": [
{
"from": {
"key_code": "backslash"
},
"to": [
{
"key_code": "3",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "backslash",
"modifiers": {
"mandatory": [
"shift"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": [
"shift"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"identifiers": [
{
"product_id": 180,
"vendor_id": 1118
}
],
"type": "device_if"
}
],
"from": {
"key_code": "non_us_pound"
},
"to": [
{
"key_code": "3",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"identifiers": [
{
"product_id": 180,
"vendor_id": 1118
}
],
"type": "device_if"
}
],
"from": {
"key_code": "non_us_pound",
"modifiers": {
"mandatory": [
"shift"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": [
"shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "mort: § -> `; ± (S-§) -> €",
"manipulators": [
{
"from": {
"key_code": "non_us_backslash"
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
],
"type": "basic"
},
{
"from": {
"key_code": "non_us_backslash",
"modifiers": {
"mandatory": [
"shift"
]
}
},
"to": [
{
"key_code": "2",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "non_us_backslash",
"modifiers": {
"mandatory": [
"command"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": [
"command"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "non_us_backslash",
"modifiers": {
"mandatory": [
"command",
"shift"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": [
"command",
"shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "mort: ` -> \\; S-` (~) -> |",
"manipulators": [
{
"from": {
"key_code": "grave_accent_and_tilde"
},
"to": [
{
"key_code": "backslash"
}
],
"type": "basic"
},
{
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
"mandatory": [
"shift"
]
}
},
"to": [
{
"key_code": "backslash",
"modifiers": [
"shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "mort: iterm2: selected CMD- to M- remaps",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "b",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "b",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "d",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"option"
]
}
],
"type": "basic"
}
]
},
{
"description": "mort: fine volume controls",
"manipulators": [
{
"from": {
"key_code": "f11"
},
"to": [
{
"key_code": "volume_decrement",
"modifiers": [
"left_shift",
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"key_code": "volume_increment",
"modifiers": [
"left_shift",
"left_option"
]
}
],
"type": "basic"
}
]
},
{
"description": "mort: fine brightness controls",
"manipulators": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"key_code": "display_brightness_decrement",
"modifiers": [
"left_shift",
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"key_code": "display_brightness_increment",
"modifiers": [
"left_shift",
"left_option"
]
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 180,
"vendor_id": 1118
},
"ignore": false,
"simple_modifications": [
{
"from": {
"key_code": "grave_accent_and_tilde"
},
"to": {
"key_code": "non_us_backslash"
}
},
{
"from": {
"key_code": "non_us_backslash"
},
"to": {
"key_code": "grave_accent_and_tilde"
}
}
]
}
],
"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": {
"consumer_key_code": "rewind"
}
},
{
"from": {
"key_code": "f8"
},
"to": {
"consumer_key_code": "play_or_pause"
}
},
{
"from": {
"key_code": "f9"
},
"to": {
"consumer_key_code": "fastforward"
}
},
{
"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": "Default profile",
"selected": true,
"simple_modifications": [],
"virtual_hid_keyboard": {
"caps_lock_delay_milliseconds": 0,
"keyboard_type": "ansi"
}
}
]
}