mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
ec5e78af4c
* Update git-essentials.mdx * Update index.mdx * add v2 group * recent updates * remove v2 path * small classic editor page * add tutorial * updates based on notion doc * Create branching-and-publishing.mdx * Update collaborate.mdx * redirects * update pages * update create pages * remove pages * update redirects * Update navigation.mdx * remove redundancies * update configurations * 💅 * remove unused images * update live preview * correct image * Add missing visual mode shortcuts and ungroup action Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
99 lines
4.3 KiB
Plaintext
99 lines
4.3 KiB
Plaintext
---
|
|
title: "Keyboard shortcuts"
|
|
description: "View the complete list of keyboard shortcuts for the Mintlify web editor, including text formatting, navigation, and editing commands."
|
|
keywords: ["editor", "keys", "keyboard", "shortcuts"]
|
|
---
|
|
|
|
Use keyboard shortcuts to navigate and edit faster in the web editor. The editor supports common shortcuts like copy, paste, undo, and select all, along with the shortcuts listed below.
|
|
|
|
## Visual mode
|
|
|
|
Use these shortcuts when editing in visual mode.
|
|
|
|
### Search and navigation
|
|
|
|
| Command | macOS | Windows |
|
|
| :--- | :--- | :--- |
|
|
| **Search files and content** | <kbd>Cmd</kbd> + <kbd>K</kbd> | <kbd>Ctrl</kbd> + <kbd>K</kbd> |
|
|
|
|
### Text formatting
|
|
|
|
| Command | macOS | Windows |
|
|
| :--- | :--- | :--- |
|
|
| **Bold** | <kbd>Cmd</kbd> + <kbd>B</kbd> | <kbd>Ctrl</kbd> + <kbd>B</kbd> |
|
|
| **Italic** | <kbd>Cmd</kbd> + <kbd>I</kbd> | <kbd>Ctrl</kbd> + <kbd>I</kbd> |
|
|
| **Underline** | <kbd>Cmd</kbd> + <kbd>U</kbd> | <kbd>Ctrl</kbd> + <kbd>U</kbd> |
|
|
| **Strikethrough** | <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd> | <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd> |
|
|
| **Code** | <kbd>Cmd</kbd> + <kbd>E</kbd> | <kbd>Ctrl</kbd> + <kbd>E</kbd> |
|
|
| **Subscript** | <kbd>Cmd</kbd> + <kbd>,</kbd> | <kbd>Ctrl</kbd> + <kbd>,</kbd> |
|
|
| **Superscript** | <kbd>Cmd</kbd> + <kbd>.</kbd> | <kbd>Ctrl</kbd> + <kbd>.</kbd> |
|
|
|
|
### Headings
|
|
|
|
| Command | macOS | Windows |
|
|
| :--- | :--- | :--- |
|
|
| **Text** | <kbd>Cmd</kbd> + <kbd>Option</kbd> + <kbd>0</kbd> | <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>0</kbd> |
|
|
| **Heading 1** | <kbd>Cmd</kbd> + <kbd>Option</kbd> + <kbd>1</kbd> | <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>1</kbd> |
|
|
| **Heading 2** | <kbd>Cmd</kbd> + <kbd>Option</kbd> + <kbd>2</kbd> | <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>2</kbd> |
|
|
| **Heading 3** | <kbd>Cmd</kbd> + <kbd>Option</kbd> + <kbd>3</kbd> | <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>3</kbd> |
|
|
| **Heading 4** | <kbd>Cmd</kbd> + <kbd>Option</kbd> + <kbd>4</kbd> | <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>4</kbd> |
|
|
|
|
### Lists and blocks
|
|
|
|
| Command | macOS | Windows |
|
|
| :--- | :--- | :--- |
|
|
| **Unordered list** | <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>8</kbd> | <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>8</kbd> |
|
|
| **Blockquote** | <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd> | <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd> |
|
|
|
|
### Content actions
|
|
|
|
| Command | macOS | Windows |
|
|
| :--- | :--- | :--- |
|
|
| **Add link** to selected text | <kbd>Cmd</kbd> + <kbd>K</kbd> | <kbd>Ctrl</kbd> + <kbd>K</kbd> |
|
|
| **Add line break** | <kbd>Cmd</kbd> + <kbd>Enter</kbd> | <kbd>Ctrl</kbd> + <kbd>Enter</kbd> |
|
|
| **Component menu** | <kbd>/</kbd> | <kbd>/</kbd> |
|
|
| **Emoji picker** | <kbd>:</kbd> + keyword | <kbd>:</kbd> + keyword |
|
|
|
|
### Smart substitutions
|
|
|
|
The editor automatically converts certain character sequences into typographic symbols as you type. The editor skips substitutions inside code blocks and inline code.
|
|
|
|
| Type | Result |
|
|
| :--- | :--- |
|
|
| `->` | → |
|
|
| `<-` | ← |
|
|
| `=>` | ⇒ |
|
|
| `<=` | ≤ |
|
|
| `>=` | ≥ |
|
|
| `!=` | ≠ |
|
|
|
|
## Markdown mode
|
|
|
|
Markdown mode uses the Monaco editor, which supports standard VS Code keyboard shortcuts.
|
|
|
|
### Search and navigation
|
|
|
|
| Command | macOS | Windows |
|
|
| :--- | :--- | :--- |
|
|
| **Search files** | <kbd>Cmd</kbd> + <kbd>K</kbd> | <kbd>Ctrl</kbd> + <kbd>K</kbd> |
|
|
| **Find** | <kbd>Cmd</kbd> + <kbd>F</kbd> | <kbd>Ctrl</kbd> + <kbd>F</kbd> |
|
|
|
|
### Editing
|
|
|
|
| Command | macOS | Windows |
|
|
| :--- | :--- | :--- |
|
|
| **Toggle comment** | <kbd>Cmd</kbd> + <kbd>/</kbd> | <kbd>Ctrl</kbd> + <kbd>/</kbd> |
|
|
| **Indent line** | <kbd>Tab</kbd> | <kbd>Tab</kbd> |
|
|
| **Outdent line** | <kbd>Shift</kbd> + <kbd>Tab</kbd> | <kbd>Shift</kbd> + <kbd>Tab</kbd> |
|
|
| **Move line up** | <kbd>Option</kbd> + <kbd>↑</kbd> | <kbd>Alt</kbd> + <kbd>↑</kbd> |
|
|
| **Move line down** | <kbd>Option</kbd> + <kbd>↓</kbd> | <kbd>Alt</kbd> + <kbd>↓</kbd> |
|
|
| **Duplicate line** | <kbd>Shift</kbd> + <kbd>Option</kbd> + <kbd>↓</kbd> | <kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>↓</kbd> |
|
|
|
|
### Multiple cursors
|
|
|
|
| Command | macOS | Windows |
|
|
| :--- | :--- | :--- |
|
|
| **Add cursor** | <kbd>Option</kbd> + Click | <kbd>Alt</kbd> + Click |
|
|
| **Add cursor above** | <kbd>Cmd</kbd> + <kbd>Option</kbd> + <kbd>↑</kbd> | <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>↑</kbd> |
|
|
| **Add cursor below** | <kbd>Cmd</kbd> + <kbd>Option</kbd> + <kbd>↓</kbd> | <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>↓</kbd> |
|