---
title: Keyboard Shortcuts
---

As with any other complex software, keyboard shortcuts speed up and ease your workflow in Deephaven. You can change the default keyboard shortcuts to suit your preferences via the [**Settings** menu](./settings.md#keyboard-shortcuts).

In the following tables, `^` represents the `Ctrl` key on Windows and `⌘` represents the `Cmd` key on Mac.

## Global

Use these shortcuts anywhere in the Deephaven interface to clear all filters at once or toggle the Linker tool on or off.

| Windows | Mac | Action             |
| ------- | --- | ------------------ |
| ^E      | ⌘E  | Clear all filters  |
| ^L      | ⌘L  | Toggle Linker tool |

## Console

These keyboard shortcuts are available in the console to clear lines, disconnect/close a session, or bring the console history into focus.

| Windows | Mac | Action                       |
| ------- | --- | ---------------------------- |
| ^L      | ⌘C  | Clear lines in console field |
| ⌃⇧D     | ⌘⇧D | Disconnect/close session     |
| ^H      | ⌘H  | Focus history                |

## Command History

In the Command History tab, you can use the following hotkeys to copy selections, send selections to the console or a [notebook](./notebook.md), or run selections in the console:

| Windows | Mac | Action                     |
| ------- | --- | -------------------------- |
| ^C      | ⌘C  | Copy selection             |
| ⏎       | ⏎   | Send selection to console  |
| ⌥R      | ⌥R  | Run selection in console   |
| ⌃⏎      | ⌘⏎  | Send selection to notebook |

## CSV Overlay

In the CSV Overlay, you can use `^V` to paste content from your clipboard.

| Windows | Mac | Action |
| ------- | --- | ------ |
| ^V      | ⌘V  | Paste  |

## File List

In the File List, you can use the following shortcuts to delete or rename files:

| Windows | Mac | Action |
| ------- | --- | ------ |
| ⌃⌫      | ⌘⌫  | Delete |
| ⏎       | ⏎   | Rename |

## Notebook

In the notebook, you can use the following shortcuts to find, save, or run the notebook (or run only selected lines):

| Windows | Mac | Action             |
| ------- | --- | ------------------ |
| ⌃F      | ⌘F  | Find               |
| ^S      | ⌘S  | Save               |
| ⌥R      | ⌥R  | Run notebook       |
| ⇧⌥R     | ⇧⌥R | Run selected lines |

## PQ Editor

Use `^S` to save your work in the Persistent Query Editor.

| Windows | Mac | Action |
| ------- | --- | ------ |
| ^S      | ⌘S  | Save   |

## Tables/Panels

In tables and panels, you can use the following shortcuts to copy, filter, remove filters, and search:

| Windows | Mac | Action                                          |
| ------- | --- | ----------------------------------------------- |
| ^C      | ⌘C  | Copy selected row(s) to clipboard.              |
| ^F      | ⌘F  | Open the Quick Filter bar on the focused table. |
| ^S      | ⌘S  | Open the Search bar on the focused table.       |
| ⌃⇧E     | ⌘⇧E | Remove all filters from the focused table.      |

## Navigation

Use these shortcuts to navigate between different interface elements like tabs, stacks, and dashboards:

| Windows | Mac | Action                      |
| ------- | --- | --------------------------- |
| ^'      | ⌘'  | Cycle to next stack         |
| ^;      | ⌘;  | Cycle to previous stack     |
| ^⇧"     | ⌘⇧' | Cycle to next tab           |
| ^⇧:     | ⌘⇧; | Cycle to previous tab       |
| ^.      | ⌘.  | Cycle to next dashboard     |
| ^,      | ⌘,  | Cycle to previous dashboard |

## Related Documentation

- [Code Studio](./code-studio.md)
- [Notebook](./notebook.md)
- [Panels](./panels.md)
