Skip to content

Commit b8c44fb

Browse files
authored
Change cmd+. to open mode picker instead of toggle model (microsoft#255584)
1 parent 77aca05 commit b8c44fb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,6 @@ class ToggleChatModeAction extends Action2 {
207207
ChatContextKeys.enabled,
208208
ChatContextKeys.requestInProgress.negate()),
209209
tooltip: localize('setChatMode', "Set Mode"),
210-
keybinding: {
211-
when: ContextKeyExpr.and(
212-
ChatContextKeys.inChatInput,
213-
ChatContextKeys.location.isEqualTo(ChatAgentLocation.Panel)),
214-
primary: KeyMod.CtrlCmd | KeyCode.Period,
215-
weight: KeybindingWeight.EditorContrib
216-
},
217210
menu: [
218211
{
219212
id: MenuId.ChatInput,
@@ -387,6 +380,13 @@ class OpenModePickerAction extends Action2 {
387380
category: CHAT_CATEGORY,
388381
f1: false,
389382
precondition: ChatContextKeys.enabled,
383+
keybinding: {
384+
when: ContextKeyExpr.and(
385+
ChatContextKeys.inChatInput,
386+
ChatContextKeys.location.isEqualTo(ChatAgentLocation.Panel)),
387+
primary: KeyMod.CtrlCmd | KeyCode.Period,
388+
weight: KeybindingWeight.EditorContrib
389+
},
390390
});
391391
}
392392

0 commit comments

Comments
 (0)