(id: string)
| 414 | } |
| 415 | |
| 416 | const keybindConfig = (id: string) => { |
| 417 | if (id === PALETTE_ID) return settings.keybinds.get(PALETTE_ID) ?? DEFAULT_PALETTE_KEYBIND |
| 418 | const base = actionId(id) |
| 419 | return options().find((x) => actionId(x.id) === base)?.keybind ?? bind(base, catalog[base]?.keybind) |
| 420 | } |
| 421 | |
| 422 | return { |
| 423 | register, |