MarkText logoMarkTextDocs
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.

Available menu key bindings

MarkText menu

IdDefaultDescription
mt.hideCommand+HHide MarkText
mt.hide-othersOption+Command+HHide all other windows except MarkText
file.preferencesCommand+,Open settings window
file.quitCommand+QQuit MarkText

File menu

IdDefaultDescription
file.new-windowCommand+NNew window
file.new-tabCommand+TNew tab
file.open-fileCommand+OOpen markdown file
file.open-folderShift+Command+OOpen folder
file.saveCommand+SSave
file.save-asShift+Command+SSave as...
file.export-file.pdfControl+Option+EExport 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-tabCommand+WClose tab
file.close-windowShift+Command+WClose window

Edit menu

IdDefaultDescription
edit.undoCommand+ZUndo last operation
edit.redoShift+Command+ZRedo last operation
edit.cutCommand+XCut selected text
edit.copyCommand+CCopy selected text
edit.pasteCommand+VPaste text
edit.copy-as-richShift+Command+CCopy selected text as rich text
edit.copy-as-html-Copy selected text as html
edit.paste-as-plaintextShift+Command+VPaste clipboard contents as plain text
edit.select-allCommand+ASelect all text of the document
edit.duplicateShift+Command+EDuplicate the current paragraph
edit.create-paragraphShift+Command+NCreate a new paragraph after the current one
edit.delete-paragraphShift+Command+DDelete current paragraph
edit.findCommand+FFind information in the document
edit.find-nextCommand+GContinue the search and find the next match
edit.find-previousShift+Command+GContinue the search and find the previous match
edit.replaceOption+Command+FReplace the information with a replacement
edit.find-in-folderShift+Command+FFind files contain the keyword in opend folder
edit.screenshotOption+Command+AGet the screenshot

Paragraph menu

IdDefaultDescription
paragraph.heading-1Command+1Set line as heading 1
paragraph.heading-2Command+2Set line as heading 2
paragraph.heading-3Command+3Set line as heading 3
paragraph.heading-4Command+4Set line as heading 4
paragraph.heading-5Command+5Set line as heading 5
paragraph.heading-6Command+6Set line as heading 6
paragraph.upgrade-headingCommand+=Upgrade a heading
paragraph.degrade-headingCommand+-Degrade a heading
paragraph.tableShift+Command+TInsert a table
paragraph.code-fenceOption+Command+CInsert a code block
paragraph.quote-blockOption+Command+QInsert a quote block
paragraph.math-formulaOption+Command+MInsert a math block
paragraph.html-blockOption+Command+JInsert a HTML block
paragraph.order-listOption+Command+OInsert a ordered list
paragraph.bullet-listOption+Command+UInsert a unordered list
paragraph.task-listOption+Command+XInsert a task list
paragraph.loose-list-itemOption+Command+LConvert a list item to a loose list item
paragraph.paragraphCommand+0Convert a heading to a paragraph
paragraph.horizontal-lineOption+Command+-Add a horizontal line
paragraph.front-matterOption+Command+YInsert a YAML frontmatter block

Format menu

IdDefaultDescription
format.strongCommand+BSet the font of the selected text to bold
format.emphasisCommand+ISet the font of the selected text to italic
format.underlineCommand+UChange the selected text to underline
format.superscript-Set the selected text as superscript
format.subscript-Set the selected text as subscript
format.highlightShift+Command+HHighlight the selected text by tag
format.inline-codeControl+Command+CChange the selected text to inline code
format.inline-mathShift+Command+MChange the selected text to inline math
format.strikeCommand+DStrike through the selected text
format.hyperlinkCommand+LInsert a hyperlink
format.imageShift+Command+IInsert a image
format.clear-formatShift+Command+RClear the formatting of the selected text

Window menu

IdDefaultDescription
window.minimizeCommand+MMinimize 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-screenControl+Command+FToggle fullscreen mode

View menu

IdDefaultDescription
view.command-paletteShift+Command+PToggle command palette
view.read-only-modeControl+Command+RToggle Reading Mode for the current tab
view.source-code-modeOption+Command+SSwitch to source code mode
view.typewriter-modeOption+Command+TEnable typewriter mode
view.focus-modeShift+Command+JEnable focus mode
view.toggle-sidebarCommand+JToggle sidebar
view.toggle-tabbarOption+Command+BToggle tabbar
view.toggle-tocCommand+KToggle table of contents
view.toggle-dev-toolsOption+Command+IToggle developer tools (debug mode only)
view.dev-reloadOption+Command+RReload window (debug mode only)
view.reload-imagesCommand+RReload images

Available key bindings

Tabs

IdDefaultDescription
tabs.cycleForwardControl+TabNext tab
tabs.cycleBackwardControl+Shift+TabPrevious tab
tabs.switchToLeftCommand+PageUpTab to the left
tabs.switchToRightCommand+PageDownTab to the right
tabs.switchToFirstControl+1Switch to tab 1
tabs.switchToSecondControl+2Switch to tab 2
tabs.switchToThirdControl+3Switch to tab 3
tabs.switchToFourthControl+4Switch to tab 4
tabs.switchToFifthControl+5Switch to tab 5
tabs.switchToSixthControl+6Switch to tab 6
tabs.switchToSeventhControl+7Switch to tab 7
tabs.switchToEighthControl+8Switch to tab 8
tabs.switchToNinthControl+9Switch to tab 9
tabs.switchToTenthControl+0Switch to tab 10

Misc

IdDefaultDescription
file.quick-openCommand+POpen quick open dialog
file.quick-open-recentControl+ROpen recent files and folders