Shortcut reference

The default keys for everyday work, and how to change them.

About the keys listed here

These are the defaults. Assignments you have changed are listed in the in-app help on F12.

Files and output

OperationKeys
New tab / new windowCtrl+N / Ctrl+Shift+N
Open a file / a folderCtrl+O / Ctrl+Shift+O
Save / save asCtrl+S / Ctrl+Shift+S
Encrypt / lockAlt+Shift+S
Export HTML / PDFCtrl+Shift+E / Ctrl+L
PrintCtrl+P
Close a tab / reopen a closed tabCtrl+W / Ctrl+Shift+T
Close all tabsCtrl+Shift+W
Previous / next tabCtrl+PageUp / Ctrl+PageDown
New workspace / close workspaceCtrl+Alt+N / Ctrl+Alt+C
Close the windowCtrl+Q
Exit the appCtrl+Alt+Q

Editing and formatting

OperationKeys
Undo / redoCtrl+Z / Ctrl+Y
Bold / italicCtrl+B / Ctrl+I
Strikethrough / highlightAlt+Shift+5 / Ctrl+R
Heading 1 to 3Ctrl+1 / Ctrl+2 / Ctrl+3
Link / image syntaxCtrl+K / Ctrl+Shift+I
Inline codeCtrl+Shift+K
Code blockCtrl+Shift+`
QuoteCtrl+Shift+.
Bullet / numbered listCtrl+Shift+8 / Ctrl+Shift+7
Horizontal ruleShift+Space
Table / format the documentAlt+Shift+T / Alt+Shift+F
Toggle commentCtrl+/
Paste without formattingCtrl+Shift+V
Front matterCtrl+-
Date / timeCtrl++ / Ctrl+;

Date and time depend on your keyboard layout. On a JIS layout, the date is Ctrl+; and the time is Ctrl+:.

Search and navigation

OperationKeys
Search / replace in the documentCtrl+F / Ctrl+H
Search / replace across filesCtrl+Shift+F / Ctrl+Shift+H
Next / previous matchF3 / Shift+F3
Back / forwardAlt+← / Alt+→
Go to the start / the endCtrl+Home / Ctrl+End
Go to a lineCtrl+G

View and panels

OperationKeys
Switch source / previewF1 or Ctrl+E
Switch dark / lightCtrl+D
BacklinksF6
File explorerF7
OutlineF8
Full-screen previewF11
Reload the previewF5
Formatting toolbarCtrl+T
Command terminalCtrl+Space
Add to / remove from favoritesCtrl+Shift+D
Settings / helpCtrl+, / F12

Line operations in the editor

OperationKeys
Move the line up / downAlt+↑ / Alt+↓
Duplicate the line up / downAlt+Shift+↑ / Alt+Shift+↓
Insert a blank line below / aboveCtrl+Enter / Ctrl+Shift+Enter
Insert a line-break tagShift+Enter
Remove the Markdown markers at line startShift+Tab

These editor-only line operations cannot be changed in the settings.

Change an assignment

Find the command under Settings → Shortcuts, click its assignment field and press the keys you want. A command takes up to two assignments.

Choosing keys that another command uses removes that command’s assignment. Restoring the defaults resets every assignment at once. See Display and input settings for details.

Shortcuts are listed with their default assignments. If you have changed them, check the current keys in the in-app help (F12).