Keyboard shortcuts
Postino is built to be used from the keyboard. On macOS, use ⌘ wherever Linux and Windows use Ctrl.
General
| Action | Linux and Windows | macOS |
|---|---|---|
| Open the command palette | Ctrl K | ⌘ K |
| New request | Ctrl N | ⌘ N |
| Open a folder as the workspace | Ctrl O | ⌘ O |
| Import OpenAPI, Postman or Bruno | Ctrl Shift O | ⌘ Shift O |
| Open Settings | Ctrl , | ⌘ , |
| Show keyboard shortcuts | F1 | ⌘ Shift / |
| Open the menu of the active tab, or of the environment selected in the Environments panel | Shift F10 or the Menu key | Shift F10 |
| Close the tab | Ctrl W | ⌘ W |
| Next tab | Ctrl Tab | Ctrl Tab |
| Previous tab | Ctrl Shift Tab | Ctrl Shift Tab |
Requests
| Action | Linux and Windows | macOS |
|---|---|---|
| Send the request | Ctrl Enter | ⌘ Enter |
| Save | Ctrl S | ⌘ S |
| Show suggestions: variables, header names and values, script globals and members | Ctrl Space | Ctrl Space |
| Duplicate the line in a code editor | Ctrl D | ⌘ D |
| Delete the line in a code editor | Ctrl Alt D | ⌘ Option D |
| Undo the last edit of the request | Ctrl Z | ⌘ Z |
| Redo | Ctrl Shift Z or Ctrl Y | ⌘ Shift Z |
| Cancel an OAuth sign-in in progress | Esc | Esc |
Ctrl S also saves an environment open in the environment editor.
Ctrl Space works in the URL, in the values of the Params, Headers and Form tables, in the fields of the Auth tab, in the header names and in the pre-request and post-response script editors, and is Ctrl on macOS too. While its menu is open, ↑ and ↓ move through the suggestions, Enter or Tab inserts the highlighted one and Esc closes it. See autocompleting variables, suggested headers and script autocompletion.
The line shortcuts work in the code editors: the body, the pre-request and post-response scripts and the Docs tab. See editing shortcuts.
Undo and redo use the request tab's own history in the URL, the table cells, the Auth fields and outside text fields; in the body, script and Docs editors they undo the editor's own typing first. See undo and redo.
Sidebar
| Action | Linux and Windows | macOS |
|---|---|---|
| Show or hide Collections | Alt 1 | Ctrl 1 |
| Show or hide Source Control | Alt 2 | Ctrl 2 |
| Show or hide Environments | Alt 3 | Ctrl 3 |
| Show or hide Load tests | Alt 4 | Ctrl 4 |
| Commit, in the commit message of Source Control | Ctrl Enter | ⌘ Enter |
| Rename the selected request or folder | F2 | F2 |
| Delete the selected request or folder | Delete | Delete (Fn ⌫) |
| Select several requests or folders to move them together | Ctrl + click | ⌘ + click |
The first three work anywhere in the window, even while typing, and do the same as clicking that section's button in the activity rail: the active section hides the sidebar, another one switches to it. On macOS they use Ctrl, because ⌥ with a digit types characters such as @ or # on many keyboard layouts.
The commit shortcut runs the Default commit action of the Git settings: Commit, or Commit and Push. See Committing.
Rename and Delete work while the sidebar tree has the focus, after clicking an entry, and act on that entry only. Delete asks for confirmation first. The context menu shows them next to Rename and Delete.
Branch menu
Click the branch in the status bar, or choose Git: Checkout branch in the command palette, to open it. See Branches.
| Key | Action |
|---|---|
| ↑ ↓ | Move through the branches and actions |
| Enter | Check out the highlighted branch, or run the highlighted action |
| Ctrl Enter (⌘ Enter on macOS) | Create a branch named like the search text, from the current branch |
| Esc | Close the menu |
Git diff
These keys work while the diff tab has the focus, which it takes when it opens a file or becomes the active tab.
| Key | Action |
|---|---|
| F7 | Go to the next block of changes. On the last one, a second press opens the next file's diff |
| Shift F7 | Go to the previous block of changes. On the first one, a second press opens the previous file's diff |
| F4 | Open the file at the current block: a request on the tab and line of the change, an environment, or any other file in its system application |
Git log
These keys work in the commit list of the Git log tab after clicking a commit, and select the commit they move to, showing its detail.
| Key | Action |
|---|---|
| ↑ ↓ | Select the previous or next commit |
| Page Up Page Down | Move one screen up or down |
| Home End | Select the first or last loaded commit. The list loads 200 commits at a time, so End may load more and can be pressed again |
Console tree
These keys work in the tree of the network entry of the Console tab after clicking a row, and select the row they move to.
| Key | Action |
|---|---|
| ↑ ↓ | Select the previous or next row |
| → | Open the selected branch, or select its first row when it is open |
| ← | Close the selected branch, or select its parent |
| Home End | Select the first or last row |
| Ctrl C (⌘ C on macOS) | Copy the value of the selected row |
Environments
| Action | Linux and Windows | macOS |
|---|---|---|
| Select environment 1 to 9 | Ctrl 1 … Ctrl 9 | ⌘ 1 … ⌘ 9 |
| No environment | Ctrl 0 | ⌘ 0 |
| Move the environment up or down | Alt ↑ / Alt ↓ | ⌥ ↑ / ⌥ ↓ |
Environments are numbered in the order of the list, the same order as the environment picker, which shows each shortcut next to its environment. Moving an environment up or down works while its tab is the active one.
Load tests
| Action | Linux and Windows | macOS |
|---|---|---|
| Copy the results summary as Markdown | Ctrl Shift C | ⌘ Shift C |
It works while a load test tab is active and its run has finished, and does the same as Copy summary as Markdown in the Export menu: the numbers of the selected window, or of the whole run when none is selected. Copying text in an input keeps using Ctrl C (⌘ C). See load testing.
Command palette
| Key | Action |
|---|---|
| ↑ ↓ | Move through the results |
| Enter | Open the request, switch to the environment or run the action |
| Esc | Close the palette |
Response body
While the response body has the focus, after clicking it. See Responses.
| Action | Linux and Windows | macOS |
|---|---|---|
| Open the find bar | Ctrl F | ⌘ F |
| Next or previous match | Enter, Shift Enter (or F3, Shift F3) | Enter, Shift Enter (or F3, Shift F3) |
| Repeat the last search with the find bar closed | F3, Shift F3 | F3, Shift F3 |
| Match case, whole words, regular expression, find in selection (in the find bar) | Alt C, Alt W, Alt X, Alt L | Alt C, Alt W, Alt X, Alt L |
| Previous or next search of the session (in a field of the find bar) | Alt ↑, Alt ↓ | Alt ↑, Alt ↓ |
| Close the find bar | Esc | Esc |
| Fold or unfold the block at the cursor | Ctrl Shift [, Ctrl Shift ] | ⌘ Alt [, ⌘ Alt ] |
| Wrap long lines | Alt Z | Alt Z |
| Select all, copy | Ctrl A, Ctrl C | ⌘ A, ⌘ C |
The request body, the scripts and the Docs tab have the same find bar, with a replace row: Ctrl H or Ctrl R (⌘ Alt F or ⌘ R on macOS) opens it, Enter in its field replaces the selected match, Ctrl Alt Enter (⌘ Alt Enter) replaces every match and Alt P keeps the case of each match. Alt ↑ and Alt ↓ go through the replacements of the session too.
Code dialog
While the dialog has the focus, not its code, as when it opens. Click the code to select part of it: then the arrow keys move the caret and Ctrl C copies the selection. See Code snippets.
| Action | Linux and Windows | macOS |
|---|---|---|
| Show the previous or next language | ← → | ← → |
| Copy the whole snippet | Ctrl C | ⌘ C |
| Close the dialog | Esc | Esc |
Text editing
Inputs and code editors support the usual editing keys of your platform: select all, cut, copy, paste, undo and redo (in the request editor, see undo and redo), word navigation with Ctrl or Alt and the arrow keys. Right click an input for a menu with Undo, Redo, Cut, Copy, Paste and Select all. In a read only text only Copy and Select all show, and Cut and Copy are disabled with no selection or with a hidden secret. In the response body, the search button opens a find bar (see Response body). The cells of the response Headers table are selectable too: drag or double click to select, then Ctrl C (⌘ C on macOS) copies the selection.
Cheat sheet
Inside Postino, press F1 (⌘ Shift / on macOS) or click the keyboard button in the status bar to see these shortcuts at any time. Type in its Filter shortcuts field to find one.
Shortcuts cannot be customized yet.