MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / getKeymapBinding

Function getKeymapBinding

packages/app-core/src/lib/keymaps.ts:1064–1070  ·  view source on GitHub ↗
(
  overrides: KeymapOverrides | null | undefined,
  id: KeymapId,
)

Source from the content-addressed store, hash-verified

1062}
1063
1064export function getKeymapBinding(
1065 overrides: KeymapOverrides | null | undefined,
1066 id: KeymapId,
1067): string {
1068 const override = overrides?.[id];
1069 return override || getDefaultKeymapBinding(id);
1070}
1071
1072export function getSequenceTokens(
1073 overrides: KeymapOverrides | null | undefined,

Callers 15

handlerFunction · 0.90
handlerFunction · 0.90
buildEditorKeymapFunction · 0.90
KeymapSettingsFunction · 0.90
handlerFunction · 0.90
paneMapBindingsFunction · 0.90
syncVimKeymapsFunction · 0.90
handlerFunction · 0.90
handlerFunction · 0.90
handleSidebarKeyFunction · 0.90
handleNoteListKeyFunction · 0.90
handleConnectionsKeyFunction · 0.90

Calls 1

getDefaultKeymapBindingFunction · 0.85

Tested by

no test coverage detected