Keyboard shortcuts
Every Gatesys SSH keyboard shortcut for macOS, Windows and Linux: terminal tabs, local terminals, Farabi, the command palette, SFTP and the host editor.
Shortcuts use ⌘ on macOS and Ctrl on Windows and Linux.
Windows and Linux: the shell comes first
Inside a focused terminal, Ctrl plus a letter belongs to the shell (CtrlW deletes a word, CtrlK cuts to the end of the line). That is why the terminal’s own tab shortcuts add Shift, and why the shortcuts under Anywhere apply when a terminal does not have focus. From a terminal, click the search box on the right of the title bar to open the palette.
The one exception is CtrlI, which shows or folds Farabi even in a focused terminal. The shell loses nothing: CtrlI sends the same code as Tab, which still works.
Anywhere
| Action | macOS | Windows and Linux |
|---|---|---|
| Open the command palette | ⌘K | CtrlK |
| New host | ⌘N | CtrlN |
| New local terminal on this computer | ⌘ShiftT | CtrlShift` |
| Find in the terminal | ⌘F | CtrlF |
| Close the active session | ⌘W (in a terminal, once one tab is left) | CtrlW, or the × on its title-bar tab |
Import from ~/.ssh/config…, New Local Terminal and Check for Updates… are in the File menu. The local-terminal shortcut works even with a terminal focused.
Terminal
| Action | macOS | Windows and Linux |
|---|---|---|
| New terminal tab (Pro) | ⌘T | CtrlShiftT |
| Close the terminal tab | ⌘W | CtrlShiftW |
| Go to tab 1 to 9 | ⌘1 … ⌘9 | CtrlShift1 … 9 |
| Next tab | CtrlTab or ⌘Shift] | CtrlTab |
| Previous tab | CtrlShiftTab or ⌘Shift[ | CtrlShiftTab |
| Show or fold Farabi | ⌘I | CtrlI |
More than one terminal per session is part of Gatesys Pro. Without it, the new-tab shortcut opens a card that says so, with Get Pro, instead of a tab. See Terminal. Farabi’s panel starts folded; the shortcut shows it.
Health panel
| Action | Key |
|---|---|
| Close the Health panel | Esc |
Find bar
| Action | Key |
|---|---|
| Next match | Enter |
| Previous match | ShiftEnter |
| Close | Esc |
Farabi
| Action | Key |
|---|---|
| Send the question | Enter |
| New line in the question | ShiftEnter |
| Stop the answer | Esc |
| Show or fold the panel | ⌘I on macOS, CtrlI on Windows and Linux |
| Resize the panel (edge focused) | ← wider, → narrower, with Shift for bigger steps |
| Move through the model, effort or language menu | ↑ / ↓ |
| Close the model, effort or language menu | Esc |
| Run a critical command, once the host’s name is typed | Enter in the name field |
| Cancel a critical command’s confirm | Esc in the name field |
First-run setup
| Action | macOS | Windows and Linux |
|---|---|---|
| Next step | Enter or ⌘→ | Enter or Ctrl→ |
| Previous step | Esc or ⌘← | Esc or Ctrl← |
Enter moves on while the step’s heading has focus, as it does when each step opens; in a field or on a button it does what that control does.
Command palette
| Action | Key |
|---|---|
| Move through results | ↑ / ↓ |
| Go | Enter |
| Close | Esc |
Host editor
| Action | macOS | Windows and Linux |
|---|---|---|
| Save | ⌘Enter | CtrlEnter |
| Close without saving | Esc | Esc |
| Add a tag | Enter in the tag field | Enter in the tag field |
| Remove the last tag | Backspace in an empty tag field | Backspace in an empty tag field |
In-app editor
| Action | macOS | Windows and Linux |
|---|---|---|
| Save for review | ⌘S | CtrlS |
| Insert a tab character | Tab | Tab |
SFTP
These work in the file pane that has focus.
| Action | macOS | Windows and Linux |
|---|---|---|
| Open a folder, or edit a text file | Enter | Enter |
| Up one folder | Backspace | Backspace |
| Move the selection | ↑ / ↓ | ↑ / ↓ |
| Clear the selection | Esc | Esc |
| Select all | ⌘A | CtrlA |
| Copy | ⌘C | CtrlC |
| Cut | ⌘X | CtrlX |
| Paste | ⌘V | CtrlV |
| Duplicate | ⌘D | CtrlD |
| Upload the selection (local pane) | ⌘↑ | Ctrl↑ |
| Download the selection (remote pane) | ⌘↓ | Ctrl↓ |
| Edit in the app | ⌘E | CtrlE |
| Edit with… or Open with… | ⇧⌘E | CtrlShiftE |
| Get info | ⌘I | CtrlI |
| Rename | F2 | F2 |
| Delete | ⌘⌫ | Delete or CtrlBackspace |
| New folder | ⇧⌘N | CtrlShiftN |
| Show hidden files | ⇧⌘. | CtrlShift. |
| Refresh | ⌘R | CtrlR |
| Copy path | ⌥⌘C | CtrlAltC |
Dialogs
| Action | Key |
|---|---|
| Confirm a password, passphrase or code prompt | Enter |
| Cancel a prompt, or a link confirmation | Esc |
Something unclear or wrong? Tell us.