# Command Palette & shortcuts (/docs/guides/command-palette)

Jump anywhere with the command palette, and drive Dora from the keyboard with a full shortcut reference.

## Command palette [#command-palette]

Press `Mod+K` (⌘ on macOS, Ctrl elsewhere) anywhere in Dora to open the command
palette. From it you can navigate to any view, switch connections, jump to a
table, reopen a query from history, open a snippet, manage Docker containers, or
go to settings. Start typing to filter; a breadcrumb shows where you are.

## Keyboard shortcuts [#keyboard-shortcuts]

`Mod` is ⌘ on macOS and Ctrl on Windows / Linux.

### Query [#query]

| Action              | Shortcut          |
| ------------------- | ----------------- |
| Run query           | `Mod+Enter`       |
| Run selected SQL    | `Mod+Shift+Enter` |
| Open query history  | `Mod+Shift+H`     |
| Generate SQL with AI | `Mod+I`          |
| Save script         | `Mod+S`           |
| Find in editor      | `Mod+F`           |
| Replace in editor   | `Mod+H`           |
| Toggle line comment | `Mod+/`           |

### Navigation [#navigation]

| Action                | Shortcut      |
| --------------------- | ------------- |
| Command palette       | `Mod+K`       |
| Add connection        | `Mod+Shift+N` |
| Toggle sidebar        | `Mod+B`       |
| Settings              | `Mod+,`       |
| Close current tab     | `Mod+W`       |
| Toggle AI assistant   | `Mod+Shift+B` |
| Reconnect             | `Mod+Shift+R` |
| Switch to connection 1 to 9 | `Mod+1` to `Mod+9` |
| Previous / next connection | `Ctrl+Shift+[` / `Ctrl+Shift+]` |
| Open icon rail item 1 to 9 | `Shift+1` to `Shift+9` |
| Zoom in / out / reset | `Mod+=` / `Mod+-` / `Mod+0` |
| Close dialog / cancel | `Escape`      |

### Data Studio [#data-studio]

| Action                 | Shortcut               |
| ---------------------- | ---------------------- |
| Refresh table          | `Mod+R` / `F5`         |
| Filter the focused column | `Mod+Shift+F`       |
| Insert row             | `Mod+Shift+I` / `O`    |
| Duplicate row          | `Mod+Shift+D`          |
| Delete selected row(s) | `Delete` / `Shift+Backspace` / `D` |
| Clear selected cells   | `Backspace`            |
| Go to cell             | `Mod+G`                |
| Undo / redo            | `Mod+Z` / `Mod+Shift+Z` |
| Export table           | `Mod+E`                |
| Show every grid shortcut | `?`                  |

### Go to (press `G`, then the next key) [#go-to-press-g-then-the-next-key]

| Action      | Shortcut     |
| ----------- | ------------ |
| Dashboard   | `G` then `D` |
| Settings    | `G` then `S` |
| Connections | `G` then `C` |
| SQL editor  | `G` then `E` |
| Docker      | `G` then `K` |
| Performance | `G` then `P` |

## Customize shortcuts [#customize-shortcuts]

Open **Settings → Shortcuts** to rebind anything. Click a shortcut's
binding, press the new combination, and Dora records it. You can search by
action or key, filter by category, and reset to defaults. Dora warns you about
conflicts. Your overrides are saved across sessions.
