User documentation
Key Bindings for macOS#
MarkText key bindings for macOS. Please see general key bindings for information how to use custom key bindings.
Modifier keys use their full macOS names and appear in this order: Control, Option, Shift, Command, followed by the main key.
| Id | Default | Description |
|---|
mt.hide | Command+H | Hide MarkText |
mt.hide-others | Option+Command+H | Hide all other windows except MarkText |
file.preferences | Command+, | Open settings window |
file.quit | Command+Q | Quit MarkText |
| Id | Default | Description |
|---|
file.new-window | Command+N | New window |
file.new-tab | Command+T | New tab |
file.open-file | Command+O | Open markdown file |
file.open-folder | Shift+Command+O | Open folder |
file.save | Command+S | Save |
file.save-as | Shift+Command+S | Save as... |
file.export-file.pdf | Control+Option+E | Export file as PDF |
file.move-file | - | Move current file to another location |
file.rename-file | - | Rename current file |
file.print | - | Print current tab |
file.close-tab | Command+W | Close tab |
file.close-window | Shift+Command+W | Close window |
| Id | Default | Description |
|---|
edit.undo | Command+Z | Undo last operation |
edit.redo | Shift+Command+Z | Redo last operation |
edit.cut | Command+X | Cut selected text |
edit.copy | Command+C | Copy selected text |
edit.paste | Command+V | Paste text |
edit.copy-as-rich | Shift+Command+C | Copy selected text as rich text |
edit.copy-as-html | - | Copy selected text as html |
edit.paste-as-plaintext | Shift+Command+V | Paste clipboard contents as plain text |
edit.select-all | Command+A | Select all text of the document |
edit.duplicate | Shift+Command+E | Duplicate the current paragraph |
edit.create-paragraph | Shift+Command+N | Create a new paragraph after the current one |
edit.delete-paragraph | Shift+Command+D | Delete current paragraph |
edit.find | Command+F | Find information in the document |
edit.find-next | Command+G | Continue the search and find the next match |
edit.find-previous | Shift+Command+G | Continue the search and find the previous match |
edit.replace | Option+Command+F | Replace the information with a replacement |
edit.find-in-folder | Shift+Command+F | Find files contain the keyword in opend folder |
edit.screenshot | Option+Command+A | Get the screenshot |
| Id | Default | Description |
|---|
paragraph.heading-1 | Command+1 | Set line as heading 1 |
paragraph.heading-2 | Command+2 | Set line as heading 2 |
paragraph.heading-3 | Command+3 | Set line as heading 3 |
paragraph.heading-4 | Command+4 | Set line as heading 4 |
paragraph.heading-5 | Command+5 | Set line as heading 5 |
paragraph.heading-6 | Command+6 | Set line as heading 6 |
paragraph.upgrade-heading | Command+= | Upgrade a heading |
paragraph.degrade-heading | Command+- | Degrade a heading |
paragraph.table | Shift+Command+T | Insert a table |
paragraph.code-fence | Option+Command+C | Insert a code block |
paragraph.quote-block | Option+Command+Q | Insert a quote block |
paragraph.math-formula | Option+Command+M | Insert a math block |
paragraph.html-block | Option+Command+J | Insert a HTML block |
paragraph.order-list | Option+Command+O | Insert a ordered list |
paragraph.bullet-list | Option+Command+U | Insert a unordered list |
paragraph.task-list | Option+Command+X | Insert a task list |
paragraph.loose-list-item | Option+Command+L | Convert a list item to a loose list item |
paragraph.paragraph | Command+0 | Convert a heading to a paragraph |
paragraph.horizontal-line | Option+Command+- | Add a horizontal line |
paragraph.front-matter | Option+Command+Y | Insert a YAML frontmatter block |
| Id | Default | Description |
|---|
format.strong | Command+B | Set the font of the selected text to bold |
format.emphasis | Command+I | Set the font of the selected text to italic |
format.underline | Command+U | Change the selected text to underline |
format.superscript | - | Set the selected text as superscript |
format.subscript | - | Set the selected text as subscript |
format.highlight | Shift+Command+H | Highlight the selected text by tag |
format.inline-code | Control+Command+C | Change the selected text to inline code |
format.inline-math | Shift+Command+M | Change the selected text to inline math |
format.strike | Command+D | Strike through the selected text |
format.hyperlink | Command+L | Insert a hyperlink |
format.image | Shift+Command+I | Insert a image |
format.clear-format | Shift+Command+R | Clear the formatting of the selected text |
| Id | Default | Description |
|---|
window.minimize | Command+M | Minimize the window |
window.toggle-always-on-top | - | Toggle always on top mode |
window.zoomIn | - | Zoom in |
window.resetZoom | - | Reset zoom |
window.zoomOut | - | Zoom out |
window.toggle-full-screen | Control+Command+F | Toggle fullscreen mode |
| Id | Default | Description |
|---|
view.command-palette | Shift+Command+P | Toggle command palette |
view.read-only-mode | Control+Command+R | Toggle Reading Mode for the current tab |
view.source-code-mode | Option+Command+S | Switch to source code mode |
view.typewriter-mode | Option+Command+T | Enable typewriter mode |
view.focus-mode | Shift+Command+J | Enable focus mode |
view.toggle-sidebar | Command+J | Toggle sidebar |
view.toggle-tabbar | Option+Command+B | Toggle tabbar |
view.toggle-toc | Command+K | Toggle table of contents |
view.toggle-dev-tools | Option+Command+I | Toggle developer tools (debug mode only) |
view.dev-reload | Option+Command+R | Reload window (debug mode only) |
view.reload-images | Command+R | Reload images |
Available key bindings#
Tabs#
| Id | Default | Description |
|---|
tabs.cycleForward | Control+Tab | Next tab |
tabs.cycleBackward | Control+Shift+Tab | Previous tab |
tabs.switchToLeft | Command+PageUp | Tab to the left |
tabs.switchToRight | Command+PageDown | Tab to the right |
tabs.switchToFirst | Control+1 | Switch to tab 1 |
tabs.switchToSecond | Control+2 | Switch to tab 2 |
tabs.switchToThird | Control+3 | Switch to tab 3 |
tabs.switchToFourth | Control+4 | Switch to tab 4 |
tabs.switchToFifth | Control+5 | Switch to tab 5 |
tabs.switchToSixth | Control+6 | Switch to tab 6 |
tabs.switchToSeventh | Control+7 | Switch to tab 7 |
tabs.switchToEighth | Control+8 | Switch to tab 8 |
tabs.switchToNinth | Control+9 | Switch to tab 9 |
tabs.switchToTenth | Control+0 | Switch to tab 10 |
Misc#
| Id | Default | Description |
|---|
file.quick-open | Command+P | Open quick open dialog |
file.quick-open-recent | Control+R | Open recent files and folders |