Keyboard shortcuts
Every app-level shortcut, generated from the app spec's table.
Cortex is built to be driven from the keyboard. This is the full list of its app-level shortcuts. Type in the field above the table to narrow it by key or by what the shortcut does.
| Key | Action |
|---|---|
| ⌘P | Quick open |
| ⌘⇧P | Focus the context search box; ↑/↓ then Return opens a context |
| ⌘N | New session in current context, in the focused tab group |
| ⌘T | New file in the selected folder |
| ⌃⇧ | New terminal in the selected folder |
| ⌘⌥T | Quick task: an objective for the context, run now in the background |
| ⌘\ | Split current group right; ⌘⇧\ split down |
| ⌥⌘\ | Collapse the focused group into the Collapsed list |
| ⌥⇧⌘\ | Collapse the focused group's whole column (or row) into one entry of the Collapsed list |
| ⌘W | Close tab (confirm if live session or dirty file) — in the main window only; over Settings or About it closes that sheet, in another window it closes that window, and with no key window it does nothing; in the Stack's list it removes the shown entry |
| ⌘1…9 | Focus tab group N |
| ⌘ | Focus next group |
| ⌘⇧] / ⌘⇧[ | Next / previous tab in the focused group |
| ⌃Tab / ⌃⇧Tab | Next / previous tab in the focused group (taken before any view sees it, so a terminal does not — only while the main window is key and Quick open is not up) |
| ⌘B | Toggle sidebar |
| ⌘S | Save file — and what was edited on the Stack and in the context's note |
| ⌥⌘S | Sign the PDF of the selected tab: the signing sheet |
| ⌘F | Focus the tab header's filter |
| ⌘⇧F | Find in context |
| ⌘⇧E | Reveal the current tab's file or session in the sidebar (it also happens on every tab change) |
| ⌘⌥B | Show / hide the right-hand panel, on the view it last showed — the Stack, Tasks or Shares |
| ⌘⌥J | Answer what waits for me — the sheet of §1.10 |
| ⌘⌥K | Show the panel on Tasks — every context's tasks; hide it when it already shows them |
| ⌘⌥S | Put the current tab on the Stack |
| ⌘L | Open URL… — a web tab in the focused group |
| ⌘⌥L | Add URL to Stack… |
| ⌘⇧M | Toggle Source / rendered — Markdown WYSIWYG, HTML page |
| ⌘+ / ⌘− / ⌘0 | Zoom the tab in / out / to actual size — while the signing sheet is up, its page in / out / to fit |
| ⌘⌥N | New Context… |
| ⌘⌥O | Add Existing Folder… |
| ⌘, | Settings |
| ⌘Q | Quit (asks while sessions are running) |
| ↑ / ↓ ↩ | In Filter files: move through the matches, open one |
| Esc | In a filter field: clear it |
| ↩ | On a selected file or folder: rename it in place (Esc cancels) |
| ⌘↩ | In a transcript: resume the session in its tab |
| ↑ / ↓ | In the right-hand panel's list (click a row first): previous / next entry or task |
| ⌘/ | Show / hide the Help panel on the Shortcuts article (also Help → Keyboard Shortcuts; the toolbar's ? button and Help → Cortex Help show / hide it on the page it last showed) |
Good to know
- In a terminal. Inside a focused terminal, every key goes to the program running in it, the agent or your shell. The exceptions are the app-level shortcuts above. ⌘C and ⌘V copy and paste as Terminal.app does, and ⌥ acts as Meta. You can change that in Settings → Terminal; see Appearance and Terminal settings.
- Sidebar keys. ⌘⇧P, ⌘⇧F, ⌘⇧E and Quick open's ⌥Return show the sidebar first if you hid it with ⌘B.
- Find in context. ⌘⇧F closes Find in context when it is open and in view. When it is open but hidden along with the sidebar, it shows and focuses it instead.
- Signing. ⌥⌘S, or File → Sign PDF…, opens the signing sheet for the PDF in front. See Sign a PDF. While the sheet is up, ⌘+, ⌘− and ⌘0 zoom its page in, out and to fit instead of the tab.
- One window. The main window takes no window tabs. Cortex has one main window, and tabs live inside it.
- Help. ⌘/, or Help → Keyboard Shortcuts, shows or hides the Help panel on this article. The toolbar's ? button and Help → Cortex Help show and hide it on the page it last showed. The panel's bookmarks menu jumps to the most-used pages, this one included. Help → What's New shows the release notes in the same panel.
To learn the shortcuts in context, see Tabs and splits and Quick open and Find.