Keyboard
The Keyboard APIs are useful to make your actions accessible via the keyboard shortcuts. Shortcuts help users to use your command without touching the mouse.
Types
Keyboard.Shortcut
A keyboard shortcut is defined by one or more modifier keys (command, control, etc.) and a single key equivalent (a character or special key).
See KeyModifier and KeyEquivalent for supported values.
Example
Properties
key*
The key of the keyboard shortcut.
modifiers*
The modifier keys of the keyboard shortcut.
Keyboard.Shortcut.Common
A collection of shortcuts that are commonly used throughout Raycast. Using them should help provide a more consistent experience and preserve muscle memory.
Copy
โ + โง + C
CopyDeeplink
โ + โง + C
CopyName
โ + โง + .
CopyPath
โ + โง + ,
Duplicate
โ + D
Edit
โ + E
MoveDown
โ + โง + โ
MoveUp
โ + โง + โ
New
โ + N
Open
โ + O
OpenWith
โ + โง + O
Pin
โ + โง + P
Refresh
โ + R
Remove
โ + X
RemoveAll
โ + โง + X
ToggleQuickLook
โ + Y
Keyboard.KeyEquivalent
KeyEquivalent of a Shortcut
Keyboard.KeyModifier
Modifier of a Shortcut
Last updated