feat: add Alt+↑/↓ keyboard shortcuts to navigate between sessions

This commit is contained in:
Nicolas Varrot
2026-02-12 19:08:00 +00:00
parent 89056884ad
commit 1fc63b4e92
3 changed files with 19 additions and 2 deletions

View File

@@ -98,6 +98,10 @@ export function KeyboardShortcuts({ open, onClose }: Props) {
keys={<><Kbd>{mod}</Kbd><span className="text-zinc-600">+</span><Kbd>K</Kbd></>}
label={t('shortcuts.search')}
/>
<ShortcutRow
keys={<><Kbd>Alt</Kbd><span className="text-zinc-600">+</span><Kbd></Kbd><span className="text-zinc-600">/</span><Kbd></Kbd></>}
label={t('shortcuts.switchSession')}
/>
<ShortcutRow
keys={<Kbd>Esc</Kbd>}
label={t('shortcuts.closeSidebar')}