Fix some chat keybindings on windows (#183896)

This commit is contained in:
Rob Lourens 2023-05-30 23:54:20 -07:00 committed by GitHub
parent 7b87b701eb
commit 67a1ca676e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -59,7 +59,10 @@ export function registerClearActions() {
f1: true,
keybinding: {
weight: KeybindingWeight.WorkbenchContrib,
primary: KeyMod.WinCtrl | KeyCode.KeyL,
primary: KeyMod.CtrlCmd | KeyCode.KeyL,
mac: {
primary: KeyMod.WinCtrl | KeyCode.KeyL
},
when: CONTEXT_IN_CHAT_SESSION
}
});

View file

@ -317,9 +317,9 @@ export function registerChatCodeBlockActions() {
isHiddenByDefault: true,
},
keybinding: {
primary: KeyMod.WinCtrl | KeyCode.Enter,
win: {
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Enter
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Enter,
mac: {
primary: KeyMod.WinCtrl | KeyCode.Enter,
},
weight: KeybindingWeight.EditorContrib
}