Skip to content

Commit 7a6ee40

Browse files
authored
align refactor preview keybindings (microsoft#208322)
change preview keybindings
1 parent fac8079 commit 7a6ee40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/editor/contrib/rename/browser/rename.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ registerEditorCommand(new RenameCommand({
466466
kbOpts: {
467467
weight: KeybindingWeight.EditorContrib + 99,
468468
kbExpr: ContextKeyExpr.and(EditorContextKeys.focus, ContextKeyExpr.not('isComposing')),
469-
primary: KeyMod.Shift + KeyCode.Enter
469+
primary: KeyMod.CtrlCmd + KeyCode.Enter
470470
}
471471
}));
472472

src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ registerAction2(class ApplyAction extends Action2 {
178178
keybinding: {
179179
weight: KeybindingWeight.EditorContrib - 10,
180180
when: ContextKeyExpr.and(BulkEditPreviewContribution.ctxEnabled, FocusedViewContext.isEqualTo(BulkEditPane.ID)),
181-
primary: KeyMod.Shift + KeyCode.Enter,
181+
primary: KeyMod.CtrlCmd + KeyCode.Enter,
182182
}
183183
});
184184
}

0 commit comments

Comments
 (0)