# Keyboard shortcuts

> Every keyboard shortcut in the console, covering the cherry pane, message boxes, the suggestion queue, the map, the report canvas and the SQL shell.

The console has a small set of shortcuts, and this page lists all of them. Use <kbd>⌘</kbd> on a Mac and <kbd>Ctrl</kbd> on Windows and Linux. Wherever a table says <kbd>⌘</kbd>, <kbd>Ctrl</kbd> works the same way, except for clicking on the semantic map.

## Everywhere

| Keys | What it does |
|---|---|
| <kbd>⌘</kbd> <kbd>J</kbd> | Opens and closes the cherry pane, from any page. On **Overview** and **cherry chat**, where cherry is the page, it moves the cursor to the message box instead. |
| <kbd>Esc</kbd> | Closes the window, menu or panel you have open: dialogs, the AI usage card in the top bar, the cherry model menu, and the navigation drawer on a phone. |
| <kbd>Tab</kbd> and <kbd>Shift</kbd> <kbd>Tab</kbd> | Move between controls. In an open dialog or the phone navigation drawer, focus stays inside until you close it. |
| <kbd>←</kbd> <kbd>→</kbd> | Move between tabs when a tab is focused. Wraps from the last tab to the first. |
| <kbd>Home</kbd> and <kbd>End</kbd> | Jump to the first or last tab when a tab is focused. |

## cherry

These apply to the message box in the cherry pane, on **cherry chat**, on the **Overview** page, and to the box beside a report on the reports portal.

| Keys | What it does |
|---|---|
| <kbd>Enter</kbd> | Sends your message. |
| <kbd>Shift</kbd> <kbd>Enter</kbd> | Starts a new line without sending. |
| <kbd>Esc</kbd> | Closes the cherry pane beside a report on the reports portal. |

## The suggestion queue

Learning proposes tables, relationships, metrics and dimensions, and they wait in the queue headed "N suggestions waiting on you" on the semantic map. These keys work while the queue is open and your cursor is not in a text field. See [review suggestions](https://docs.sanda-os.com.au/semantic-fluid/review).

| Keys | What it does |
|---|---|
| <kbd>↓</kbd> or <kbd>J</kbd> | Moves to the next suggestion. |
| <kbd>↑</kbd> or <kbd>K</kbd> | Moves to the previous suggestion. |
| <kbd>Enter</kbd> | Accepts the highlighted suggestion. |
| <kbd>Delete</kbd> or <kbd>Backspace</kbd> | Rejects the highlighted suggestion. |

## The semantic map

These work on the map when your cursor is not in a text field. See [the map](https://docs.sanda-os.com.au/semantic-fluid/the-map).

| Keys | What it does |
|---|---|
| Click a table card | Selects it. |
| <kbd>Shift</kbd>-click a table card, or <kbd>⌘</kbd>-click on a Mac | Adds the table to the selection, or takes it out. <kbd>Ctrl</kbd>-click does not do this. |
| <kbd>Delete</kbd> or <kbd>Backspace</kbd> | With tables selected, asks whether to remove them from the map. Nothing is deleted: they drop off the map, and their relationships and metrics are retired. Press **remove** to confirm. |
| <kbd>Esc</kbd> | Steps back one layer at a time: the confirmation, then an open dialog or panel, then a selected relationship, then the table selection. |

## The report canvas

These work on a report when your cursor is not in a text field. See [the canvas](https://docs.sanda-os.com.au/reports/canvas).

| Keys | What it does |
|---|---|
| <kbd>⌘</kbd> <kbd>Z</kbd> | Undoes your last change. It goes back within the current session only. |
| <kbd>⌘</kbd> <kbd>Shift</kbd> <kbd>Z</kbd> | Redoes it. |
| <kbd>⌘</kbd> <kbd>P</kbd> | Exports the report as a PDF, by opening the print dialog with the page laid out flat. |
| Hold <kbd>Space</kbd> and drag | Pans the canvas. |
| Scroll | Pans the canvas. |
| <kbd>⌘</kbd> and scroll | Zooms the canvas. |
| <kbd>Delete</kbd> or <kbd>Backspace</kbd> | Deletes the selected block. <kbd>⌘</kbd> <kbd>Z</kbd> brings it back. |
| <kbd>Esc</kbd> | Deselects the block and closes any open panel or menu: colours, history, the more menu, and the block builder. |

Inside a report's text fields, these keys apply:

| Where | Keys | What it does |
|---|---|---|
| The report's name | <kbd>Enter</kbd> | Saves the name. |
| A block's title | <kbd>Enter</kbd> or <kbd>Esc</kbd> | Saves the title, or cancels the edit. |
| A new block you drew on the page | <kbd>Enter</kbd> | Sends what you typed to cherry to build the block. |
| A new block you drew on the page | <kbd>Shift</kbd> <kbd>Enter</kbd> | Starts a new line. |
| A new block you drew on the page | <kbd>Esc</kbd> | Closes the prompt, or cancels the new block. |
| A block's comment box | <kbd>Enter</kbd> | Adds the comment. |
| A block's comment box | <kbd>Shift</kbd> <kbd>Enter</kbd> | Starts a new line. |
| A sheet's formula column | <kbd>Enter</kbd> | Saves the formula, once it is valid. |
| A sheet's open menu or editor | <kbd>Esc</kbd> | Closes it. |

## The SQL shell

| Keys | What it does |
|---|---|
| <kbd>⌘</kbd> <kbd>Enter</kbd> | Runs the statement in the editor. The shell runs one statement at a time. |

## Related pages

:::links
- [A tour of the console](https://docs.sanda-os.com.au/get-started/console-tour): The cherry pane and the rest of the console.
- [Sheet formulas](https://docs.sanda-os.com.au/reference/sheet-formulas): The formulas a report sheet accepts.
:::
