Keyboard shortcuts
The keyboard shortcuts for Relay's commands.
Overview
Most of Relay's commands have keyboard shortcuts. Commands for the selected request are in the Request menu, and they act on the request in the frontmost window.
Windows and requests
| Command | Shortcut |
|---|---|
| New Window | ⌘N |
| New Tab | ⌘T |
| New Draft Request | ⇧⌘N |
| New WebSocket Draft | ⌥⇧⌘N |
| New Collection | ⇧⌘C |
| Open Workspace… | ⌘O |
| Import > cURL Command… | ⇧⌘I |
| Settings… | ⌘, |
| Relay Help | ⌘? |
Sending
| Command | Shortcut |
|---|---|
| Send Request | ⌘↩ |
| Cancel Request | ⌘. |
| Stop Stream, for a server-sent event stream | ⌘. |
| Connect, for a WebSocket request | ⌘↩ |
| Send Message, for an open WebSocket connection | ⌘↩ |
| Disconnect, for an open WebSocket connection | ⌘. |
| Duplicate Request | ⌘D |
Request editor tabs
These commands are in View > Jump to.
| Tab | Shortcut |
|---|---|
| Documentation | ⌘1 |
| Params | ⌘2 |
| Auth | ⌘3 |
| Headers | ⌘4 |
| Body, or Messages for a WebSocket request | ⌘5 |
| Scripts | ⌘6 |
| Settings | ⌘7 |
Sidebar
| Action | Shortcut |
|---|---|
| Rename the selected item | ↩ |
| Delete the selected item | ⌫ |
| Copy an item instead of moving it | Hold ⌥ while dragging |
Settings window
| Action | Shortcut |
|---|---|
| Go back to the previous pane | ⌘[ |
| Go forward | ⌘] |
| Save the generator you're editing in the Exporters pane | ⌘S |
Completions
When a completion list is open in the script editor or in a header name field:
| Action | Shortcut |
|---|---|
| Move through the suggestions | ↑ ↓ |
| Accept the selected suggestion | ↩, or ⇥ in the script editor |
| Close the list | ⎋ |
| Show suggestions in the script editor | ⌥⎋ |
See Also
- Getting started with Relay: Learn the parts of Relay's window and how they work together.
- Sending, stopping, and replaying requests: Send a request, stop one that's in progress and send a past request again.