Design system/Foundations
Keyboard shortcuts
A few shortcuts that work everywhere. Each one is read by its physical key (e.code), not by the letter, so it works on a Persian keyboard too.
In codecomponents/command-bar.tsxcomponents/app-header.tsxcomponents/lock.tsx
Contents
⌘/Ctrl + KCommand bar: create an action or a Knowledge page with one line
Every inner page⌘/Ctrl + AJump to Quick add when you're not in a field
Every inner pageShift + L⌘/Ctrl + LLock the app, if the lock is on
Every inner page⌘/Ctrl + BIEKBold, italic, code, and link
Knowledge editorEnterSubmit the form from the title field (multiline too)
FormsShift + EnterNew line in the chat box and notes
Multiline boxes⌘/Ctrl + EnterAdd transaction
Transaction formEscClose the top layer: panel, menu, or dialog
Everywhere↑ ↓HomeEndMove through a picker list
OptionList← →Move between segmented control options
SegmentedRules
- Single-letter shortcuts don't work inside a text field; someone typing shouldn't open something by accident.
- With ⌘ on Mac and Ctrl elsewhere; both are always accepted.
- A new shortcut must use a key the browser doesn't need for something important.
Related pages