跳到主要内容

macOS 快捷键

MarkText 的 macOS 平台快捷键。请参阅通用快捷键了解如何使用自定义快捷键。

Available menu key bindings

MarkText menu

IdDefaultDescription
mt.hideCommand+H隐藏 MarkText
mt.hide-othersCommand+Option+H隐藏除 MarkText 外的所有窗口
file.preferencesCommand+,打开设置窗口
file.quitCommand+Q退出 MarkText

File menu

IdDefaultDescription
file.new-windowCommand+N新建窗口
file.new-tabCommand+T新建 tab
file.open-fileCommand+O打开 markdown 文件
file.open-folderCommand+Shift+O打开文件夹
file.saveCommand+S保存
file.save-asCommand+Shift+S另存为...
file.export-file.pdfCtrl+Alt+E导出为 PDF
file.move-file-移动当前文件到其他位置
file.rename-file-重命名当前文件
file.print-打印当前 tab
file.close-tabCommand+W关闭 tab
file.close-windowCommand+Shift+W关闭窗口

Edit menu

IdDefaultDescription
edit.undoCommand+Z撤销上一步操作
edit.redoCommand+Shift+Z重做上一步操作
edit.cutCommand+X剪切选中文本
edit.copyCommand+C复制选中文本
edit.pasteCommand+V粘贴文本
edit.copy-as-richCommand+Shift+C将选中文本复制为 markdown
edit.copy-as-html-将选中文本复制为 HTML
edit.paste-as-plaintextCommand+Shift+V将选中文本复制为纯文本
edit.select-allCommand+A选中文档全部内容
edit.duplicateCommand+Option+P复制当前段落
edit.create-paragraphCommand+Shift+N在当前段落后新建段落
edit.delete-paragraphCommand+Shift+D删除当前段落
edit.findCommand+F在文档中查找内容
edit.find-nextCmd+G继续搜索并查找下一个匹配项
edit.find-previousShift+Cmd+G继续搜索并查找上一个匹配项
edit.replaceCommand+Option+F替换查找内容
edit.find-in-folderCommand+Shift+F在已打开的文件夹中查找包含关键字的文件
edit.screenshotCommand+Option+A截图

Paragraph menu

IdDefaultDescription
paragraph.heading-1Command+1设置为 heading 1
paragraph.heading-2Command+2设置为 heading 2
paragraph.heading-3Command+3设置为 heading 3
paragraph.heading-4Command+4设置为 heading 4
paragraph.heading-5Command+5设置为 heading 5
paragraph.heading-6Command+6设置为 heading 6
paragraph.upgrade-headingCommand+Plus升级 heading 级别
paragraph.degrade-headingCommand+-降级 heading 级别
paragraph.tableCommand+Shift+T插入表格
paragraph.code-fenceCommand+Option+C插入代码块
paragraph.quote-blockCommand+Option+Q插入引用块
paragraph.math-formulaCommand+Option+M插入数学公式块
paragraph.html-blockCommand+Option+J插入 HTML 块
paragraph.order-listCommand+Option+O插入有序列表
paragraph.bullet-listCommand+Option+U插入无序列表
paragraph.task-listCommand+Option+X插入任务列表
paragraph.loose-list-itemCommand+Option+L将列表项转换为松散列表项
paragraph.paragraphCommand+0将 heading 转换为段落
paragraph.horizontal-lineCommand+Option+-插入水平分割线
paragraph.front-matterCommand+Option+Y插入 YAML frontmatter 块

Format menu

IdDefaultDescription
format.strongCommand+B将选中文本设置为粗体
format.emphasisCommand+I将选中文本设置为斜体
format.underlineCommand+U将选中文本添加下划线
format.superscript-将选中文本设置为上标
format.subscript-将选中文本设置为下标
format.highlightCommand+Shift+H标签 高亮选中文本
format.inline-codeCommand+`将选中文本转换为行内代码
format.inline-mathCommand+Shift+M将选中文本转换为行内数学公式
format.strikeCommand+D给选中文本添加删除线
format.hyperlinkCommand+L插入超链接
format.imageCommand+Shift+I插入图片
format.clear-formatCommand+Shift+R清除选中文本的格式

Window menu

IdDefaultDescription
window.minimizeCommand+M最小化窗口
window.toggle-always-on-top-切换置顶模式
window.zoomIn-放大
window.zoomOut-缩小
window.toggle-full-screenCtrl+Command+F切换 fullscreen 模式

View menu

IdDefaultDescription
view.command-paletteCommand+Shift+P切换命令面板
view.source-code-modeCommand+Option+S切换到源码模式
view.typewriter-modeCommand+Option+T启用 typewriter 模式
view.focus-modeCommand+Shift+J启用 focus 模式
view.toggle-sidebarCommand+J切换 sidebar
view.toggle-tabbarCommand+Option+B切换标签栏
view.toggle-toc .Command+K切换 toc
view.toggle-dev-toolsCommand+Option+I切换开发者工具(仅调试模式)
view.dev-reloadCommand+Option+R重新加载窗口(仅调试模式)
view.reload-imagesCommand+R重新加载图片

Available key bindings

Tabs

IdDefaultDescription
tabs.cycle-forwardCtrl+Tab向前切换 tab
tabs.cycle-backwardCtrl+Shift+Tab向后切换 tab
tabs.switchToleftCommand+PageUp切换到左侧 tab
tabs.switchTorightCommand+PageDown切换到右侧 tab
tabs.switchTofirstCtrl+1切换到第 1 个 tab
tabs.switchTosecondCtrl+2切换到第 2 个 tab
tabs.switchTothirdCtrl+3切换到第 3 个 tab
tabs.switchTofourthCtrl+4切换到第 4 个 tab
tabs.switchTofifthCtrl+5切换到第 5 个 tab
tabs.switchTosixthCtrl+6切换到第 6 个 tab
tabs.switchToseventhCtrl+7切换到第 7 个 tab
tabs.switchToeighthCtrl+8切换到第 8 个 tab
tabs.switchToninthCtrl+9切换到第 9 个 tab
tabs.switchTotenthCtrl+0切换到第 10 个 tab

Misc

IdDefaultDescription
file.quick-openCommand+P打开快速打开对话框