Skip to content

Commit c00b75d

Browse files
authored
also use Y and N based keybindings for inline chat 2 (microsoft#251294)
1 parent ba80bf2 commit c00b75d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,10 @@ class KeepOrUndoSessionAction extends AbstractInline2ChatAction {
625625
icon: _keep ? Codicon.check : Codicon.discard,
626626
precondition: ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, ctxHasRequestInProgress.negate()),
627627
keybinding: [{
628-
weight: KeybindingWeight.WorkbenchContrib,
628+
weight: KeybindingWeight.WorkbenchContrib + 10, // win over new-window-action
629629
primary: _keep
630-
? KeyMod.CtrlCmd | KeyCode.Enter
631-
: KeyMod.CtrlCmd | KeyCode.Backspace
630+
? KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY
631+
: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyN
632632
}],
633633
menu: [{
634634
id: MENU_INLINE_CHAT_WIDGET_STATUS,

0 commit comments

Comments
 (0)