MCPcopy
hub / github.com/codeaashu/claude-code / getReservedShortcuts

Function getReservedShortcuts

src/keybindings/reservedShortcuts.ts:73–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 * Includes non-rebindable shortcuts and terminal-reserved shortcuts.
72 */
73export function getReservedShortcuts(): ReservedShortcut[] {
74 const platform = getPlatform()
75 // Non-rebindable shortcuts first (highest priority)
76 const reserved = [...NON_REBINDABLE, ...TERMINAL_RESERVED]
77
78 if (platform === 'macos') {
79 reserved.push(...MACOS_RESERVED)
80 }
81
82 return reserved
83}
84
85/**
86 * Normalize a key string for comparison (lowercase, sorted modifiers).

Callers 1

checkReservedShortcutsFunction · 0.85

Calls 2

getPlatformFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected