# Keyboard shortcuts

Shortcut keys allow easy and quick methods for navigating or editing content.

## In published documentation

<table><thead><tr><th width="270.3294270833333">Description</th><th>Mac</th><th>Windows</th></tr></thead><tbody><tr><td>Open the <strong>Ask or search</strong> panel</td><td><kbd>⌘</kbd>+<kbd>K</kbd></td><td><kbd>Ctrl</kbd>+<kbd>K</kbd></td></tr><tr><td>Open the <strong>GitBook Assistant</strong> chat window</td><td><kbd>⌘</kbd>+<kbd>I</kbd></td><td><kbd>Ctrl</kbd>+<kbd>I</kbd></td></tr><tr><td>Close the <strong>Ask or search</strong> or <strong>GitBook Assistant</strong> panels</td><td><kbd>Esc</kbd></td><td><kbd>Esc</kbd></td></tr></tbody></table>

## In the GitBook app <a href="#editing" id="editing"></a>

<table><thead><tr><th width="270.1458333333333">Description</th><th>Mac</th><th>Windows</th></tr></thead><tbody><tr><td>Copy</td><td><kbd>⌘</kbd>+<kbd>C</kbd></td><td><kbd>Ctrl</kbd>+<kbd>C</kbd></td></tr><tr><td>Paste</td><td><kbd>⌘</kbd>+<kbd>V</kbd></td><td><kbd>Ctrl</kbd>+<kbd>V</kbd></td></tr><tr><td>Paste as text, without formatting</td><td><kbd>⌘</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd></td><td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd></td></tr><tr><td>Undo</td><td><kbd>⌘</kbd>+<kbd>Z</kbd></td><td><kbd>Ctrl</kbd>+<kbd>Z</kbd></td></tr><tr><td>Redo</td><td><kbd>⌘</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd></td><td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd></td></tr><tr><td>Duplicate selected block(s)</td><td><kbd>⌘</kbd> + <kbd>D</kbd></td><td><kbd>Ctrl</kbd> + <kbd>D</kbd></td></tr><tr><td>Exit from content block (code, tabs, table, quote ...)</td><td><kbd>⌘</kbd>+<kbd>Enter</kbd></td><td><kbd>Ctrl</kbd>+<kbd>Enter</kbd></td></tr><tr><td>Open block-insert palette.</td><td><kbd>/</kbd></td><td><kbd>/</kbd></td></tr><tr><td>Open block-modifier palette.</td><td><kbd>⌘</kbd>+<kbd>/</kbd></td><td><kbd>Ctrl</kbd>+<kbd>/</kbd></td></tr><tr><td>Toggle bold</td><td><kbd>⌘</kbd>+<kbd>B</kbd></td><td><kbd>Ctrl</kbd>+<kbd>B</kbd></td></tr><tr><td>Toggle italic</td><td><kbd>⌘</kbd>+<kbd>I</kbd></td><td><kbd>Ctrl</kbd>+<kbd>I</kbd></td></tr><tr><td>Toggle strikethrough</td><td><kbd>⌘</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd></td><td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd></td></tr><tr><td>Toggle inline code</td><td><kbd>⌘</kbd>+<kbd>E</kbd></td><td><kbd>Ctrl</kbd>+<kbd>E</kbd></td></tr><tr><td>Insert or toggle link</td><td><kbd>⌘</kbd>+<kbd>K</kbd> (in the editor)</td><td><kbd>Ctrl</kbd>+<kbd>K</kbd> (in the editor)</td></tr><tr><td>Select the entire block</td><td><kbd>Esc</kbd></td><td><kbd>Esc</kbd></td></tr><tr><td>Close a dialog or the search panel</td><td><kbd>Esc</kbd> (navigation)</td><td><kbd>Esc</kbd> (navigation)</td></tr><tr><td>Open the Ask or search panel</td><td><kbd>⌘</kbd>+<kbd>K</kbd> (outside the editor)</td><td><kbd>Ctrl</kbd>+<kbd>K</kbd> (outside the editor)</td></tr></tbody></table>

### Block-specific shortcuts

#### Paragraph & heading blocks

<table><thead><tr><th width="269.7669270833333">Description</th><th>Mac</th><th>Windows</th></tr></thead><tbody><tr><td>Turn into a paragraph</td><td><kbd>⌘</kbd> + <kbd>⌥</kbd> + <kbd>0</kbd></td><td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>0</kbd> </td></tr><tr><td>Turn into a heading 1</td><td><kbd>⌘</kbd> + <kbd>⌥</kbd> + <kbd>1</kbd></td><td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>1</kbd> </td></tr><tr><td>Turn into a heading 2</td><td><kbd>⌘</kbd> + <kbd>⌥</kbd> + <kbd>2</kbd></td><td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>2</kbd> </td></tr><tr><td>Turn into a heading 3</td><td><kbd>⌘</kbd> + <kbd>⌥</kbd> + <kbd>3</kbd></td><td><kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>3</kbd> </td></tr></tbody></table>

#### Table blocks

<table><thead><tr><th width="269.7669270833333">Description</th><th>Mac</th><th>Windows</th></tr></thead><tbody><tr><td>Insert a row below</td><td><kbd>⌥</kbd> + <kbd>Shift</kbd> + <kbd>Enter</kbd></td><td><kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>Enter</kbd> </td></tr><tr><td>Insert a row above</td><td><kbd>⌥</kbd> + <kbd>Enter</kbd></td><td><kbd>Alt</kbd> + <kbd>Enter</kbd> </td></tr><tr><td>Move to next row</td><td><kbd>Enter</kbd></td><td><kbd>Enter</kbd></td></tr><tr><td>Insert new line within a text cell</td><td><kbd>Shift</kbd> + <kbd>Enter</kbd></td><td><kbd>Shift</kbd> + <kbd>Enter</kbd></td></tr><tr><td>Delete row</td><td><kbd>⌘</kbd> + <kbd>-</kbd> </td><td><kbd>Ctrl</kbd> + <kbd>-</kbd> </td></tr></tbody></table>

#### List & Code blocks

<table><thead><tr><th width="269.7669270833333">Description</th><th>Mac</th><th>Windows</th></tr></thead><tbody><tr><td>Increase indentation level</td><td><kbd>Tab</kbd></td><td><kbd>Tab</kbd></td></tr><tr><td>Decrease indentation level</td><td><kbd>Shift</kbd> + <kbd>Tab</kbd></td><td><kbd>Shift</kbd> + <kbd>Tab</kbd></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.com/docs/resources/keyboard-shortcuts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
