Updated for Markion v0.3.1 · 2026-09-04

DOCUMENTATION

Keyboard shortcuts

Markion's keyboard shortcuts are registered with platform-aware modifiers. On Windows and Linux the primary modifier is Ctrl; on macOS it is Cmd (⌘). In the tables below, Ctrl stands for that platform modifier, and bindings that include Alt use Option (⌥) on macOS.

Every action below (except raw navigation/editing keys like arrows, Backspace, and Tab) can be rebound in Preferences → Shortcuts, or by editing the [shortcuts] table in config.toml (action id → GPUI keystroke string). The bindings shown here are the defaults.

Notation

SymbolMeaning
CtrlCtrl on Windows/Linux, Cmd (⌘) on macOS
AltAlt on Windows/Linux, Option (⌥) on macOS
ShiftShift
+hold the keys together

File

ActionShortcut
New documentCtrl+N
Open documentCtrl+O
Open folderCtrl+Shift+O
SaveCtrl+S
Save AsCtrl+Shift+S
PreferencesCtrl+,
QuitCtrl+Q

Tabs

ActionShortcut
New tab (empty)Ctrl+Shift+N
Open file in new tabCtrl+T
Close tabCtrl+W
Next / previous tabCtrl+Tab / Ctrl+Shift+Tab

Text formatting

ActionShortcut
BoldCtrl+B
ItalicCtrl+I
Inline codeCtrl+Shift+`
Insert linkCtrl+K
Insert imageCtrl+Shift+I
Heading 1–6Ctrl+1 / Ctrl+6
Unordered listCtrl+Shift+]
Ordered listCtrl+Shift+[
Task listCtrl+Shift+X
QuoteCtrl+Shift+Q
Code blockCtrl+Shift+K
IndentTab
OutdentShift+Tab

Editing

ActionShortcut
UndoCtrl+Z
RedoCtrl+Y
Cut / Copy / PasteCtrl+X / Ctrl+C / Ctrl+V
Select allCtrl+A
Line start / endHome / End

View

ActionShortcut
Cycle view mode (Edit → Visual Edit → Split → Read)Ctrl+Shift+V
Edit mode (source only)Ctrl+/
Visual Edit mode (WYSIWYG-first, source-backed)Ctrl+E
Split mode (source + preview)Ctrl+P
Read mode (preview only)Ctrl+R
Toggle sidebarCtrl+Shift+B
Toggle focus modeF7
Toggle typewriter modeF8
Toggle code line numbersCtrl+Shift+4
Cycle themeCtrl+Shift+T

Sidebar — Files panel

ActionShortcut
Toggle file treeCtrl+Shift+F
Focus file-tree searchCtrl+Alt+F
Clear file-tree searchEsc
Refresh file treeF5
New file in treeCtrl+Alt+N
New folder in treeCtrl+Alt+Shift+N
Rename tree entryF2
Delete tree entryCtrl+Delete
Open clicked file in a new tabCtrl+click (Cmd+click on macOS)

Sidebar — Outline panel

ActionShortcut
Toggle outlineF6

Find & replace

ActionShortcut
FindCtrl+F
ReplaceCtrl+H
Find next / previousF3 / Shift+F3

Tables

ActionShortcut
Format table (align columns)Ctrl+Shift+M
Add rowCtrl+Alt+Enter
Delete rowCtrl+Alt+Backspace
Move row up / downCtrl+Alt+Up / Ctrl+Alt+Down
Add columnCtrl+Alt+Right
Delete columnCtrl+Alt+Left

Export

ActionShortcut
Export to HTML (styled)Ctrl+Shift+H
Export to plain HTMLCtrl+Alt+Shift+H
Export to PDFCtrl+Shift+P
Export to LaTeXCtrl+Shift+L
Export to DOCXCtrl+Shift+D
Export to PNGCtrl+Shift+G
Export to JPEGCtrl+Alt+Shift+G

Help

ActionShortcut
Markdown ReferenceF1

Notes

  • The default view mode is Visual Edit. Cycle through Edit → Visual Edit → Split → Read with Ctrl+Shift+V , or jump straight to a mode with Ctrl+//Ctrl+E/Ctrl+P/Ctrl+R. Preview width in Read mode follows the adaptive preview width preference.
  • Opening a file—from the file tree, drag-and-drop, Open Recent, or File → Open—targets the current tab when that is safe (an image tab, a clean untitled document, or another unmodified document) and otherwise opens a new tab, following the “Open documents in current tab” preference (on by default). A dirty document is never silently replaced, and Ctrl+click in the file tree always opens a new tab.
  • Focus mode dims paragraphs outside the current one; typewriter mode keeps the cursor line vertically centered.
  • A few bindings combine Ctrl with an Alt modifier (for example Ctrl+Alt+N for “new file in tree”); on macOS these are Cmd+Option.
  • If a binding does not behave as expected, check whether your window manager or OS has reserved it.