GuidesKeyboard shortcuts
Keyboard shortcuts
Mod is ⌘ Command on macOS and iPadOS and Ctrl on Windows, Linux and Android. Ctrl is the Control key everywhere.
Changing shortcuts
Settings → Shortcuts lists every action with its shortcuts. Click + and press a key combination to add one, hover a shortcut and click × to remove it, or reset an action (or all of them) to the defaults. Shortcuts used by two actions are marked. Your shortcuts are stored in the vault and sync with it.
Terminal shortcuts take the key away from the shell. If you need a key in the shell — say Ctrl+R for its own history search, or Ctrl+W to delete a word on Linux — remove that shortcut.
Tabs
| Action | Windows / Linux | macOS |
|---|---|---|
| New terminal tab | Ctrl+T | ⌘+T |
| Connect to a host… | Ctrl+Shift+N | ⌘+O, ⌘+⇧+N |
| Close tab | Ctrl+W, Ctrl+Shift+W | ⌘+W, ⌘+⇧+W |
| Reopen closed tab | Ctrl+Shift+T | ⌘+⇧+T |
| Rename tab | Ctrl+Shift+R, or double-click it | ⌘+⇧+R, or double-click it |
| Next tab | Ctrl+Tab, Ctrl+PgDn | ⌃+Tab, ⌘+⇧+] |
| Previous tab | Ctrl+Shift+Tab, Ctrl+PgUp | ⌃+⇧+Tab, ⌘+⇧+[ |
| Move tab left / right | Ctrl+Shift+PgUp / PgDn | ⌘+⇧+⌥+← / → |
| Go to tab 1–8 / last | Ctrl+1…8 / 9 (also Alt) | ⌘+1…8 / 9 |
| New tab with profile 1–9 | Ctrl+Shift+1…9 | ⌘+⇧+1…9 |
The pinned Vault and SFTP tabs count as tabs 1 and 2. New terminal tab opens a local shell (in the directory of the current local tab) where the device has one, and the connection picker on phones and tablets. The shell is the terminal profile you used last, or always the default profile if you choose so under Settings → Terminal → Terminal profiles. Mod+Shift+1…9 opens the profiles in the order of that list (hidden ones left out); like Mod+1…9 they cannot be changed. On macOS, ⌘+⇧+3…5 are taken by the system's screenshot shortcuts unless you turn those off.
App
| Action | Shortcut |
|---|---|
| Command palette | Mod+K, Mod+Shift+P |
| Jump to tab or host | Mod+J |
| Toggle side panel | Mod+. |
| Settings | Mod+, |
| Lock vault | Mod+Shift+L |
Terminal
| Action | Windows / Linux | macOS |
|---|---|---|
| Search command history | Ctrl+R | ⌃+R |
| Show suggestions | Ctrl+Space | ⌃+Space |
| Ask AI for a command | Ctrl+` | ⌃+` |
| Command editor | Ctrl+Shift+E | ⌘+⇧+E |
| Previous / next command | Ctrl+Shift+↑ / ↓ | ⌘+↑ / ↓ |
| Copy last output | Ctrl+Shift+O | ⌘+⇧+O |
| Search in terminal | Ctrl+Shift+F | ⌘+F |
| Clear terminal | Ctrl+Shift+K | ⌘+⇧+K |
| Larger / smaller / reset text | Ctrl+= / - / 0 | ⌘+= / - / 0 |
| Copy selection | Ctrl+C, Ctrl+Shift+C | ⌘+C |
| Paste | Ctrl+V, Ctrl+Shift+V | ⌘+V |
While typing a command:
| Key | Action |
|---|---|
| Tab | Insert the selected suggestion |
| ↑ / ↓ | Choose a suggestion (while the list shows) |
| → or End | Accept the grey inline suggestion |
| Ctrl+→ (⌥+→ on macOS) | Accept its next word |
# what you want + Enter | Ask the local AI for a command |
macOS also has the usual line editing keys: ⌘+←/→ (start / end of line), ⌥+←/→ (previous / next word), ⌘+⌫ (delete to the start of the line) and ⌥+⌫ (delete a word).
Outside macOS, Ctrl+C works as in Windows Terminal: with text selected it copies it and clears the selection, so the next Ctrl+C goes to the program again (to interrupt it); without a selection it always goes to the program. On macOS ⌃+C always interrupts. Pasting with Ctrl+V uses bracketed paste when the program supports it, so a pasted multi-line command does not run line by line. You can also enable Copy on select and Right-click to paste in Settings → Terminal. On macOS, Use Option as Meta key (on by default) sends ⌥ Option combinations as Meta/Alt to the shell.
SFTP
With a file list focused (click an entry, or Tab to it):
| Key | Action |
|---|---|
| ↑ / ↓, Home / End | Move to the previous / next, first / last entry |
| PgUp / PgDn | Move by a page |
| Shift + any of the above | Extend the selection |
| Mod+A | Select all |
| Esc | Clear the selection (or cancel a drag) |
| Space / Mod+Space | Select the focused entry / add or remove it |
| Enter | Open the folder, or edit the file locally |
| Backspace, Alt+↑ | Go to the parent folder |
| F2 | Rename the focused entry |
| Delete | Delete the selection (asks first) |
With the mouse: Mod+click adds or removes an entry, Shift+click selects a range, and dragging moves or copies the selection (see SFTP).
Split panes & workspaces
| Action | Windows / Linux | macOS |
|---|---|---|
| Split right | Ctrl+Shift+D, Alt+Shift+= | ⌘+D |
| Split down | Ctrl+Alt+Shift+D, Alt+Shift+- | ⌘+⇧+D |
| Focus the pane left, right, above, below | Alt+← → ↑ ↓ | ⌘+⌥+← → ↑ ↓ |
| Next / previous pane | Ctrl+Alt+→ / ← | ⌘+] / [ |
| Move the divider | Alt+Shift+← → ↑ ↓ | ⌘+⌃+← → ↑ ↓ |
| Maximize / restore a pane | Ctrl+Shift+Enter | ⌘+⇧+Enter |
| Close pane | Ctrl+W (in a split) | ⌘+W (in a split) |
| Toggle broadcast | Ctrl+Shift+B | ⌘+⇧+B |
The pane keys only act in a tab with several panes: elsewhere Alt+arrows still reach the shell (for example for word movement). The divider keys move the nearest divider of the focused pane in the arrow's direction, 5% at a time. On a focused divider (Tab to it), the arrow keys move it too. See Split panes for the mouse.
Duplicate tab has no shortcut by default; it is in the tab menu and the command palette.
Mouse and touch
- Middle-click a tab to close it; drag tabs to reorder them, or onto a terminal to split it; right-click a tab for more.
- Drag a pane by its header to move it; double-click a divider to make the panes equal.
- Double-click a tab to rename it, or the title bar to maximize or restore the window.
- Click a command's exit-status badge for its actions.
- Double-click a port-forwarding rule to start or stop it.
- Mod+click a link in the terminal to open it (you are asked first).