Skip to content

Instantly share code, notes, and snippets.

@lodestone
Created November 16, 2017 06:57
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 lodestone/0b4a55efb7e5d7ac4acddd15578b2f29 to your computer and use it in GitHub Desktop.
Save lodestone/0b4a55efb7e5d7ac4acddd15578b2f29 to your computer and use it in GitHub Desktop.
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000
},
"rules": [
{
"manipulators": [
{
"description": "Try to make Shift+Command do something useful",
"from": {
"key_code": "right_shift",
"modifiers": {
"manditory": [
"right_command"
]
}
},
"to": [
{
"key_code": "spacebar",
"modifiers": [ "left_command" ]
}
],
"type": "basic"
}
]
},
{
"manipulators": [
{
"description": "Change caps_lock to command+control+option+shift.",
"from": {
"key_code": "caps_lock",
"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"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 610,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 597,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": {
"key_code": "vk_consumer_brightness_down"
}
},
{
"from": {
"key_code": "f2"
},
"to": {
"key_code": "vk_consumer_brightness_up"
}
},
{
"from": {
"key_code": "f3"
},
"to": {
"key_code": "vk_mission_control"
}
},
{
"from": {
"key_code": "f4"
},
"to": {
"key_code": "vk_launchpad"
}
},
{
"from": {
"key_code": "f5"
},
"to": {
"key_code": "vk_consumer_illumination_down"
}
},
{
"from": {
"key_code": "f6"
},
"to": {
"key_code": "vk_consumer_illumination_up"
}
},
{
"from": {
"key_code": "f7"
},
"to": {
"key_code": "vk_consumer_previous"
}
},
{
"from": {
"key_code": "f8"
},
"to": {
"key_code": "vk_consumer_play"
}
},
{
"from": {
"key_code": "f9"
},
"to": {
"key_code": "vk_consumer_next"
}
},
{
"from": {
"key_code": "f10"
},
"to": {
"key_code": "mute"
}
},
{
"from": {
"key_code": "f11"
},
"to": {
"key_code": "volume_down"
}
},
{
"from": {
"key_code": "f12"
},
"to": {
"key_code": "volume_up"
}
}
],
"name": "Default profile",
"one_to_many_mappings": {},
"selected": true,
"simple_modifications": [],
"standalone_keys": {},
"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