Skip to content

Commit

Permalink
Fixes #8794: Bind ctrlCmd+a only when editor has text focus
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Jul 15, 2016
1 parent 6df9ae9 commit 151d236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/common/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
});

0 comments on commit 151d236

Please sign in to comment.