just add as secondary

This commit is contained in:
meganrogge 2024-04-01 11:18:35 -07:00
parent 79b01c410c
commit 563b84c085
No known key found for this signature in database
GPG key ID: AA74638D4878183D

View file

@ -224,16 +224,12 @@ registerActiveXtermAction({
TerminalChatContextKeys.responseContainsCodeBlock,
TerminalChatContextKeys.responseContainsMultipleCodeBlocks.negate()
),
keybinding: [{
keybinding: {
when: TerminalChatContextKeys.requestActive.negate(),
weight: KeybindingWeight.WorkbenchContrib,
primary: KeyMod.Alt | KeyCode.Enter,
secondary: [KeyMod.CtrlCmd | KeyCode.Enter | KeyMod.Alt]
},
{
when: ContextKeyExpr.and(TerminalChatContextKeys.focused, CTX_INLINE_CHAT_FOCUSED),
weight: KeybindingWeight.WorkbenchContrib,
primary: KeyMod.CtrlCmd | KeyCode.Enter | KeyMod.Alt
}],
menu: {
id: MENU_TERMINAL_CHAT_WIDGET_STATUS,
group: '0_main',
@ -265,10 +261,6 @@ registerActiveXtermAction({
weight: KeybindingWeight.WorkbenchContrib,
primary: KeyMod.Alt | KeyCode.Enter,
secondary: [KeyMod.CtrlCmd | KeyCode.Enter | KeyMod.Alt]
}, {
when: ContextKeyExpr.and(TerminalChatContextKeys.focused, CTX_INLINE_CHAT_FOCUSED),
weight: KeybindingWeight.WorkbenchContrib,
primary: KeyMod.CtrlCmd | KeyCode.Enter | KeyMod.Alt
}],
menu: {
id: MENU_TERMINAL_CHAT_WIDGET_STATUS,