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
| Symbol | Meaning |
|---|
| Ctrl | Ctrl on Windows/Linux, Cmd (⌘) on macOS |
| Alt | Alt on Windows/Linux, Option (⌥) on macOS |
| Shift | Shift |
| + | hold the keys together |
File
| Action | Shortcut |
|---|
| New document | Ctrl+N |
| Open document | Ctrl+O |
| Open folder | Ctrl+Shift+O |
| Save | Ctrl+S |
| Save As | Ctrl+Shift+S |
| Preferences | Ctrl+, |
| Quit | Ctrl+Q |
Tabs
| Action | Shortcut |
|---|
| New tab (empty) | Ctrl+Shift+N |
| Open file in new tab | Ctrl+T |
| Close tab | Ctrl+W |
| Next / previous tab | Ctrl+Tab / Ctrl+Shift+Tab |
Text formatting
| Action | Shortcut |
|---|
| Bold | Ctrl+B |
| Italic | Ctrl+I |
| Inline code | Ctrl+Shift+` |
| Insert link | Ctrl+K |
| Insert image | Ctrl+Shift+I |
| Heading 1–6 | Ctrl+1 / Ctrl+6 |
| Unordered list | Ctrl+Shift+] |
| Ordered list | Ctrl+Shift+[ |
| Task list | Ctrl+Shift+X |
| Quote | Ctrl+Shift+Q |
| Code block | Ctrl+Shift+K |
| Indent | Tab |
| Outdent | Shift+Tab |
Editing
| Action | Shortcut |
|---|
| Undo | Ctrl+Z |
| Redo | Ctrl+Y |
| Cut / Copy / Paste | Ctrl+X / Ctrl+C / Ctrl+V |
| Select all | Ctrl+A |
| Line start / end | Home / End |
View
| Action | Shortcut |
|---|
| 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 sidebar | Ctrl+Shift+B |
| Toggle focus mode | F7 |
| Toggle typewriter mode | F8 |
| Toggle code line numbers | Ctrl+Shift+4 |
| Cycle theme | Ctrl+Shift+T |
Sidebar — Files panel
| Action | Shortcut |
|---|
| Toggle file tree | Ctrl+Shift+F |
| Focus file-tree search | Ctrl+Alt+F |
| Clear file-tree search | Esc |
| Refresh file tree | F5 |
| New file in tree | Ctrl+Alt+N |
| New folder in tree | Ctrl+Alt+Shift+N |
| Rename tree entry | F2 |
| Delete tree entry | Ctrl+Delete |
| Open clicked file in a new tab | Ctrl+click (Cmd+click on macOS) |
Sidebar — Outline panel
| Action | Shortcut |
|---|
| Toggle outline | F6 |
Find & replace
| Action | Shortcut |
|---|
| Find | Ctrl+F |
| Replace | Ctrl+H |
| Find next / previous | F3 / Shift+F3 |
Tables
| Action | Shortcut |
|---|
| Format table (align columns) | Ctrl+Shift+M |
| Add row | Ctrl+Alt+Enter |
| Delete row | Ctrl+Alt+Backspace |
| Move row up / down | Ctrl+Alt+Up / Ctrl+Alt+Down |
| Add column | Ctrl+Alt+Right |
| Delete column | Ctrl+Alt+Left |
Export
| Action | Shortcut |
|---|
| Export to HTML (styled) | Ctrl+Shift+H |
| Export to plain HTML | Ctrl+Alt+Shift+H |
| Export to PDF | Ctrl+Shift+P |
| Export to LaTeX | Ctrl+Shift+L |
| Export to DOCX | Ctrl+Shift+D |
| Export to PNG | Ctrl+Shift+G |
| Export to JPEG | Ctrl+Alt+Shift+G |
Help
| Action | Shortcut |
|---|
| Markdown Reference | F1 |
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.