Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/vs/sessions/contrib/sessions/browser/sessionsActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ registerAction2(class GoBackAction extends Action2 {
category: SessionsCategories.Sessions,
precondition: CanGoBackContext,
keybinding: {
weight: KeybindingWeight.WorkbenchContrib,
// Higher than `WorkbenchContrib` so the `Ctrl+Shift+Tab` secondary wins over the
// editor quick-open actions (which bind the same chord at `WorkbenchContrib`).
weight: KeybindingWeight.WorkbenchContrib + 1,
win: { primary: KeyMod.Alt | KeyCode.LeftArrow, secondary: [KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.Tab] },
mac: { primary: KeyMod.WinCtrl | KeyCode.Minus, secondary: [KeyMod.WinCtrl | KeyMod.Shift | KeyCode.Tab] },
linux: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Minus, secondary: [KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.Tab] },
Expand Down Expand Up @@ -169,7 +171,9 @@ registerAction2(class GoForwardAction extends Action2 {
category: SessionsCategories.Sessions,
precondition: CanGoForwardContext,
keybinding: {
weight: KeybindingWeight.WorkbenchContrib,
// Higher than `WorkbenchContrib` so the `Ctrl+Tab` secondary wins over the
// editor quick-open actions (which bind the same chord at `WorkbenchContrib`).
weight: KeybindingWeight.WorkbenchContrib + 1,
win: { primary: KeyMod.Alt | KeyCode.RightArrow, secondary: [KeyMod.CtrlCmd | KeyCode.Tab] },
mac: { primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.Minus, secondary: [KeyMod.WinCtrl | KeyCode.Tab] },
linux: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.Minus, secondary: [KeyMod.CtrlCmd | KeyCode.Tab] },
Expand Down
Loading