MarkText 的 macOS 平台快捷键。请参阅通用快捷键了解如何使用自定义快捷键。
| Id | Default | Description |
|---|
mt.hide | Command+H | 隐藏 MarkText |
mt.hide-others | Command+Option+H | 隐藏除 MarkText 外的所有窗口 |
file.preferences | Command+, | 打开设置窗口 |
file.quit | Command+Q | 退出 MarkText |
| Id | Default | Description |
|---|
file.new-window | Command+N | 新建窗口 |
file.new-tab | Command+T | 新建 tab |
file.open-file | Command+O | 打开 markdown 文件 |
file.open-folder | Command+Shift+O | 打开文件夹 |
file.save | Command+S | 保存 |
file.save-as | Command+Shift+S | 另存为... |
file.export-file.pdf | Ctrl+Alt+E | 导出为 PDF |
file.move-file | - | 移动当前文件到其他位置 |
file.rename-file | - | 重命名当前文件 |
file.print | - | 打印当前 tab |
file.close-tab | Command+W | 关闭 tab |
file.close-window | Command+Shift+W | 关闭窗口 |
| Id | Default | Description |
|---|
edit.undo | Command+Z | 撤销上一步操作 |
edit.redo | Command+Shift+Z | 重做上一步操作 |
edit.cut | Command+X | 剪切选中文本 |
edit.copy | Command+C | 复制选中文本 |
edit.paste | Command+V | 粘贴文本 |
edit.copy-as-rich | Command+Shift+C | 将选中文本复制为 markdown |
edit.copy-as-html | - | 将选中文本复制为 HTML |
edit.paste-as-plaintext | Command+Shift+V | 将选中文本复制为纯文本 |
edit.select-all | Command+A | 选中文档全部内容 |
edit.duplicate | Command+Option+P | 复制当前段落 |
edit.create-paragraph | Command+Shift+N | 在当前段落后新建段落 |
edit.delete-paragraph | Command+Shift+D | 删除当前段落 |
edit.find | Command+F | 在文档中查找内容 |
edit.find-next | Cmd+G | 继续搜索并查找下一个匹配项 |
edit.find-previous | Shift+Cmd+G | 继续搜索并查找上一个匹配项 |
edit.replace | Command+Option+F | 替换查找内容 |
edit.find-in-folder | Command+Shift+F | 在已打开的文件夹中查找包含关键字的文件 |
edit.screenshot | Command+Option+A | 截图 |
| Id | Default | Description |
|---|
paragraph.heading-1 | Command+1 | 设置为 heading 1 |
paragraph.heading-2 | Command+2 | 设置为 heading 2 |
paragraph.heading-3 | Command+3 | 设置为 heading 3 |
paragraph.heading-4 | Command+4 | 设置为 heading 4 |
paragraph.heading-5 | Command+5 | 设置为 heading 5 |
paragraph.heading-6 | Command+6 | 设置为 heading 6 |
paragraph.upgrade-heading | Command+Plus | 升级 heading 级别 |
paragraph.degrade-heading | Command+- | 降级 heading 级别 |
paragraph.table | Command+Shift+T | 插入表格 |
paragraph.code-fence | Command+Option+C | 插入代码块 |
paragraph.quote-block | Command+Option+Q | 插入引用块 |
paragraph.math-formula | Command+Option+M | 插入数学公式块 |
paragraph.html-block | Command+Option+J | 插入 HTML 块 |
paragraph.order-list | Command+Option+O | 插入有序列表 |
paragraph.bullet-list | Command+Option+U | 插入无序列表 |
paragraph.task-list | Command+Option+X | 插入任务列表 |
paragraph.loose-list-item | Command+Option+L | 将列表项转换为松散列表项 |
paragraph.paragraph | Command+0 | 将 heading 转换为段落 |
paragraph.horizontal-line | Command+Option+- | 插入水平分割线 |
paragraph.front-matter | Command+Option+Y | 插入 YAML frontmatter 块 |
| Id | Default | Description |
|---|
format.strong | Command+B | 将选中文本设置为粗体 |
format.emphasis | Command+I | 将选中文本设置为斜体 |
format.underline | Command+U | 将选中文本添加下划线 |
format.superscript | - | 将选中文本设置为上标 |
format.subscript | - | 将选中文本设置为下标 |
format.highlight | Command+Shift+H | 用 标签 高亮选中文本 |
format.inline-code | Command+` | 将选中文本转换为行内代码 |
format.inline-math | Command+Shift+M | 将选中文本转换为行内数学公式 |
format.strike | Command+D | 给选中文本添加删除线 |
format.hyperlink | Command+L | 插入超链接 |
format.image | Command+Shift+I | 插入图片 |
format.clear-format | Command+Shift+R | 清除选中文本的格式 |
| Id | Default | Description |
|---|
window.minimize | Command+M | 最小化窗口 |
window.toggle-always-on-top | - | 切换置顶模式 |
window.zoomIn | - | 放大 |
window.zoomOut | - | 缩小 |
window.toggle-full-screen | Ctrl+Command+F | 切换 fullscreen 模式 |
| Id | Default | Description |
|---|
view.command-palette | Command+Shift+P | 切换命令面板 |
view.source-code-mode | Command+Option+S | 切换到源码模式 |
view.typewriter-mode | Command+Option+T | 启用 typewriter 模式 |
view.focus-mode | Command+Shift+J | 启用 focus 模式 |
view.toggle-sidebar | Command+J | 切换 sidebar |
view.toggle-tabbar | Command+Option+B | 切换标签栏 |
view.toggle-toc . | Command+K | 切换 toc |
view.toggle-dev-tools | Command+Option+I | 切换开发者工具(仅调试模式) |
view.dev-reload | Command+Option+R | 重新加载窗口(仅调试模式) |
view.reload-images | Command+R | 重新加载图片 |
Available key bindings
Tabs
| Id | Default | Description |
|---|
tabs.cycle-forward | Ctrl+Tab | 向前切换 tab |
tabs.cycle-backward | Ctrl+Shift+Tab | 向后切换 tab |
tabs.switchToleft | Command+PageUp | 切换到左侧 tab |
tabs.switchToright | Command+PageDown | 切换到右侧 tab |
tabs.switchTofirst | Ctrl+1 | 切换到第 1 个 tab |
tabs.switchTosecond | Ctrl+2 | 切换到第 2 个 tab |
tabs.switchTothird | Ctrl+3 | 切换到第 3 个 tab |
tabs.switchTofourth | Ctrl+4 | 切换到第 4 个 tab |
tabs.switchTofifth | Ctrl+5 | 切换到第 5 个 tab |
tabs.switchTosixth | Ctrl+6 | 切换到第 6 个 tab |
tabs.switchToseventh | Ctrl+7 | 切换到第 7 个 tab |
tabs.switchToeighth | Ctrl+8 | 切换到第 8 个 tab |
tabs.switchToninth | Ctrl+9 | 切换到第 9 个 tab |
tabs.switchTotenth | Ctrl+0 | 切换到第 10 个 tab |
Misc
| Id | Default | Description |
|---|
file.quick-open | Command+P | 打开快速打开对话框 |