Help:VisualEditor shortcuts
This content is in the Help Namespace.
This page outlines the various mouse and keyboard commands supported by VisualEditor.
Text Styling
| PC shortcut | Action | Icon | Mac shortcut |
|---|---|---|---|
| Ctrl+B | Bold | ⌘ Cmd+B | |
| Ctrl+I | Italic | ⌘ Cmd+I | |
| Ctrl+K | Link | ⌘ Cmd+K | |
Type [[
| |||
| Ctrl+⇧ Shift+6 | Computer code | ⌘ Cmd+⇧ Shift+6 | |
| Ctrl+⇧ Shift+5 | Strikethrough | ⌘ Cmd+⇧ Shift+5 | |
| Ctrl+, | Subscript | ⌘ Cmd+⇧ Shift+, | |
| Ctrl+. | Superscript | ⌘ Cmd+⇧ Shift+. | |
| Ctrl+U | Underline | Error creating thumbnail: | ⌘ Cmd+U |
| Ctrl+M | Remove | Error creating thumbnail: | ⌘ Cmd+M |
| Ctrl+\ | ⌘ Cmd+\ | ||
Clipboard
| PC shortcut | Action | Icon | Mac shortcut |
|---|---|---|---|
| Ctrl+X | Cut | ⌘ Cmd+X | |
| Ctrl+C | Copy | ⌘ Cmd+C | |
| Ctrl+V | Paste | ⌘ Cmd+V | |
| Ctrl+⇧ Shift+V | Paste as plain text | ⌘ Cmd+⇧ Shift+V | |
Paragraph formatting
| PC shortcut | Action | Icon | Mac shortcut |
|---|---|---|---|
| Ctrl+0 | Paragraph | ⌘ Cmd+0 | |
| Ctrl+7 | Preformatted | ⌘ Cmd+7 | |
| Ctrl+8 | Block quote | ⌘ Cmd+8 | |
Type :
| |||
Type ==
|
Heading 2 | ||
| Ctrl+1-6 | Heading (1-6) | ⌘ Cmd+1-6 | |
| Tab ↹ | Increase indentation | Error creating thumbnail: | Tab ↹ |
| Ctrl+] | ⌘ Cmd+] | ||
| ⇧ Shift+Tab ↹ | Decrease indentation | Error creating thumbnail: | ⇧ Shift+Tab ↹ |
| Ctrl+[ | ⌘ Cmd+[ | ||
Type *Space
|
Bullet list | ||
Type #Space
|
Numbered list | ||
Type 1.Space
|
|||
History
| PC shortcut | Action | Icon | Mac shortcut |
|---|---|---|---|
| Ctrl+Z | Undo | ⌘ Cmd+Z | |
| Ctrl+⇧ Shift+Z | Redo | ⌘ Cmd+⇧ Shift+Z | |
| Ctrl+Y | ⌘ Cmd+Y | ||
Insert
| PC shortcut | Action | Icon | Mac shortcut |
|---|---|---|---|
Type {{
|
Template | ||
Type {|
|
Table | Error creating thumbnail: | |
Type <!--
|
Comment | ||
Type <math
|
Math formula | Error creating thumbnail: | |
Type <chem
|
Chemical formula | ||
Type <score
|
Score | ||
Type <syntax
|
Code block | ||
Type <source
|
|||
Type <pre
|
Preformatted | ||
| Ctrl+⇧ Shift+K | Reference | Error creating thumbnail: Cite | ⌘ Cmd+⇧ Shift+K |
Type <ref
| |||
Other
| PC shortcut | Action | Icon | Mac shortcut |
|---|---|---|---|
| Alt+⇧ Shift+S | Save | Ctrl+⌥ Option+S | |
| Alt+⇧ Shift+E | Switch to Source Editor | Error creating thumbnail: | Ctrl+⌥ Option+E |
| Alt+⇧ Shift+V | Start Visual Editor / | Ctrl+⌥ Option+V | |
| Review your changes | |||
| Alt+⇧ Shift+I | Mark this as a minor edit | Ctrl+⌥ Option+I | |
| Alt+⇧ Shift+W | Add this page to your watchlist | Ctrl+⌥ Option+W | |
| Ctrl+F | Find and replace | Error creating thumbnail: | ⌘ Cmd+F |
| Ctrl+G | Find next | Error creating thumbnail: | ⌘ Cmd+G |
| F3 | |||
| Ctrl+⇧ Shift+G | Find previous | ⌘ Cmd+⇧ Shift+G | |
| ⇧ Shift+F3 | |||
| Ctrl+⇧ Shift+X | Change directionality | Error creating thumbnail: | ⌘ Cmd+⇧ Shift+X |
| Ctrl+A | Select all | ⌘ Cmd+A | |
| Ctrl+/ | Keyboard shortcuts | ⌘ Cmd+/ | |
| Ctrl+⇧ Shift+/ | ⌘ Cmd+⇧ Shift+/ | ||
Template editor dialog
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* | Error creating thumbnail: | ⌘ Cmd+⇧ Shift+Y |
| Ctrl+Del | Delete a part (template or wikitext) when selected in the sidebar* | Error creating thumbnail: | ⌘ Cmd+Del |
| Ctrl+⇧ Shift+↑ | Move a part up when selected in the sidebar* | Error creating thumbnail: | ⌘ Cmd+⇧ Shift+↑ |
| Ctrl+⇧ Shift+↓ | Move a part down when selected in the sidebar* | Error creating thumbnail: | ⌘ Cmd+⇧ Shift+↓ |
Full list of mouse and keyboard interactions
| Feature | Action | |
|---|---|---|
| Move cursor with mouse | Clicking | |
| Move cursor with keyboard | Direction keys: Up, down, left, right, home, end, page-up and page-down | |
| Select content with mouse | Dragging | |
| Select content with mouse | Double and triple clicking | |
| Select content with keyboard | Shift + (Direction keys) | |
| Select word with mouse | Double click word | |
| Select block with mouse | Triple click block | |
| Adjust selection with mouse | Shift + Click | |
| Load insertion formatting from content | Move cursor | |
| Insert text with keyboard | Character and number keys | |
| Insert special characters with keyboard | Multiple character or number keys using an input method editor | |
| Delete with keyboard | ← Backspace and Delete | |
| Delete word with keyboard | Alt+← Backspace and Alt+Delete | ⌥ Option+← Backspace and ⌥ Option+Delete |
| Delete line with keyboard | Ctrl+← Backspace and Ctrl+Delete | ⌘ Command+← Backspace and ⌘ Command+Delete |
| Undo with keyboard | Ctrl+Z | ⌘ Command+Z |
| Redo with keyboard | Ctrl+⇧ Shift+Z | ⌘ Command+⇧ Shift+Z |
| Copy selection with keyboard | Ctrl+C | ⌘ Command+C |
| Cut selection with keyboard | Ctrl+X | ⌘ Command+X |
| Paste selection with keyboard | Ctrl+V | ⌘ Command+V |
| Copy selection from menu | "Copy" in context or browser menu | |
| Cut selection from menu | "Cut" in context or browser menu | |
| Paste selection from menu | "Paste" in context or browser menu | |
| Highlight object with mouse | Clicking | |
| Toggle bold on selected content and in insertion formatting with mouse | Click bold tool in toolbar | |
| Toggle italic on selected content and in insertion formatting with mouse | Click italic tool in toolbar | |
| Toggle bold on selected content and in insertion formatting with keyboard | Ctrl+B | ⌘ Command+B |
| Toggle italic on selected content and in insertion formatting with keyboard | Ctrl+I | ⌘ Command+I |
| Split block with keyboard | ↵ Enter | |
| Merge blocks with keyboard | BackSpace at beginning or delete at end of block boundary | |
| Switch the direction you write in between right-to-left and left-to-right | Ctrl+⇧ Shift+X | < ⌘ Command+⇧ Shift+X |