> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flextable.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Keyboard shortcuts

> The keyboard-first shortcuts that work the same across every database.

FlexTable is keyboard-first, and the same shortcuts work across every engine. On macOS use **Cmd**; on Windows and Linux use **Ctrl**. These are the defaults; you can override any of them in the shortcuts settings.

## Global

| Action                  | Shortcut     |
| ----------------------- | ------------ |
| Open settings           | Cmd/Ctrl + , |
| Toggle sidebar          | Cmd/Ctrl + B |
| Toggle AI assistant     | Cmd/Ctrl + K |
| Open keyboard shortcuts | Cmd/Ctrl + / |

## Workspace

| Action               | Shortcut             |
| -------------------- | -------------------- |
| Open a query editor  | Cmd/Ctrl + T         |
| Toggle table browser | Cmd/Ctrl + Shift + E |
| Toggle detail panel  | Cmd/Ctrl + Shift + I |
| Refresh tables       | Cmd/Ctrl + R         |
| Switch connection    | Cmd/Ctrl + P         |
| Clear selection      | Escape               |

## Tabs

| Action       | Shortcut               |
| ------------ | ---------------------- |
| Close tab    | Cmd/Ctrl + W           |
| Next tab     | Cmd/Ctrl + Alt + Right |
| Previous tab | Cmd/Ctrl + Alt + Left  |

## Query editor

| Action                | Shortcut             |
| --------------------- | -------------------- |
| Execute query         | Cmd/Ctrl + Enter     |
| Zoom in / out / reset | Cmd/Ctrl + = / - / 0 |

## Editing (grid and rows)

| Action                          | Shortcut              |
| ------------------------------- | --------------------- |
| Save changes                    | Cmd/Ctrl + S          |
| Undo / rollback                 | Cmd/Ctrl + Z          |
| Toggle filter                   | Cmd/Ctrl + F          |
| Select all cells                | Cmd/Ctrl + A          |
| Delete row                      | Delete or Backspace   |
| View cell detail                | Space or Cmd/Ctrl + I |
| Maximize cell detail            | Cmd/Ctrl + Shift + F  |
| Close detail or assistant panel | Escape                |
