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

# Keyboard Shortcuts

## General

* **Show/hide sidebar**: `⌘B`
* **New query tab**: `⌘T`
* **Switch to previous tab**: `⌘⇧[`
* **Switch to next tab**: `⌘⇧]`
* **Close tab**: `⌘W`
* **Run SQL query**: `⌘ Enter`
* **Reload data**: `⌘R`
* **Commit changes**: `⌘S`
* **Delete row**: `⌫` (needs "Commit changes" afterwards, so you don't *accidentally* delete something)

## AI

* **Open/close AI chat**: `⌘L`
* **Open/close inline AI**: `⌘K`
* **New AI chat**: `⌘N`
* **Submit AI message**: `⌘ Enter`
* **Add a mention**: `@` while typing a message

## Notebooks

* **Run block**: `⌘ Enter`
* **Run block and focus next block**: `⇧ Enter`
* **Run all blocks**: `⌘⇧ Enter`
* **Stretch/collapse horizontally**: `⌘⇧M` (toggles between the notebook UI taking up the full width vs. not)
* **Move up**: `Up arrow` or `K` ( `K` only works when not focused on an input or code editor. Use `Esc` to unfocus.)
* **Move down**: `Down arrow` or `J` (`J` only works when not focused on an input or code editor. Use `Esc` to unfocus.)
* **Focus text editor**: `Enter` (applies only to SQL and Python blocks when the block but not yet the editor is focused)
