mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-07 07:16:41 +01:00
Make "open in search editor" keybinding only apply to mac
This commit is contained in:
@@ -639,7 +639,7 @@ registry.registerWorkbenchAction(SyncActionDescriptor.create(ClearSearchResultsA
|
||||
|
||||
registry.registerWorkbenchAction(
|
||||
SyncActionDescriptor.create(OpenResultsInEditorAction, OpenResultsInEditorAction.ID, OpenResultsInEditorAction.LABEL,
|
||||
{ primary: KeyMod.CtrlCmd | KeyCode.Enter },
|
||||
{ mac: { primary: KeyMod.CtrlCmd | KeyCode.Enter } },
|
||||
ContextKeyExpr.and(Constants.HasSearchResults, Constants.SearchViewFocusedKey, Constants.EnableSearchEditorPreview)),
|
||||
'Search: Open Results in Editor', category,
|
||||
ContextKeyExpr.and(Constants.EnableSearchEditorPreview));
|
||||
|
||||
Reference in New Issue
Block a user