Skip to content
Terminal > Getting started

Keyboard shortcuts

Every keyboard shortcut in Mel, in one table.


The command palette lists Mel's main actions, every on/off setting, and your conversations, Drive items and project files, so it is the one shortcut worth learning first: Ctrl+Shift+P on Windows and Linux, ⌃P (or ⌘P) on a Mac. Type a few letters and press Enter. Ctrl+/ (⌘/ on a Mac) opens a short cheat sheet, and Settings → Keyboard shortcuts shows the full searchable table.

You can change any of them. In Settings → Keyboard shortcuts, click a row, press the keys you want, and save. A key that is already taken is outlined so you can see the clash.

Windows and Linux use Ctrl+Shift. Since v0.1.52, Mel's main shortcuts on Windows and Linux use Ctrl+Shift, so Ctrl+D, Ctrl+P, Ctrl+T and Ctrl+W reach the program in your terminal again (Ctrl+W deletes a word, Ctrl+D ends input). On a Mac the main shortcuts are the ones Mel always had. The tables give both.

Panes and tabs

ActionWindows and LinuxMac
Split pane rightCtrl+Shift+D⌃D or ⌘D
Split pane downCtrl+Shift+E⌃⇧D or ⌘⇧D
Close the session (the last pane closes the tab)Ctrl+Shift+W⌘W
New terminal tab (opens your default tab config if you set one)Ctrl+Shift+T⌘T
Next tabCtrl+PageDown or Ctrl+Tab⌘PageDown or ⌃Tab
Previous tabCtrl+PageUp or Ctrl+Shift+Tab⌘PageUp or ⌃⇧Tab
Switch to tab 1 to 8Ctrl+1 … Ctrl+8⌘1 … ⌘8
Switch to the last tabCtrl+9⌘9
Next pane / previous paneCtrl+Shift+] / Ctrl+Shift+[⌘⇧] / ⌘⇧[
Rename the current tabF2F2
Toggle the sidebar (vertical tabs)Ctrl+Shift+B⌃⇧B
ActionWindows and LinuxMac
Command paletteCtrl+Shift+P⌃P or ⌘P
Shortcuts cheat sheetCtrl+/⌘/
SettingsCtrl+,⌘,
Toggle the tools panelCtrl+Shift+\⌃\
Global searchCtrl+Shift+F⌘⇧F or ⌃⇧F
Open code reviewCtrl+Shift+=⌘⇧=
Runs screen (every agent run, local and cloud)Ctrl+Shift+M⌃⇧M
WorkflowsCtrl+Shift+R⌘⇧R
Command searchCtrl+R⌘R
Zoom in / out / resetCtrl+= / Ctrl+- / Ctrl+0⌘= / ⌘- / ⌘0

Agent

ActionWindows and LinuxMac
Start an agent conversation (carries the typed prompt)Ctrl+Enter⌘Enter
Exit the conversation back to the terminalEsc (input unfocused)Esc
Open a conversation (the conversations panel, with search)Ctrl+Shift+Y⌃⇧Y or ⌘⇧Y
Attach the last command's output to the promptCtrl+↑⌃↑
Attach the selected block as agent contextCtrl+Shift+Space⌘⇧Space
Run this message the other way (shell or agent)Ctrl+I⌃I
Hide or show the planCtrl+Alt+P⌘⌥P
Fast-forward the running agent (hands-off for this turn)Ctrl+Shift+I⌘⇧I
Rich Input (inside CLI coding-agent sessions)Ctrl+G⌃G

In the agent input, a leading ! runs the line as a shell command. On an approval card, Esc denies; a bare Enter approves only when the input box is empty and has no focus, and a step that cannot be undone needs a click or Ctrl+Enter (⌘Enter on a Mac).

Terminal and blocks

Click a block to select it first; these keys act on the selected block only while the prompt input does not have focus.

ActionWindows and LinuxMac
Copy the whole blockCtrl+C⌘C
Copy the commandCtrl+Shift+C⌘⇧C
Copy the outputCtrl+Alt+Shift+C⌘⌥⇧C
Toggle bookmarkCtrl+B⌘B
Focus the terminal inputCtrl+Shift+L⌘⇧L
Clear the blocksCtrl+Shift+K⌘⇧K

Inside the command palette

ActionKey
Navigate results↑ / ↓
Run selectedEnter
CloseEsc

The palette also carries actions with no key at all, like Create a Workflow, Continue Last Conversation and Export Conversation, plus every on/off setting, and dynamic hits: your conversations, Drive objects and project files match as you type. Commands with no default key (Copy Current Path, Copy Git Branch, Open Theme Picker and others) can be given one in Settings → Keyboard shortcuts.

When shortcuts step aside

While a full-screen terminal program is running in the pane (an editor, a CLI coding agent, ssh), Mel passes single-modifier keys to that program instead of catching them — Ctrl+C must reach the program, after all. Switching tabs (Ctrl+PageUp, Ctrl+PageDown, Ctrl+Tab), code review (Ctrl+Shift+=) and the Runs screen (Ctrl+Shift+M) keep working throughout; most of Mel's other shortcuts, the Ctrl+Shift ones included, wait until the program exits.

See the quickstart to build muscle memory on the core five: the palette, Ctrl+Enter, code review, the tools panel and a new tab.