diff --git a/src/vs/editor/common/config/config.ts b/src/vs/editor/common/config/config.ts index 562c0e03275b5762c519617898f6097519e7450d..b448914322312112056951e94853031055d3e92a 100644 --- a/src/vs/editor/common/config/config.ts +++ b/src/vs/editor/common/config/config.ts @@ -405,6 +405,6 @@ KeybindingsRegistry.registerCommandDesc({ id: 'editor.action.selectAll', handler: selectAll, weight: KeybindingsRegistry.WEIGHT.editorCore(), - when: null, + when: KbExpr.has(editorCommon.KEYBINDING_CONTEXT_EDITOR_TEXT_FOCUS), primary: KeyMod.CtrlCmd | KeyCode.KEY_A });