Skip to content

Instantly share code, notes, and snippets.

@80x24
Created March 3, 2026 09:41
Show Gist options
  • Select an option

  • Save 80x24/deeb64fc22e9e8dbebb8d34980743648 to your computer and use it in GitHub Desktop.

Select an option

Save 80x24/deeb64fc22e9e8dbebb8d34980743648 to your computer and use it in GitHub Desktop.
Karabiner-Elements config backup
{
"global": { "show_in_menu_bar": false },
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "Fn+Backspace to Option+Backspace",
"manipulators": [
{
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": ["option"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": ["fn"]
}
],
"type": "basic"
}
]
},
{
"description": "Change F18 to Command + Space",
"enabled": false,
"manipulators": [
{
"from": { "key_code": "f18" },
"to": [
{
"key_code": "spacebar",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "f18",
"modifiers": { "mandatory": ["left_shift"] }
},
"to": [
{
"key_code": "spacebar",
"modifiers": ["left_control", "left_option", "left_command"]
}
],
"type": "basic"
}
]
},
{
"description": "Right Option + F1~F12 for screen brightness and volume control",
"manipulators": [
{
"from": {
"key_code": "f1",
"modifiers": {
"mandatory": ["right_option"],
"optional": ["any"]
}
},
"to": { "key_code": "display_brightness_decrement" },
"type": "basic"
},
{
"from": {
"key_code": "f2",
"modifiers": {
"mandatory": ["right_option"],
"optional": ["any"]
}
},
"to": { "key_code": "display_brightness_increment" },
"type": "basic"
},
{
"from": {
"key_code": "f10",
"modifiers": {
"mandatory": ["right_option"],
"optional": ["any"]
}
},
"to": { "key_code": "mute" },
"type": "basic"
},
{
"from": {
"key_code": "f11",
"modifiers": {
"mandatory": ["right_option"],
"optional": ["any"]
}
},
"to": { "key_code": "volume_decrement" },
"type": "basic"
},
{
"from": {
"key_code": "f12",
"modifiers": {
"mandatory": ["right_option"],
"optional": ["any"]
}
},
"to": { "key_code": "volume_increment" },
"type": "basic"
}
]
},
{
"description": "fn + hjklnp to arrow keys Vim",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{ "key_code": "left_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{ "key_code": "down_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{ "key_code": "up_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{ "key_code": "right_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "n",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{ "key_code": "down_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "p",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{ "key_code": "up_arrow" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 641,
"vendor_id": 1452
},
"manipulate_caps_lock_led": false
},
{
"identifiers": {
"is_keyboard": true,
"is_pointing_device": true,
"product_id": 42569,
"vendor_id": 936
},
"ignore": false,
"manipulate_caps_lock_led": false
},
{
"identifiers": {
"is_pointing_device": true,
"product_id": 49284,
"vendor_id": 1133
},
"ignore": false
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 49284,
"vendor_id": 1133
},
"manipulate_caps_lock_led": false
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 42569,
"vendor_id": 936
},
"manipulate_caps_lock_led": false
},
{
"identifiers": {
"is_keyboard": true,
"is_pointing_device": true,
"product_id": 42233,
"vendor_id": 936
},
"ignore": false
},
{
"identifiers": {
"is_keyboard": true,
"is_pointing_device": true,
"product_id": 149,
"vendor_id": 5426
},
"manipulate_caps_lock_led": false
},
{
"identifiers": {
"is_keyboard": true,
"is_pointing_device": true
},
"ignore": false
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 148,
"vendor_id": 5426
},
"ignore": true
},
{
"identifiers": {
"is_keyboard": true,
"is_pointing_device": true,
"vendor_id": 13
},
"ignore": false
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 161,
"vendor_id": 13462
},
"simple_modifications": [
{
"from": { "key_code": "right_command" },
"to": [{ "key_code": "f18" }]
}
]
},
{
"identifiers": {
"device_address": "f2-96-2e-87-c3-7b",
"is_keyboard": true,
"is_pointing_device": true
},
"ignore": false
},
{
"identifiers": {
"device_address": "f2-96-2e-87-c3-7a",
"is_keyboard": true,
"is_pointing_device": true
},
"ignore": false
}
],
"fn_function_keys": [
{
"from": { "key_code": "f6" },
"to": [{ "key_code": "vk_none" }]
}
],
"name": "Default profile",
"selected": true,
"simple_modifications": [
{
"from": { "key_code": "caps_lock" },
"to": [{ "key_code": "left_control" }]
},
{
"from": { "key_code": "right_command" },
"to": [{ "key_code": "f18" }]
}
],
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment