From cebbd21e9b123417b5617be1077d3d6d513c19ec Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 5 Mar 2025 19:54:41 +0000 Subject: [PATCH] chore(cursor/karabiner): add ctrl+p/f/b as well as ctrl+n --- karabiner/vscode-keybinding-workarounds.json | 87 ++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/karabiner/vscode-keybinding-workarounds.json b/karabiner/vscode-keybinding-workarounds.json index 080b332..84bb80d 100644 --- a/karabiner/vscode-keybinding-workarounds.json +++ b/karabiner/vscode-keybinding-workarounds.json @@ -290,6 +290,35 @@ ], "type": "basic" }, + { + "conditions": [ + { + "bundle_identifiers": [ + "^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": [ { @@ -319,6 +348,64 @@ ], "type": "basic" }, + { + "conditions": [ + { + "bundle_identifiers": [ + "^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\\.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": [ {