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
commit 3992e2a76b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 36 additions and 8 deletions

View file

@ -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) })
}