Skip to content

Commit

Permalink
Merge pull request microsoft#195415 from microsoft/merogge/next-code-…
Browse files Browse the repository at this point in the history
…block

align next/previous codeblock keybindings w those of notebook output editors
  • Loading branch information
meganrogge authored and Alex0007 committed Oct 26, 2023
2 parents 8504b37 + fc7bde6 commit 9f6416e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,8 @@ export function registerChatCodeBlockActions() {
original: 'Next Code Block'
},
keybinding: {
primary: KeyCode.F9,
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown,
mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown, },
weight: KeybindingWeight.WorkbenchContrib,
when: CONTEXT_IN_CHAT_SESSION,
},
Expand All @@ -498,7 +499,8 @@ export function registerChatCodeBlockActions() {
original: 'Previous Code Block'
},
keybinding: {
primary: KeyMod.Shift | KeyCode.F9,
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp,
mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp, },
weight: KeybindingWeight.WorkbenchContrib,
when: CONTEXT_IN_CHAT_SESSION,
},
Expand Down

0 comments on commit 9f6416e

Please sign in to comment.