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
API Reference
Hotkeys API Reference
Hotkey Sequence API Reference
Key Hold API Reference
Held Keys API Reference
Hotkey Recorder API Reference
Hotkey Sequence Recorder API Reference
Format for Display API Reference
Hotkeys API Reference

ConflictBehavior

Type Alias: ConflictBehavior

ts
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