Retrieves all shortcuts in a specific category; useful for UI organization by category.
The category to filter by.
Array of shortcuts in the specified category.
export function getShortcutsByCategory(category: ShortcutCategory): Shortcut[] { return SHORTCUTS.filter((shortcut) => shortcut.category === category);} Copy
export function getShortcutsByCategory(category: ShortcutCategory): Shortcut[] { return SHORTCUTS.filter((shortcut) => shortcut.category === category);}
Retrieves all shortcuts in a specific category; useful for UI organization by category.