Skip to content

Instantly share code, notes, and snippets.

@bidah
Last active February 11, 2020 10:35
Show Gist options
  • Save bidah/3af2341c6fe3ce2144ff77a1d9db5d3f to your computer and use it in GitHub Desktop.
Save bidah/3af2341c6fe3ce2144ff77a1d9db5d3f 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": {
"parameters": {
"basic.to_if_alone_timeout_milliseconds": 1000
},
"rules": [
{
"description": "rk61",
"manipulators": [
{
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"shift"
],
"optional": [
"caps_lock",
"option"
]
}
},
"to": [
{
"key_code": "slash"
}
],
"type": "basic"
},
{
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": [
"shift"
],
"optional": [
"caps_lock",
"option"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": [
"shift"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"option"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 556,
"vendor_id": 1452
},
"ignore": false,
"simple_modifications": [
{
"from": {
"key_code": "application"
},
"to": {
"key_code": "up_arrow"
}
},
{
"from": {
"key_code": "left_command"
},
"to": {
"key_code": "left_option"
}
},
{
"from": {
"key_code": "left_option"
},
"to": {
"key_code": "left_command"
}
},
{
"from": {
"key_code": "slash"
},
"to": {
"key_code": "up_arrow"
}
},
{
"from": {
"key_code": "up_arrow"
},
"to": {
"key_code": "slash"
}
}
]
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 27272,
"vendor_id": 9610
},
"ignore": false,
"simple_modifications": [
{
"from": {
"key_code": "application"
},
"to": {
"key_code": "up_arrow"
}
},
{
"from": {
"key_code": "left_command"
},
"to": {
"key_code": "left_option"
}
},
{
"from": {
"key_code": "left_option"
},
"to": {
"key_code": "left_command"
}
},
{
"from": {
"key_code": "slash"
},
"to": {
"key_code": "up_arrow"
}
},
{
"from": {
"key_code": "up_arrow"
},
"to": {
"key_code": "slash"
}
}
]
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": {
"key_code": "display_brightness_decrement"
}
},
{
"from": {
"key_code": "f2"
},
"to": {
"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": {
"key_code": "rewind"
}
},
{
"from": {
"key_code": "f8"
},
"to": {
"key_code": "play_or_pause"
}
},
{
"from": {
"key_code": "f9"
},
"to": {
"key_code": "fastforward"
}
},
{
"from": {
"key_code": "f10"
},
"to": {
"key_code": "mute"
}
},
{
"from": {
"key_code": "f11"
},
"to": {
"key_code": "volume_decrement"
}
},
{
"from": {
"key_code": "f12"
},
"to": {
"key_code": "volume_increment"
}
}
],
"name": "Default profile",
"selected": true,
"simple_modifications": [],
"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