Cockpit
Input and shortcuts
Enter, Ctrl+J, Esc, Shift+Tab, Notepad and more.
Type ? on an empty prompt, or /keys, to list every shortcut as currently bound.
Sending and writing
| Key | What it does |
|---|---|
| Enter | Send. |
Ctrl+J, Alt+Enter, or \ then Enter | Add a line. A pasted block stays one message. |
| Tab | Complete a /command. |
| Up, Down | Browse what you wrote earlier this session. Kept in memory only. |
Ctrl+G, or /notepad | Compose a long prompt in Notepad. Save and close to send it. |
<<< then >>> | A multi-line block: type <<< on its own line, paste, then >>> to send. Works with piped input too. |
| Ctrl+L | Clear the screen. |
!command | Run a shell command yourself. See Shell lines. |
Moving the cursor and deleting (arrows, Home, End, Backspace, Delete, Ctrl+W, Ctrl+U, Ctrl+K) belong to the text area and cannot be rebound.
While it works
| Key | What it does |
|---|---|
| Esc | Stop the running answer. At an idle prompt, press it twice to bring your previous message back. |
| Ctrl+C | Stop after the current step. While waiting for busy models, choose what to do. Also stops a summarizing step and a balance lookup. |
| Ctrl+O | Flip a thinking model's thoughts between collapsed and shown. |
| Shift+Tab | Cycle the permission mode: ask, acceptEdits, auto, readOnly. Ignored while an answer is running. |
| Alt+V | Attach an image from the clipboard for vision models. |
If a key does nothing, your terminal or the editor around it may be swallowing it. Every shortcut also exists as a command: /permissions, /thinking, /notepad, /image.
Your own keys
Create ~/.frontier/keybindings.json with "key": "action" pairs. A null action removes a default binding:
{ "ctrl+t": "toggleThinking", "f5": null, "f2": "showShortcuts" }Keys are written as ctrl+o, alt+enter, shift+tab, f5, pageup, escape, and so on. Case does not matter, and esc and return also work. Ctrl+C is reserved for cancel and cannot be rebound.
The actions you can bind are submit, insertNewline, stopTurn, editPreviousMessage, cyclePermissionMode, historyPrevious, historyNext, completeCommand, clearScreen, showShortcuts, toggleThinking, openNotepad and exitIfEmpty.
A line that is not a key, or names an action Relief does not have, is skipped and reported, and the other lines still apply. The cockpit reads the file when it starts. A key bound to a plain character, such as ?, only works on an empty prompt. If your file leaves no key for submit, Enter is put back with a warning, so you can never be locked out of sending.
Piped input and plain mode
Piped input and plain mode keep the plain one line prompt.