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.

Available menu key bindings#

MarkText menu#

IdDefaultDescription
mt.hideCommand+HHide MarkText
mt.hide-othersCommand+Option+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-folderCommand+Shift+OOpen folder
file.saveCommand+SSave
file.save-asCommand+Shift+SSave as...
file.export-file.pdfCtrl+Alt+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-windowCommand+Shift+WClose window

Edit menu#

IdDefaultDescription
edit.undoCommand+ZUndo last operation
edit.redoCommand+Shift+ZRedo last operation
edit.cutCommand+XCut selected text
edit.copyCommand+CCopy selected text
edit.pasteCommand+VPaste text
edit.copy-as-richCommand+Shift+CCopy selected text as markdown
edit.copy-as-html-Copy selected text as html
edit.paste-as-plaintextCommand+Shift+VCopy selected text as plaintext
edit.select-allCommand+ASelect all text of the document
edit.duplicateCommand+Option+PDuplicate the current paragraph
edit.create-paragraphCommand+Shift+NCreate a new paragraph after the current one
edit.delete-paragraphCommand+Shift+DDelete current paragraph
edit.findCommand+FFind information in the document
edit.find-nextCmd+GContinue the search and find the next match
edit.find-previousShift+Cmd+GContinue the search and find the previous match
edit.replaceCommand+Option+FReplace the information with a replacement
edit.find-in-folderCommand+Shift+FFind files contain the keyword in opend folder
edit.screenshotCommand+Option+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+PlusUpgrade a heading
paragraph.degrade-headingCommand+-Degrade a heading
paragraph.tableCommand+Shift+TInsert a table
paragraph.code-fenceCommand+Option+CInsert a code block
paragraph.quote-blockCommand+Option+QInsert a quote block
paragraph.math-formulaCommand+Option+MInsert a math block
paragraph.html-blockCommand+Option+JInsert a HTML block
paragraph.order-listCommand+Option+OInsert a ordered list
paragraph.bullet-listCommand+Option+UInsert a unordered list
paragraph.task-listCommand+Option+XInsert a task list
paragraph.loose-list-itemCommand+Option+LConvert a list item to a loose list item
paragraph.paragraphCommand+0Convert a heading to a paragraph
paragraph.horizontal-lineCommand+Option+-Add a horizontal line
paragraph.front-matterCommand+Option+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-Change the selected text to underline
format.subscript-Change the selected text to underline
format.highlightCommand+Shift+HHighlight the selected text by tag
format.inline-codeCommand+`Change the selected text to inline code
format.inline-mathCommand+Shift+MChange the selected text to inline math
format.strikeCommand+DStrike through the selected text
format.hyperlinkCommand+LInsert a hyperlink
format.imageCommand+Shift+IInsert a image
format.clear-formatCommand+Shift+RClear the formatting of the selected text

Window menu#

IdDefaultDescription
window.minimizeCommand+MMinimize the window
window.toggle-always-on-top-Toogle always on top mode
window.zoomIn-Zoom in
window.zoomOut-Zoom out
window.toggle-full-screenCtrl+Command+FToggle fullscreen mode

View menu#

IdDefaultDescription
view.command-paletteCommand+Shift+PToggle command palette
view.source-code-modeCommand+Option+SSwitch to source code mode
view.typewriter-modeCommand+Option+TEnable typewriter mode
view.focus-modeCommand+Shift+JEnable focus mode
view.toggle-sidebarCommand+JToggle sidebar
view.toggle-tabbarCommand+Option+BToggle tabbar
view.toggle-toc .Command+KToggle table of contents
view.toggle-dev-toolsCommand+Option+IToggle developer tools (debug mode only)
view.dev-reloadCommand+Option+RReload window (debug mode only)
view.reload-imagesCommand+RReload images

Available key bindings#

Tabs#

IdDefaultDescription
tabs.cycle-forwardCtrl+TabCycle through tabs
tabs.cycle-backwardCtrl+Shift+TabCycle backwards through tabs
tabs.switchToleftCommand+PageUpSwitch tab to the left
tabs.switchTorightCommand+PageDownSwitch tab to the right
tabs.switchTofirstCtrl+1Switch tab to the 1st
tabs.switchTosecondCtrl+2Switch tab to the 2nd
tabs.switchTothirdCtrl+3Switch tab to the 3rd
tabs.switchTofourthCtrl+4Switch tab to the 4th
tabs.switchTofifthCtrl+5Switch tab to the 5th
tabs.switchTosixthCtrl+6Switch tab to the 6th
tabs.switchToseventhCtrl+7Switch tab to the 7th
tabs.switchToeighthCtrl+8Switch tab to the 8th
tabs.switchToninthCtrl+9Switch tab to the 9th
tabs.switchTotenthCtrl+0Switch tab to the 10th

Misc#

IdDefaultDescription
file.quick-openCommand+POpen quick open dialog