可视化编辑器/主题/键盘快捷键

From mediawiki.org
This page is a translated version of the page VisualEditor/Portal/Keyboard shortcuts and the translation is 62% complete.
Outdated translations are marked like this.

本页概述了可视化编辑器支持的各种鼠标和键盘命令。如果您有新命令的想法或遇到现有命令的问题,请到反馈页告知我们。

关于the full list of Wikipedia shortcuts,参见:[[:w:WP:Keyboard shortcuts]]。

常用快捷键

PC 快捷鍵 操作 Icon Mac 快捷鍵

Ctrl+B 粗体 ⌘ Cmd+B

Ctrl+I 斜体 ⌘ Cmd+I

Ctrl+K 添加链接 ⌘ Cmd+K

Ctrl+⇧ Shift+K 插入引用 引用 ⌘ Cmd+⇧ Shift+K

Ctrl+X 剪切 ⌘ Cmd+X

Ctrl+C 复制 ⌘ Cmd+C

Ctrl+V 粘贴 ⌘ Cmd+V

Ctrl+⇧ Shift+V Paste as plain text ⌘ Cmd+⇧ Shift+V

Ctrl+Z 撤销 ⌘ Cmd+Z

Ctrl+⇧ Shift+Z 重做 ⌘ Cmd+⇧ Shift+Z

Tab ↹ 缩进列表 Tab ↹

⇧ Shift+Tab ↹ 减少列表缩进 ⇧ Shift+Tab ↹

Ctrl+\ or Ctrl+M 清除格式 ⌘ Cmd+\ or ⌘ Cmd+M

Alt+s 保存 发布更改… Ctrl+⌥ Option+s

Template editor dialog shortcuts and keyboard interactions

These shortcuts only apply when editing a template instance in the pop-up dialog. Those marked with a * only apply in the cases of multi-part template content. The shortcuts can be used to turn a single template into multi-part template content by adding another template or a wikitext part.

PC shortcut Action Icon Mac shortcut

Spacebar Toggle a checkbox, adding or removing a parameter Spacebar

↵ Enter Add a parameter and immediately switch the focus to the input to start adding a value ↵ Enter

Ctrl+⇧ Shift+D Add an undocumented parameter ⌘ Cmd+⇧ Shift+D

Ctrl+D Add a template* (linked, not nested) ⌘ Cmd+D

Ctrl+⇧ Shift+Y Add a wikitext part* ⌘ Cmd+⇧ Shift+Y

Ctrl+Del Delete a part (template or wikitext) when selected in the sidebar* ⌘ Cmd+Del

Ctrl+⇧ Shift+ Move a part up when selected in the sidebar* ⌘ Cmd+⇧ Shift+

Ctrl+⇧ Shift+ Move a part down when selected in the sidebar* ⌘ Cmd+⇧ Shift+

完整的鼠标和键盘命令列表

功能  操作
用鼠标移动光标 点击
用键盘移动光标 方向键[1]
用鼠标选内容 拖动
用鼠标选内容 双击和三击
用键盘选内容 Shift +(方向键$ref)[1]
用鼠标选单词 双击单词
用鼠标选区块 三击区块
用鼠标调整选区 Shift + 点击
从内容中加载插入格式 移动光标
用键盘添加内容 字符和数字键
用键盘插入特殊字符 使用鼠标法编辑器输入多字符和数字键
用鼠标删除 ← BackspaceDelete
用键盘删单词 Alt+← BackspaceAlt+Delete ⌥ Option+← Backspace⌥ Option+Delete
用键盘删除行 Ctrl+← BackspaceCtrl+Delete ⌘ Command+← Backspace⌘ Command+Delete
用键盘撤销 Ctrl+Z ⌘ Command+Z
用键盘重做 Ctrl+⇧ Shift+Z ⌘ Command+⇧ Shift+Z
用键盘复制选区 Ctrl+C ⌘ Command+C
用键盘剪切选区 Ctrl+X ⌘ Command+X
用键盘粘贴选区 Ctrl+V ⌘ Command+V
从菜单复制选区 从上下文或浏览器菜单中“复制”
从菜单中剪切选区 从上下文或浏览器菜单中“剪切”
从菜单粘贴选区 从上下文或浏览器菜单中“粘贴”
用鼠标高亮目标 点击
用鼠标切换所选内容和插入格式的粗体状态 点击工具栏中的粗体工具
用鼠标切换所选内容和插入格式的斜体状态 点击工具栏中的斜体工具
用键盘切换所选内容和插入格式的粗体状态 Ctrl+B ⌘ Command+B
用键盘切换所选内容和插入格式的斜体状态 Ctrl+I ⌘ Command+I
用键盘分割区块 ↵ Enter
用键盘合并区块 在区块边界起始处退格或在末尾处删除
将您写的内容方向在“从左至右”和“从右至左”之间切换 Ctrl+⇧ Shift+X ⌘ Command+⇧ Shift+X

备注

  1. 1.0 1.1 方向键:上、下、左、右、Home、End、Page-up和Page-down