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

Function getKeymapDisplay

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

Source from the content-addressed store, hash-verified

1464}
1465
1466export function getKeymapDisplay(
1467 overrides: KeymapOverrides | null | undefined,
1468 id: KeymapId,
1469): string {
1470 const definition = getKeymapDefinition(id);
1471 return formatKeymapBinding(getKeymapBinding(overrides, id), definition.kind);
1472}
1473
1474export function describeCurrentBinding(
1475 overrides: KeymapOverrides | null | undefined,

Callers 7

EditorPaneFunction · 0.90
ToggleGroupFunction · 0.90
KeymapSettingsFunction · 0.90
VimNavFunction · 0.90
shortcutFunction · 0.90
shortcutFunction · 0.90
describeCurrentBindingFunction · 0.85

Calls 3

getKeymapDefinitionFunction · 0.85
formatKeymapBindingFunction · 0.85
getKeymapBindingFunction · 0.85

Tested by

no test coverage detected