# Keyboard Shortcuts

## Overview

Keyboard shortcuts significantly enhance efficiency by providing quick and direct access to various functions and commands, saving time and reducing reliance on mouse navigation.

## Basics

### Slash "/" Command

Type `/` at the beginning of a line to open the Slash Command dialog. The dialog presents an ever-expanding list of content blocks for you to choose from. Narrow down the options by typing to filter the list, or select a specific item from the menu to insert the corresponding block into the editor.

<figure><img src="https://1499735372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCU5VgN3YVTfigwSnbdbk%2Fuploads%2FieUzaxHtP1pZMCY0Adnt%2FSlash%20Dialog.png?alt=media&#x26;token=0f35a1ac-9689-4194-ac84-6b293406bfa9" alt=""><figcaption><p>Slash "/" Command</p></figcaption></figure>

### Toolbar

Moreover, you can utilize the toolbar to easily apply styling to your text. Just highlight the desired word or phrase, and the toolbar will appear, offering a variety of formatting options.

<figure><img src="https://1499735372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCU5VgN3YVTfigwSnbdbk%2Fuploads%2FAwiDwPiiGn0ZPnrgxTwO%2FToolbar.png?alt=media&#x26;token=9e3a4f3f-b31f-4cbf-9054-258752b5f6b2" alt=""><figcaption><p>Toolbar</p></figcaption></figure>

### Essentials

<table><thead><tr><th width="269.3333333333333">Command</th><th>Windows/Linux</th><th>macOS</th></tr></thead><tbody><tr><td>Copy</td><td><code>Control</code> <code>C</code></td><td><code>Cmd</code> <code>C</code></td></tr><tr><td>Cut</td><td><code>Control</code> <code>X</code></td><td><code>Cmd</code> <code>X</code></td></tr><tr><td>Paste</td><td><code>Control</code> <code>V</code></td><td><code>Cmd</code> <code>V</code></td></tr><tr><td>Paste without formatting</td><td><code>Control</code> <code>Shift</code> <code>V</code></td><td><code>Cmd</code> <code>Shift</code> <code>V</code></td></tr><tr><td>Undo</td><td><code>Control</code> <code>Z</code></td><td><code>Cmd</code> <code>Z</code></td></tr><tr><td>Redo</td><td><code>Control</code> <code>Shift</code> <code>Z</code></td><td><code>Cmd</code> <code>Shift</code> <code>Z</code></td></tr><tr><td>Add a line break</td><td><code>Shift</code> <code>Enter</code></td><td><code>Shift</code> <code>Enter</code></td></tr><tr><td>Insert a link</td><td><code>Control</code> <code>K</code></td><td><code>Cmd</code> <code>K</code></td></tr></tbody></table>

### Text Formatting

| Command       | Windows/Linux         | macOS             |
| ------------- | --------------------- | ----------------- |
| Bold          | `Control` `B`         | `Cmd` `B`         |
| Italicize     | `Control` `I`         | `Cmd` `I`         |
| Underline     | `Control` `U`         | `Cmd` `U`         |
| Strikethrough | `Control` `Shift` `X` | `Cmd` `Shift` `X` |
| Code          | `Control` `E`         | `Cmd` `E`         |

### Paragraph Formatting

| Command                 | Windows/Linux         | macOS             |
| ----------------------- | --------------------- | ----------------- |
| Apply normal text style | `Control` `Alt` `0`   | `Cmd` `Alt` `0`   |
| Apply heading style 1   | `Control` `Alt` `1`   | `Cmd` `Alt` `1`   |
| Apply heading style 2   | `Control` `Alt` `2`   | `Cmd` `Alt` `2`   |
| Apply heading style 3   | `Control` `Alt` `3`   | `Cmd` `Alt` `3`   |
| Apply heading style 4   | `Control` `Alt` `4`   | `Cmd` `Alt` `4`   |
| Apply heading style 5   | `Control` `Alt` `5`   | `Cmd` `Alt` `5`   |
| Apply heading style 6   | `Control` `Alt` `6`   | `Cmd` `Alt` `6`   |
| Ordered list            | `Control` `Shift` `7` | `Cmd` `Shift` `7` |
| Bullet list             | `Control` `Shift` `8` | `Cmd` `Shift` `8` |
| Blockquote              | `Control` `Shift` `B` | `Cmd` `Shift` `B` |
| Left align              | `Control` `Shift` `L` | `Cmd` `Shift` `L` |
| Center align            | `Control` `Shift` `E` | `Cmd` `Shift` `E` |
| Right align             | `Control` `Shift` `R` | `Cmd` `Shift` `R` |
| Justify                 | `Control` `Shift` `J` | `Cmd` `Shift` `J` |
| Code block              | `Control` `Alt` `C`   | `Cmd` `Alt` `C`   |

### Text Selection

| Command                                           | Windows/Linux         | macOS             |
| ------------------------------------------------- | --------------------- | ----------------- |
| Select all                                        | `Control` `A`         | `Cmd` `A`         |
| Extend selection one character to left            | `Shift` `←`           | `Shift` `←`       |
| Extend selection one character to right           | `Shift` `→`           | `Shift` `→`       |
| Extend selection one line up                      | `Shift` `↑`           | `Shift` `↑`       |
| Extend selection one line down                    | `Shift` `↓`           | `Shift` `↓`       |
| Extend selection to the beginning of the document | `Control` `Shift` `↑` | `Cmd` `Shift` `↑` |
| Extend selection to the end of the document       | `Control` `Shift` `↓` | `Cmd` `Shift` `↓` |
