@@ -21,7 +21,7 @@ import { RawContextKey, IContextKey, IContextKeyService, ContextKeyExpr } from '
21
21
import { IFileService } from 'vs/platform/files/common/files' ;
22
22
import { KeybindingsRegistry , KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry' ;
23
23
import { KeyMod , KeyCode , KeyChord } from 'vs/base/common/keyCodes' ;
24
- import { isWindows } from 'vs/base/common/platform' ;
24
+ import { isWeb , isWindows } from 'vs/base/common/platform' ;
25
25
import { ITextModelService } from 'vs/editor/common/services/resolverService' ;
26
26
import { getResourceForCommand , getMultiSelectedResources , getOpenEditorsViewMultiSelection , IExplorerService } from 'vs/workbench/contrib/files/browser/files' ;
27
27
import { IWorkspaceEditingService } from 'vs/workbench/services/workspaces/common/workspaceEditing' ;
@@ -663,7 +663,8 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
663
663
KeybindingsRegistry . registerCommandAndKeybindingRule ( {
664
664
weight : KeybindingWeight . WorkbenchContrib ,
665
665
when : null ,
666
- primary : KeyMod . CtrlCmd | KeyCode . KEY_N ,
666
+ primary : isWeb ? ( KeyMod . CtrlCmd | KeyMod . Alt | KeyCode . KEY_N ) : KeyMod . CtrlCmd | KeyCode . KEY_N ,
667
+ secondary : isWeb ? [ KeyMod . CtrlCmd | KeyCode . KEY_N ] : undefined ,
667
668
id : NEW_UNTITLED_FILE_COMMAND_ID ,
668
669
description : {
669
670
description : NEW_UNTITLED_FILE_LABEL ,
0 commit comments