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
Hotkeys API Reference

HotkeySequence

ts
type HotkeySequence = ReadonlyArray<HotkeyChord>;
type HotkeySequence = ReadonlyArray<HotkeyChord>;

Defined in: hotkey.types.ts:209

A sequence of chord strings pressed one after another (Vim-style), such as ['G', 'G']. Registered sequences are stored in this form. To register steps written as objects, see RegisterableHotkeySequence.

Steps may include modifiers; the same modifier can appear on consecutive steps (e.g. ['Shift+R', 'Shift+T']). Modifier-only key events do not advance or reset matching. Automatic repeats and IME composition are ignored. A one-step sequence is treated as its single chord.