feat: add Ctrl+F keybinding for search focus
- Add 'nav.search' action with Ctrl+F default shortcut - Add focusSearch() export to Sidebar that clears and focuses search - Add translations for en/es (Search / Buscar) - Register action handler in +page.svelte
This commit is contained in:
1 parent
18537f9899
commit
6104bbf09d
5 files changed
+28
-2
No files matched your search
@@ -94,6 +94,13 @@ export const ACTIONS: KeybindingAction[] = [
|
||||
defaultShortcut: 'Alt+ArrowRight',
|
||||
description: 'Navigate to next page',
|
||||
},
|
||||
{
|
||||
id: 'nav.search',
|
||||
label: 'Search',
|
||||
category: 'navigation',
|
||||
defaultShortcut: 'Ctrl+f',
|
||||
description: 'Focus search field',
|
||||
},
|
||||
|
||||
// UI
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user