MCPcopy Index your code
hub / github.com/codeaashu/claude-code / normalizeKeyForComparison

Function normalizeKeyForComparison

src/keybindings/reservedShortcuts.ts:91–93  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

89 * overwritten by the next step, collapsing the chord into its last key.
90 */
91export function normalizeKeyForComparison(key: string): string {
92 return key.trim().split(/\s+/).map(normalizeStep).join(' ')
93}
94
95function normalizeStep(step: string): string {
96 const parts = step.split('+')

Callers 3

checkDuplicatesFunction · 0.85
checkReservedShortcutsFunction · 0.85
filterReservedShortcutsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected