Jump to content

Help:VisualEditor shortcuts

From pool
Revision as of 06:07, 20 April 2023 by Caleb Cooper (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This content is in the Help Namespace.


This page outlines the various mouse and keyboard commands supported by VisualEditor.


 
Tip:  
To see a list of shortcuts keys while in edit mode press Ctrl+⇧ Shift+/ or ⌘ Cmd+⇧ Shift+/


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 ⌘ Cmd+U

Ctrl+M Remove ⌘ 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 Tab ↹
Ctrl+] ⌘ Cmd+]

⇧ Shift+Tab ↹ Decrease indentation ⇧ 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

Type <!-- Comment

Type <math Math formula

Type <chem Chemical formula

Type <score Score

Type <syntax Code block
Type <source

Type <pre Preformatted

Ctrl+⇧ Shift+K Reference Cite ⌘ Cmd+⇧ Shift+K
Type <ref

Other

PC shortcut Action Icon Mac shortcut

Alt+⇧ Shift+S Save Save changes… Ctrl+⌥ Option+S

Alt+⇧ Shift+E Switch to Source Editor 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 ⌘ Cmd+F

Ctrl+G Find next ⌘ Cmd+G
F3

Ctrl+⇧ Shift+G Find previous ⌘ Cmd+⇧ Shift+G
⇧ Shift+F3

Ctrl+⇧ Shift+X Change directionality ⌘ 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* ⌘ 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+

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