feat: add Cmd+, keyboard shortcut to open settings
This commit is contained in:
2 files changed
+8
No files matched your search
@@ -102,6 +102,13 @@ export const ACTIONS: KeybindingAction[] = [
|
||||
defaultShortcut: 'Ctrl+f',
|
||||
description: 'Focus search field',
|
||||
},
|
||||
{
|
||||
id: 'nav.settings',
|
||||
label: 'Settings',
|
||||
category: 'navigation',
|
||||
defaultShortcut: 'Ctrl+,',
|
||||
description: 'Open settings',
|
||||
},
|
||||
|
||||
// UI
|
||||
{
|
||||
|
||||
@@ -4001,6 +4001,7 @@
|
||||
sidebarRef?.focusSearch();
|
||||
}
|
||||
});
|
||||
registerAction('nav.settings', () => navigateTo('settings'));
|
||||
registerAction('ui.sidebar', toggleSidebar);
|
||||
registerAction('ui.focusMode', toggleFocusMode);
|
||||
registerAction('ui.miniPlayer', () => { void enterMiniplayerMode(); });
|
||||
|
||||
Reference in new issue
Block a user