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

Function keybind

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

Source from the content-addressed store, hash-verified

425 run(id, source)
426 },
427 keybind(id: string) {
428 const config = keybindConfig(id)
429 if (!config) return ""
430 return formatKeybind(config, language.t)
431 },
432 keybindParts(id: string) {
433 const config = keybindConfig(id)
434 return config ? formatKeybindParts(config, language.t) : []

Callers

nothing calls this directly

Calls 2

keybindConfigFunction · 0.85
formatKeybindFunction · 0.85

Tested by

no test coverage detected