MCPcopy Index your code
hub / github.com/anomalyco/opencode / keybindParts

Function keybindParts

packages/app/src/context/command.tsx:432–435  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

430 return formatKeybind(config, language.t)
431 },
432 keybindParts(id: string) {
433 const config = keybindConfig(id)
434 return config ? formatKeybindParts(config, language.t) : []
435 },
436 show: showPalette,
437 keybinds(enabled: boolean) {
438 setStore("suspendCount", (count) => Math.max(0, count + (enabled ? -1 : 1)))

Callers

nothing calls this directly

Calls 2

keybindConfigFunction · 0.85
formatKeybindPartsFunction · 0.85

Tested by

no test coverage detected