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

ConflictBehavior

Type Alias: ConflictBehavior

ts
type ConflictBehavior = "warn" | "error" | "replace" | "allow";
type ConflictBehavior = "warn" | "error" | "replace" | "allow";

Defined in: manager.utils.ts:11

Behavior when registering a hotkey/sequence that conflicts with an existing registration.

  • 'warn' - Log a warning to the console but allow both registrations (default)
  • 'error' - Throw an error and prevent the new registration
  • 'replace' - Unregister the existing registration and register the new one
  • 'allow' - Allow multiple registrations without warning