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

Function shortcut

packages/app-core/src/components/HelpView.tsx:29–31  ·  view source on GitHub ↗
(overrides: KeymapOverrides, id: KeymapId)

Source from the content-addressed store, hash-verified

27}
28
29function shortcut(overrides: KeymapOverrides, id: KeymapId): string {
30 return getKeymapDisplay(overrides, id)
31}
32
33function leaderShortcut(overrides: KeymapOverrides, id: KeymapId): string {
34 return `${shortcut(overrides, 'vim.leaderPrefix')} ${shortcut(overrides, id)}`

Callers 5

leaderShortcutFunction · 0.70
paneShortcutFunction · 0.70
resolveShortcutKeysFunction · 0.70
resolveVimCommandLabelFunction · 0.70
HelpViewFunction · 0.70

Calls 1

getKeymapDisplayFunction · 0.90

Tested by

no test coverage detected