Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Hotkeys API Reference
App Hotkeys API Reference
Key hold & held keys API Reference
Hotkey Recorder API Reference
Normalization & format API Reference

TwoModifierHotkeyChord

ts
type TwoModifierHotkeyChord = 
  | `Control+Alt+${Key}`
  | `Control+Shift+${Key}`
  | `Control+Meta+${Key}`
  | `Alt+Shift+${Key}`
  | `Alt+Meta+${Key}`
  | `Shift+Meta+${Key}`
  | `Mod+Alt+${Key}`
  | `Mod+Shift+${Key}`;
type TwoModifierHotkeyChord = 
  | `Control+Alt+${Key}`
  | `Control+Shift+${Key}`
  | `Control+Meta+${Key}`
  | `Alt+Shift+${Key}`
  | `Alt+Meta+${Key}`
  | `Shift+Meta+${Key}`
  | `Mod+Alt+${Key}`
  | `Mod+Shift+${Key}`;

Defined in: hotkey.types.ts:34

Two modifier + key combinations.

Platform-adaptive Mod combinations:

  • Mod+Alt and Mod+Shift are included (safe on all platforms)
  • Mod+Control and Mod+Meta are excluded because they create duplicate modifiers:
    • Mod+Control duplicates Control on Windows/Linux (Mod = Control)
    • Mod+Meta duplicates Meta on macOS (Mod = Meta)