Keyboard shortcuts
The tables below are generated from Markpion's source code when this site is built, so they match the current version. Inside the app, Help → Keyboard Shortcuts shows the same list with a search box, and the command palette (Ctrl+Shift+P / Cmd+Shift+P, or F1) lists every command, including those without a shortcut.
Change a shortcut
In Help → Keyboard Shortcuts, choose Change next to a command and press the new key combination (Esc cancels). Shortcuts need Ctrl, Alt or Cmd, or a function key. If another command already uses it, Markpion asks whether to move it. Remove leaves a command without a shortcut, Reset restores the original, and Reset All restores every shortcut. Any command can get a shortcut, including those without one here. Your shortcuts are saved in keybindings in settings.json; the tables below show the defaults.
App commands
Files, tabs, editing, search and views.
| Action | Windows / Linux | macOS |
|---|---|---|
| New File | Ctrl+N | Cmd+N |
| Open File | Ctrl+O | Cmd+O |
| Open Folder | Ctrl+Shift+O | Cmd+Shift+O |
| Go to File | Ctrl+Alt+O | Cmd+Option+O |
| Go to Next Problem | F8 | F8 |
| Go to Previous Problem | Shift+F8 | Shift+F8 |
| Go to Heading | Ctrl+Alt+H | Cmd+Option+H |
| Go to Heading in Folder | Ctrl+Shift+Alt+H | Cmd+Shift+Option+H |
| Save | Ctrl+S | Cmd+S |
| Save As | Ctrl+Shift+S | Cmd+Shift+S |
| Save All | Ctrl+Alt+S | Cmd+Option+S |
| Focus Next Pane | F6 | F6 |
| Focus Previous Pane | Shift+F6 | Shift+F6 |
| Print / Save as PDF | Ctrl+P | Cmd+P |
| Reopen Closed Tab | Ctrl+Shift+T | Cmd+Shift+T |
| Close Tab | Ctrl+W | Cmd+W |
| Next Tab | Ctrl+Tab | Ctrl+Tab |
| Previous Tab | Ctrl+Shift+Tab | Ctrl+Shift+Tab |
| Undo | Ctrl+Z | Cmd+Z |
| Redo | Ctrl+Y | Cmd+Shift+Z |
| Find | Ctrl+F | Cmd+F |
| Replace | Ctrl+H | Cmd+Option+F |
| Go to Line | Ctrl+G | Cmd+G |
| Select All | Ctrl+A | Cmd+A |
| Cycle View Mode | Ctrl+\ | Cmd+\ |
| Editor Only | Ctrl+1 | Cmd+1 |
| Split View | Ctrl+2 | Cmd+2 |
| Preview Only | Ctrl+3 | Cmd+3 |
| Toggle File Explorer | Ctrl+Shift+E | Cmd+Shift+E |
| Find in Files | Ctrl+Shift+F | Cmd+Shift+F |
| Toggle Outline | Ctrl+Shift+L | Cmd+Shift+L |
| Increase Font Size | Ctrl+= | Cmd+= |
| Decrease Font Size | Ctrl+- | Cmd+- |
| Reset Font Size | Ctrl+0 | Cmd+0 |
| Command Palette | Ctrl+Shift+P | Cmd+Shift+P |
| Settings | Ctrl+, | Cmd+, |
| Toggle Word Wrap | Alt+Z | Option+Z |
| Toggle Focus Mode | Ctrl+Shift+Enter | Cmd+Shift+Enter |
| Toggle Full Screen | F11 | F11 |
| AI: Write | Ctrl+Shift+J | Cmd+Shift+J |
| AI: Ask Claude | Ctrl+J | Cmd+J |
Formatting
The Format menu. Commands without a shortcut, such as Insert Table, Sort Table by Column and Move Section Up/Down, are in the menu and the command palette.
| Action | Windows / Linux | macOS |
|---|---|---|
| Bold | Ctrl+B | Cmd+B |
| Italic | Ctrl+I | Cmd+I |
| Strikethrough | Ctrl+Shift+X | Cmd+Shift+X |
| Inline Code | Ctrl+E | Cmd+E |
| Insert Link | Ctrl+K | Cmd+K |
| Toggle Comment | Ctrl+/ | Cmd+/ |
| Open Link at Cursor | Alt+Enter | Option+Enter |
| Heading 1 | Ctrl+Alt+1 | Cmd+Option+1 |
| Heading 2 | Ctrl+Alt+2 | Cmd+Option+2 |
| Heading 3 | Ctrl+Alt+3 | Cmd+Option+3 |
| Heading 4 | Ctrl+Alt+4 | Cmd+Option+4 |
| Heading 5 | Ctrl+Alt+5 | Cmd+Option+5 |
| Heading 6 | Ctrl+Alt+6 | Cmd+Option+6 |
| Normal Text | Ctrl+Alt+0 | Cmd+Option+0 |
| Promote Heading | Ctrl+Alt+= | Cmd+Option+= |
| Demote Heading | Ctrl+Alt+- | Cmd+Option+- |
| Bulleted List | Ctrl+Shift+8 | Cmd+Shift+8 |
| Numbered List | Ctrl+Shift+7 | Cmd+Shift+7 |
| Task List | Ctrl+Shift+9 | Cmd+Shift+9 |
| Quote | Ctrl+Shift+. | Cmd+Shift+. |
| Code Block | Ctrl+Alt+C | Cmd+Option+C |
| Check / Uncheck Task | Ctrl+Enter | Cmd+Enter |
| Insert Footnote | Ctrl+Alt+R | Cmd+Option+R |
| Format Table | Ctrl+Alt+T | Cmd+Option+T |
| Go to Next Change (Git) | Alt+F5 | Option+F5 |
| Go to Previous Change (Git) | Shift+Alt+F5 | Shift+Option+F5 |
| Reflow Paragraph | Alt+Q | Option+Q |
Built-in editor keys
These come with the CodeMirror editor.
| Action | Windows / Linux | macOS |
|---|---|---|
| Command palette | F1 | F1 |
| Select next occurrence | Ctrl+D | Cmd+D |
| Add a cursor | Ctrl+click | Cmd+click |
| Rectangular selection | Alt+drag | Option+drag |
| Move line up / down | Alt+↑ / Alt+↓ | Option+↑ / Option+↓ |
| Copy line up / down | Shift+Alt+↑ / Shift+Alt+↓ | Shift+Option+↑ / Shift+Option+↓ |
| Delete line | Ctrl+Shift+K | Cmd+Shift+K |
| Indent / outdent | Tab / Shift+Tab, Ctrl+] / Ctrl+[ | Tab / Shift+Tab, Cmd+] / Cmd+[ |
| Next / previous table cell (in a table) | Tab / Shift+Tab | Tab / Shift+Tab |
| Fold / unfold | Ctrl+Shift+[ / Ctrl+Shift+] | Cmd+Option+[ / Cmd+Option+] |
| Fold all / unfold all (also in the View menu) | Ctrl+Alt+[ / Ctrl+Alt+] | Ctrl+Option+[ / Ctrl+Option+] |
| Next / previous match (in the search bar) | Enter / Shift+Enter | Enter / Shift+Enter |
| Paste as plain text (Windows) | Ctrl+Shift+V | Turn off rich paste in Settings |
| Leave Focus Mode, close the search bar | Esc | Esc |
| Move the focused outline heading's section up / down | Alt+↑ / Alt+↓ | Option+↑ / Option+↓ |
| Open the context menu (tabs, explorer, outline) | Shift+F10 or the Menu key | Shift+F10 |
Notes
- On macOS, Ctrl+Tab and Ctrl+Shift+Tab (not Cmd) switch tabs.
- On Windows, Ctrl+Alt is the same as AltGr on many keyboard layouts. If a Ctrl+Alt shortcut types a character instead, use the menu or the command palette.
- Shortcuts that open a dialog (such as Open File) work anywhere in the window; formatting shortcuts work in the editor.