mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 04:29:58 +02:00
feat(zen-sidebar): Add shortcut to reset pinned tabs
This commit adds a new keyboard shortcut to reset pinned tabs in the zen sidebar. The new shortcut is grouped under "Other Zen Features" in the keybinding manager.
This commit is contained in:
parent
2e37d6ce0b
commit
b8938b444d
1 changed files with 11 additions and 0 deletions
|
@ -642,6 +642,17 @@ function zenGetDefaultShortcuts() {
|
||||||
'zen-sidebar-shortcut-toggle'
|
'zen-sidebar-shortcut-toggle'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
newShortcutList.push(
|
||||||
|
new KeyShortcut(
|
||||||
|
'zen-pinned-tab-reset-shortcut',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
ZEN_OTHER_SHORTCUTS_GROUP,
|
||||||
|
KeyShortcutModifiers.fromObject({}),
|
||||||
|
'code:gZenPinnedTabManager.resetPinnedTab(gBrowser.selectedTab)',
|
||||||
|
'zen-pinned-tab-shortcut-reset'
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
// Split view
|
// Split view
|
||||||
newShortcutList.push(
|
newShortcutList.push(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue