Skip to content
Closed
Changes from 2 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
24 changes: 24 additions & 0 deletions src/browser/base/zen-components/ZenKeyboardShortcuts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,30 @@ class ZenKeyboardShortcutsVersioner {
// since it's not used anymore.
data = data.filter((shortcut) => shortcut.getID() != 'zen-toggle-sidebar');
}
if (version < 5) {
data.push(
...[
new KeyShortcut(
'zen-advance-selected-tab-shortcut',
'',
'',
ZEN_OTHER_SHORTCUTS_GROUP,
KeyShortcutModifiers.fromObject({}),
'code:gBrowser.tabContainer.advanceSelectedTab(1, true)',
'zen-advance-selected-tab-shortcut'
),
new KeyShortcut(
'zen-reverse-selected-tab-shortcut',
'',
'',
ZEN_OTHER_SHORTCUTS_GROUP,
KeyShortcutModifiers.fromObject({}),
'code:gBrowser.tabContainer.advanceSelectedTab(-1, true)',
'zen-reverse-selected-tab-shortcut'
),
]
);
}
return data;
}
}
Expand Down
Loading