Skip to content

@inklu/keys

A command system for the web: typed commands, remappable keybindings, scopes, sequences, conflict detection and platform-aware display.

Full reference
$
pnpm add @inklu/keys

Press a shortcut

Commands fired

  • Try GthenI or CtrlS
Shortcuts
  • Open command paletteglobal
  • Close palettescope: palette
  • Toggle themeglobal
  • Save documentglobal
  • New documentglobal
  • Go to inboxglobal
  • Go to settingsglobal
  • Duplicate lineglobal
  • Confirm dialogscope: demo-dialog
  • Close dialogscope: demo-dialog
scope: global

Press CtrlS or Save, then try again with the dialog open.