Guide

Keyboard shortcuts

The list of Marxdown shortcuts. Anything not listed here can be run from Ctrl+Shift+P (Command Palette).

File

  • New File Ctrl+N
  • Open File Ctrl+O
  • Open Folder Ctrl+Alt+O
  • Save Ctrl+S
  • Save As Ctrl+Shift+S
  • Reopen with the latest content on disk F5 / Ctrl+R
  • Close Tab Ctrl+W
  • Reopen Closed Tab Ctrl+Shift+T
  • Settings Ctrl+,
  • Quit Marxdown Ctrl+Q

Closing the window with ✕ leaves Marxdown waiting in the system tray. To quit completely, press Ctrl+Q.

View

  • Switch between Preview and Edit Ctrl+Shift+V
  • Split (editor and preview side by side) Ctrl+</kbd>
  • Cycle through view modes Ctrl+Shift+M
  • Open / close the left pane Ctrl+Shift+B
  • Open / close the right pane Ctrl+Alt+B
  • Show the Explorer (file list) Ctrl+Shift+E
  • Show the Outline Ctrl+Shift+U
  • Zoom in / zoom out / reset zoom Ctrl+= / Ctrl+- / Ctrl+0

Markdown formatting (editor)

  • Bold Ctrl+B
  • Italic Ctrl+I
  • Strikethrough Ctrl+Shift+X
  • Inline code Ctrl+`
  • Code block Ctrl+Shift+`
  • Insert a link (the selected text becomes the link text) Ctrl+K
  • Quote Ctrl+Shift+.
  • Bulleted list Ctrl+Shift+L
  • Numbered list Ctrl+Shift+N
  • Toggle a task list checkbox Ctrl+Enter
  • Set the heading level Ctrl+Alt+1–6
  • Remove the heading Ctrl+Alt+0
  • Indent / outdent a list item. In a table, move to the next / previous cell Tab / Shift+Tab
  • Align the columns of the table at the cursor Shift+Alt+F

Formatting keys apply to the selection if there is one, or to the cursor position otherwise. Pressing them where the same formatting is already applied removes it.

Other editing actions (undo, moving lines, multiple cursors, and so on) are the same as in VS Code.

File list (when the Explorer has focus)

  • Open (expand / collapse a folder) Enter
  • Rename F2
  • Move to the Recycle Bin (with confirmation) Delete
  • Copy / cut / paste Ctrl+C / Ctrl+X / Ctrl+V
  • Cancel cut / reduce the selection to one item Escape
  • Copy the absolute path Shift+Alt+C
  • Copy the path relative to the opened folder Ctrl+Shift+Alt+C
  • Reveal in File Explorer (Windows) Shift+Alt+R
  • Select all items at the same level Ctrl+A
  • Extend the selection Shift+↑ / Shift+↓
  • Add to the selection / select a range (when two or more items are selected) Ctrl+click / Shift+click
  • Open the menu Shift+F10 / Menu key
  • Move to the next item starting with that letter Letter keys

macOS (preview)

  • Replace (instead of Ctrl+H; ⌘+H hides the app) ⌘+⌥+F
  • Back / Forward (instead of Alt+← / Alt+→; ⌥+← moves by word) ⌘+[ / ⌘+]
  • Next tab (⌘+Tab switches apps) ⌃+Tab / ⌘+⇧+]
  • Previous tab ⌃+⇧+Tab / ⌘+⇧+[
  • Full screen (an OS feature) ⌃+⌘+F

On macOS, read Ctrl as ⌘ and Alt as ⌥. Keys that conflict with the OS are remapped as follows.

⇧+⌥+R reveals the item in Finder.

↑↓ to select · Enter to go · Esc to close