# Keyboard shortcuts

**Categories:** Productivity

**Published:** December 8, 2025

---

The keyboard shortcuts in Retain for Mac, grouped by where you use them. Shortcuts use Command (⌘), Control (⌃), Option (⌥) and Shift (⇧). The menus show the same shortcuts beside each command. The notebook has its own group at the end.



### Move around



* **Home:** ⌘1
* **Memories:** ⌘2
* **Work:** ⌘3
* **Search:** ⌘K or ⌘F
* **Create New:** ⌘N
* **Import:** ⇧⌘I
* **Settings:** ⌘,
* **Go from a plan's document up to its plan:** ⌃⌘↑
* **Quit Retain**, from the menu bar icon: ⌘Q

### Tabs



* **New tab:** ⌘T
* **Close tab:** ⌘W. With Settings open, it closes Settings and no tab.
* **Next tab:** ⇧⌘]
* **Previous tab:** ⇧⌘[

### Search and Create New



* **Move through results:** ↑ and ↓
* **Open the selected result:** Return
* **Change the search scope:** Tab
* **Close:** Esc
* **Create a blank document instead of planning one:** ⌘Return, in a Document tile of Create New. Return alone plans it.

### Anywhere on your Mac



Search and Create New can open from any app. Open **Settings > Shortcuts**, record a key combination for each, and choose **Launch Retain at login** so they work after a restart. No key combination is set until you record one. Hiding the menu bar icon keeps them working.



### Writing



In a document or a note you edit as text:



* **Bold:** ⌘B
* **Italic:** ⌘I
* **Link:** ⌘K, while the cursor is in the text. Elsewhere ⌘K opens Search.
* **Clear formatting:** ⇧⌘\
* **Save a note and name it:** ⌘S

### Editing a packet



On a packet's Proposal or Design tab:



* **Edit the whole file as markdown:** ⌘E
* **Save:** ⌘Return
* **Cancel:** Esc

### Notebook



A notebook has two modes, as in Jupyter. In command mode a cell is selected and the keys act on cells. In edit mode you type inside a cell. These keys apply only to a notebook on the Mac. See [Notebooks](https://retainapp.ai/help/article/notebooks).



In command mode, with a cell selected:



* **Select the cell above or below:** ↑ and ↓, or K and J
* **Edit the cell:** Return
* **Run the cell and move to the next:** ⇧Return
* **Run the cell and stay:** ⌘Return
* **Insert a cell above:** A
* **Insert a cell below:** B
* **Delete the cell:** D, pressed twice. Any other key between them cancels it.
* **Move the cell up or down:** ⌘↑ and ⌘↓

In edit mode, inside a code cell:



* **Stop editing and save:** Esc
* **Run and move to the next cell:** ⇧Return
* **Run and stay:** ⌘Return
* **Indent:** Tab
* **Outdent:** ⇧Tab

Running needs Python set up on the Mac. See [The notebook sandbox](https://retainapp.ai/help/article/notebook-sandbox).
