Files
.vscode.d/karabiner-elements/vscode-keybinding-workarounds.json
2025-10-23 14:52:05 +01:00

391 lines
8.4 KiB
JSON

{
"description": "VSCode keybinding workarounds",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "i",
"modifiers": {
"mandatory": ["option"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_option", "left_command"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "n",
"modifiers": {
"mandatory": ["option"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": ["left_option", "left_command"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "e",
"modifiers": {
"mandatory": ["option"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_option", "left_command"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f",
"modifiers": {
"mandatory": ["option"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "b",
"modifiers": {
"mandatory": ["option"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "d",
"modifiers": {
"mandatory": ["option"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "delete_forward",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "hyphen",
"modifiers": {
"mandatory": ["option"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "z",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "hyphen",
"modifiers": {
"mandatory": ["option", "shift"],
"optional": ["caps_lock"]
}
},
"to": [
{
"key_code": "z",
"modifiers": ["left_command", "left_shift"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "d",
"modifiers": {
"mandatory": ["control"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "delete_forward"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "p",
"modifiers": {
"mandatory": ["control"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "n",
"modifiers": {
"mandatory": ["control"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "b",
"modifiers": {
"mandatory": ["control"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f",
"modifiers": {
"mandatory": ["control"],
"optional": ["caps_lock", "shift"]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": ["option", "shift"],
"optional": ["caps_lock"]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.exafunction\\.windsurf",
"^com\\.microsoft\\.VSCode",
"^com\\.todesktop\\."
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "period",
"modifiers": {
"mandatory": ["option", "shift"],
"optional": ["caps_lock"]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": ["left_command"]
}
],
"type": "basic"
}
]
}