{ "title": "ALT <=> CMD in VSCode", "rules": [ { "description": "Swap option and command in vscode", "manipulators": [ { "type": "basic", "from": { "key_code": "left_option", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "left_command" } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "VSCode" ] } ] }, { "type": "basic", "from": { "key_code": "left_command", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "left_option" } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "VSCode" ] } ] } ] } ] }