MCPcopy Create free account
hub / github.com/anomalyco/opencode / isAllowedEditableKeybind

Function isAllowedEditableKeybind

packages/app/src/context/command.tsx:60–63  ·  view source on GitHub ↗
(id: string | undefined)

Source from the content-addressed store, hash-verified

58}
59
60function isAllowedEditableKeybind(id: string | undefined) {
61 if (!id) return false
62 return EDITABLE_KEYBIND_IDS.has(actionId(id))
63}
64
65export type KeybindConfig = string
66

Callers 1

handleKeyDownFunction · 0.85

Calls 1

actionIdFunction · 0.85

Tested by

no test coverage detected