Skip to content

Commit 6f9263f

Browse files
authored
Add keybinding for "Clear Chat Session" (microsoft#182467)
1 parent 9084e08 commit 6f9263f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/vs/workbench/contrib/interactiveSession/browser/actions/interactiveSessionActions.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,19 @@ export function registerInteractiveSessionActions() {
212212
},
213213
category: INTERACTIVE_SESSION_CATEGORY,
214214
icon: Codicon.clearAll,
215-
f1: true
215+
f1: true,
216+
keybinding: {
217+
weight: KeybindingWeight.WorkbenchContrib,
218+
primary: KeyMod.WinCtrl | KeyCode.KeyL,
219+
when: CONTEXT_IN_INTERACTIVE_SESSION,
220+
mac: {
221+
primary: KeyMod.WinCtrl | KeyCode.KeyL,
222+
secondary: [KeyMod.CtrlCmd | KeyCode.KeyK]
223+
}
224+
}
216225
});
217226
}
227+
218228
async run(accessor: ServicesAccessor, ...args: any[]) {
219229
const widgetService = accessor.get(IInteractiveSessionWidgetService);
220230

0 commit comments

Comments
 (0)