Make "open in search editor" keybinding only apply to mac

This commit is contained in:
Jackson Kearl
2019-11-25 18:51:33 -08:00
parent 7c9a63f6b6
commit 52bdec0d4e
@@ -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));