Skip to content
Mintlify
Mintlify
Editor

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

These shortcuts work regardless of which mode you’re in.

CommandmacOSWindows
Search pages and dashboardCmd + KCtrl + K
Open or close the agent (when no text is selected)Cmd + ICtrl + I
Switch between visual and source modeCmd + Shift + SCtrl + Shift + S
Move current pageCmd + Shift + PCtrl + Shift + P
Show or hide the sidebarCtrl + \Ctrl + \
Exit a version comparisonCmd + Shift + DCtrl + Shift + D
Undo the last sidebar action (while the undo toast is visible)Cmd + ZCtrl + Z

Visual mode

Use these shortcuts when editing in visual mode.

Text formatting

CommandmacOSWindows
BoldCmd + BCtrl + B
ItalicCmd + ICtrl + I
UnderlineCmd + UCtrl + U
StrikethroughCmd + Shift + XCtrl + Shift + X
CodeCmd + ECtrl + E
SubscriptCmd + ,Ctrl + ,
SuperscriptCmd + .Ctrl + .

Headings

CommandmacOSWindows
TextCmd + Option + 0Ctrl + Alt + 0
Heading 1Cmd + Option + 1Ctrl + Alt + 1
Heading 2Cmd + Option + 2Ctrl + Alt + 2
Heading 3Cmd + Option + 3Ctrl + Alt + 3
Heading 4Cmd + Option + 4Ctrl + Alt + 4
Heading 5Cmd + Option + 5Ctrl + Alt + 5
Heading 6Cmd + Option + 6Ctrl + Alt + 6

Lists and blocks

CommandmacOSWindows
Unordered listCmd + Shift + 8Ctrl + Shift + 8
BlockquoteCmd + Shift + BCtrl + Shift + B
Next table cell (adds a row from the last cell)TabTab
Previous table cellShift + TabShift + Tab

Content actions

CommandmacOSWindows
Add link to selected textCmd + KCtrl + K
Add line breakCmd + EnterCtrl + Enter
Comment on highlighted textCmd + Shift + MCtrl + Shift + M
Toggle suggesting modeCmd + Shift + ECtrl + Shift + E
Component menu//
Emoji picker: + keyword: + 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.

TypeResult
->
<-
=>
<=
>=
!=

Source mode

Source mode uses CodeMirror. Most common code editor shortcuts work, along with the ones below.

Search and navigation

CommandmacOSWindows
Search pages and dashboardCmd + KCtrl + K
FindCmd + FCtrl + F

Editing

CommandmacOSWindows
Bold (wraps in **)Cmd + BCtrl + B
Italic (wraps in _)Cmd + ICtrl + I
Toggle commentCmd + /Ctrl + /
Format documentCmd + SCtrl + S
Fold allCmd + Option + Shift + [Ctrl + Alt + Shift + [
Unfold allCmd + Option + Shift + ]Ctrl + Alt + Shift + ]
Indent lineTabTab
Outdent lineShift + TabShift + Tab
Move line upOption + Alt +
Move line downOption + Alt +
Duplicate lineShift + Option + Shift + Alt +
Was this page helpful?Suggest editsRaise issue