Phials developer documentation
User guide
AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0

ShortcutDefinition

Shortcut definition syntax:

  • “CmdOrCtrl+S” - Platform-dependent (Cmd on Mac, Ctrl on Win/Linux)
  • “Ctrl+Shift+N” - Explicit modifiers
  • “Delete” - Single key
  • { mac: "Cmd+Backspace", default: "Delete" } - Platform-specific

Signature

type ShortcutDefinition = string | PlatformShortcuts;