feat(app): add ctrl/cmd+number keybinds to switch projects (#26280)

This commit is contained in:
Brendan Allan
2026-05-12 14:43:07 +08:00
committed by GitHub
parent ea6eabe1d9
commit 3992e2a76b
5 changed files with 36 additions and 8 deletions
@@ -123,11 +123,13 @@ function listFor(command: CommandContext, map: KeybindMap, palette: string) {
for (const opt of command.catalog) {
if (opt.id.startsWith("suggested.")) continue
if (opt.hidden) continue
out.set(opt.id, { title: opt.title, group: groupFor(opt.id) })
}
for (const opt of command.options) {
if (opt.id.startsWith("suggested.")) continue
if (opt.hidden) continue
out.set(opt.id, { title: opt.title, group: groupFor(opt.id) })
}