Keyboard shortcuts
View the complete list of keyboard shortcuts for the Mintlify web editor, including text formatting, navigation, and editing commands.
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.
Editor-wide
Section titled “Editor-wide”These shortcuts work regardless of which mode you're in.
| Command | macOS | Windows |
|---|---|---|
| Search pages and dashboard | Cmd + K | Ctrl + K |
| Open or close the agent (when no text is selected) | Cmd + I | Ctrl + I |
| Switch between visual and source mode | Cmd + Shift + S | Ctrl + Shift + S |
| Move current page | Cmd + Shift + P | Ctrl + Shift + P |
| Show or hide the sidebar | Ctrl + \ | Ctrl + \ |
| Exit a version comparison | Cmd + Shift + D | Ctrl + Shift + D |
| Undo the last sidebar action (while the undo toast is visible) | Cmd + Z | Ctrl + Z |
Visual mode
Section titled “Visual mode”Use these shortcuts when editing in visual mode.
Text formatting
Section titled “Text formatting”| Command | macOS | Windows |
|---|---|---|
| Bold | Cmd + B | Ctrl + B |
| Italic | Cmd + I | Ctrl + I |
| Underline | Cmd + U | Ctrl + U |
| Strikethrough | Cmd + Shift + X | Ctrl + Shift + X |
| Code | Cmd + E | Ctrl + E |
| Subscript | Cmd + , | Ctrl + , |
| Superscript | Cmd + . | Ctrl + . |
Headings
Section titled “Headings”| Command | macOS | Windows |
|---|---|---|
| Text | Cmd + Option + 0 | Ctrl + Alt + 0 |
| Heading 1 | Cmd + Option + 1 | Ctrl + Alt + 1 |
| Heading 2 | Cmd + Option + 2 | Ctrl + Alt + 2 |
| Heading 3 | Cmd + Option + 3 | Ctrl + Alt + 3 |
| Heading 4 | Cmd + Option + 4 | Ctrl + Alt + 4 |
| Heading 5 | Cmd + Option + 5 | Ctrl + Alt + 5 |
| Heading 6 | Cmd + Option + 6 | Ctrl + Alt + 6 |
Lists and blocks
Section titled “Lists and blocks”| Command | macOS | Windows |
|---|---|---|
| Unordered list (also turns a task into a plain bullet) | Cmd + Shift + 8 | Ctrl + Shift + 8 |
| Ordered list (also turns a task into a plain numbered item) | Cmd + Shift + 7 | Ctrl + Shift + 7 |
| Task list | Cmd + Shift + 9 | Ctrl + Shift + 9 |
| Indent selected list items | Tab | Tab |
| Outdent selected list items | Shift + Tab | Shift + Tab |
| Blockquote | Cmd + Shift + B | Ctrl + Shift + B |
| Next table cell (adds a row from the last cell) | Tab | Tab |
| Previous table cell | Shift + Tab | Shift + Tab |
Content actions
Section titled “Content actions”| Command | macOS | Windows |
|---|---|---|
| Add link to selected text | Cmd + K | Ctrl + K |
| Add line break | Cmd + Enter | Ctrl + Enter |
| Comment on highlighted text | Cmd + Shift + M | Ctrl + Shift + M |
| Toggle suggesting mode | Cmd + Shift + E | Ctrl + Shift + E |
| Component menu | / | / |
| Emoji picker | : + keyword | : + keyword |
Smart substitutions
Section titled “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 |
|---|---|
-> |
→ |
<- |
← |
=> |
⇒ |
<= |
≤ |
>= |
≥ |
!= |
≠ |
Source mode
Section titled “Source mode”Source mode uses CodeMirror. Most common code editor shortcuts work, along with the ones below.
Search and navigation
Section titled “Search and navigation”| Command | macOS | Windows |
|---|---|---|
| Search pages and dashboard | Cmd + K | Ctrl + K |
| Find | Cmd + F | Ctrl + F |
Editing
Section titled “Editing”| Command | macOS | Windows |
|---|---|---|
Bold (wraps in **) |
Cmd + B | Ctrl + B |
Italic (wraps in _) |
Cmd + I | Ctrl + I |
| Toggle comment | Cmd + / | Ctrl + / |
| Format document | Cmd + S | Ctrl + S |
| Fold all | Cmd + Option + Shift + [] | Ctrl + Alt + Shift + [] |
| Unfold all | Cmd + Option + Shift + | Ctrl + Alt + Shift + |
| Indent line | Tab | Tab |
| Outdent line | Shift + Tab | Shift + Tab |
| Move line up | Option + ↑ | Alt + ↑ |
| Move line down | Option + ↓ | Alt + ↓ |
| Duplicate line | Shift + Option + ↓ | Shift + Alt + ↓ |