Update ZenKeyboardShortcuts.mjs

This commit is contained in:
Gunir 2024-10-29 18:20:16 +07:00 committed by GitHub
parent d850d774c0
commit e42847a6c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -751,13 +751,25 @@ function zenGetDefaultShortcuts() {
// Open Settings // Open Settings
newShortcutList.push( newShortcutList.push(
new KeyShortcut( new KeyShortcut(
'zen-next-tab', 'zen-open-settings',
',', ',',
'', '',
ZEN_OTHER_SHORTCUTS_GROUP, ZEN_OTHER_SHORTCUTS_GROUP,
KeyShortcutModifiers.fromObject({ accel: true }), KeyShortcutModifiers.fromObject({ accel: true }),
"code:gBrowser.tabContainer.advanceSelectedTab(1, true);", "code:openPreferences(undefined);",
'zen-shortcut-next-tab' 'zen-shortcut-open-settings'
)
);
// Open CKS Settings
newShortcutList.push(
new KeyShortcut(
'zen-cks-settings',
'/',
'',
ZEN_OTHER_SHORTCUTS_GROUP,
KeyShortcutModifiers.fromObject({ accel: true }),
"code:openPreferences('paneZenCKS');",
'zen-shortcut-cks-settings'
) )
); );