Home » Web Tutorials » WordPress » WordPress Keyboard Shortcuts for Classic and Gutenberg Editors

WordPress Keyboard Shortcuts for Classic and Gutenberg Editors

Using keyboard shortcuts in WordPress will save you lot of time during content editing and comments moderation. This is also an easy way to format your content faster rather than selecting the options from toolbar icons, especially in distraction free mode where the toolbar is restricted with few icons. There are also shortcuts which do not have equivalent icons resulting in not using that function if you are not aware of the keyboard shortcut. Here is a complete guide to WordPress keyboard shortcuts for Windows / Linux based PCs and macOS for Classic and Gutenberg editors.

1. Shortcuts Help in Gutenberg Editor

WordPress introduced a new Gutenberg editor with the release of version 5.0. Gutenberg editor has new shortcuts and you can access the help by clicking on the “setting”Options” icon and then choosing “Keyboard Shortcuts” option.

Keyboard Shortcuts in Gutenberg Editor
Keyboard Shortcuts in Gutenberg Editor

Alternatively, you can press “Control + Option + H” keys to open the shortcuts help in Gutenberg editor. Note that + sign in the key combination indicates holding previous key and then pressing next key in sequence. You need not to press + key in the keyboard.

1.1. Gutenberg Global Shortcuts

As Gutenberg is a block editor, it has different shortcuts compared to the previous classic editor.

WindowsMacFunction
Shift + Alt + HControl + Option + HDisplay keyboard shortcuts
Control + KCommand + KOpen command palette
Alt + 10Control + F10Navigate to nearest toolbar
Control + Alt + Shift + FCommand + Option + Shift + FToggle full screen mode
Control + Alt + Shift + MCommand + Option + Shift + MSwitch editor modes (visual/code)
Control + SCommand + SSave changes
Control + ZCommand + ZUndo
Control + Shift + Z or Control + YCommand + Shift + ZRedo
Alt + Shift + OControl + Option + OToggle List View
Control + Shift + \Command + Shift + \Toggle distraction-free mode
Control + Shift + CommaCommand + Shift + CommaToggle Settings panel
Alt + Shift + NControl + Option + NNext part of editor
Alt + Shift + PControl + Option + PPrevious part of editor

1.2. Selection Shortcuts

WindowsMacFunction
Control + ACommand + ASelect all text (again press to select all blocks)
EscapeEscapeClear selection
Shift + ArrowShift + ArrowMulti-block text selection

1.3. Block Shortcuts

WindowsMacFunction
Control + CCommand + CCopy blocks
Control + XCommand + XCut blocks
Control + VCommand + VPaste blocks
Control + Shift + DCommand + Shift + DDuplicate blocks
Alt + Shift + ZControl + Option + ZRemove blocks
Control + Alt + TCommand + Option + TInsert a block before
Control + Alt + YCommand + Option + YInsert a block after
Delete or BackspaceDelete or BackspaceDelete selection
Control + Alt + Shift + TCommand + Option + Shift + TMove blocks up
Control + Alt + Shift + YCommand + Option + Shift + YMove blocks down
Control + GCommand + GGroup multiple selected blocks
//List frequently used blocks

1.4. Text Formatting Shortcuts

WindowsMacFunction
Control + BCommand + BBold
Control + ICommand + IItalic
Control + KCommand + KAdd link
Control + Shift + KCommand + Shift + KRemove link
[[[[Insert internal post/page link
Control + UCommand + UUnderline
Alt + Shift + DControl + Option + DStrikethrough
Alt + Shift + XControl + Option + XInline code
Alt + Shift + (0 or 7)Control + Option + (0 or 7)Convert heading to paragraph
Alt + Shift + (1 through 6)Control + Option + (1 through 6)Convert to heading level 1 through 6
Control + Shift + SpaceCommand + Shift + SpaceNon-breaking space

1.5. List View Shortcuts

WindowsMacFunction
Alt + LOption + LCollapse all other items

2. Shortcuts Help in Classic Editor

If you are using the classic editor, you can view the list of shortcut keys by clicking the “?” icon available under “Kitchen Sink” toolbar in your WordPress post editor as shown below.

WordPress Keyboard Shortcuts Help
WordPress Keyboard Shortcuts Help

You can also open this shortcuts help by pressing “Alt + Shift + H” in Windows and “Option + Shift + H” in Mac.

2.1. Shortcuts for Content Editing

Below is the complete list of keyboard shortcuts for Classic Editor in Windows and Mac.

WindowsMacFunction
Control + ZCommand + ZUndo
Control + YCommand + YRedo
Control + XCommand + XCut
Control + VCommand + VPaste
Control + UCommand + UUnderline
Control + PCommand + PPrint
Control + KCommand + KInsert or edit link
Control + ICommand + IItalic
Control + HomeCommand + Up ArrowGo to top of the editor
Control + EndCommand + Down ArrowGo to bottom of the editor
Control + CCommand + CCopy
Control + BCommand + BBold
Control + ACommand + ASelect all content
Alt + Shift + 9Control + Option + 9Address format
Alt + Shift + (1 through 6)Control + Option + (1 through 6)Heading level 1 through 6
Alt + Shift + 7Control + Option + 7Convert heading to paragraph
Alt + Shift + ZControl + Option + ZShow or hide (additional) toolbar options
Alt + Shift + XControl + Option + XAdd or remove code tag
Alt + Shift + UControl + Option + UUnordered list
Alt + Shift + TControl + Option + TInsert read more
Alt + Shift + SControl + Option + SRemove link
Alt + Shift + RControl + Option + RAlign right
Alt + Shift + QControl + Option + QBlock quote
Alt + Shift + PControl + Option + PInsert page break
Alt + Shift + OControl + Option + ONumbered list
Alt + Shift + NControl + Option + NSpelling check (if spelling check is activated)
Alt + Shift + MControl + Option + MInsert or edit media
Alt + Shift + LControl + Option + LAlign left
Alt + Shift + JControl + Option + JAlign justify text
Alt + Shift + HControl + Option + HKeyboard shortcuts help
Alt + Shift + DControl + Option + DStrikethrough of selected text
Alt + Shift + CControl + Option + CAlign center
Alt + Shift + AControl + Option + AInsert link

2.1. Quick Conversion Shortcuts

Use these key(s) at the start of the paragraph and press enter key. For example, type ## Text and press enter to convert to level 2 heading. These shortcuts work on both Windows and Mac with the same keys.

Windows / MacFunction
* or –Unordered list
1. or 1)Ordered list
Insert divider
> textConvert to block quote
## textConvert to H2
### textConvert to H3
#### textConvert to H4
##### textConvert to H5
###### textConvert to H6
`..`Convert to code

2.2. Adjusting Distraction Free Writing

You can adjust the distraction free writing using the below shortcuts.

WindowsMacFunction
Alt + Shift + WControl + Option + WDistraction free writing mode
Control + +Command + +Expanding editor width
Control + –Command + –Contracting editor width
Control + 0Command + 0Reset editor to default width

3. Activate Shortcuts for Comments Moderation

Unlike post editor shortcuts, comments shortcuts in WordPress need to be activated in your admin dashboard under “Users > Your Profile”.

Enable WordPress Keyboard Shortcuts for Comments
Enable WordPress Keyboard Shortcuts for Comments

There are two types of comments shortcuts available in WordPress (works on both Windows and Mac).

  • Individual Comment Actions.
  • Bulk Comments Actions.

3.1. Individual Comment Actions Shortcuts:

KeyFunction
jSelect comment or move down
kSelect comment or move up
aApprove
sMarking as spam
dDelete
zRestore deleted comment from trash
uUnapprove and move comment back to moderation
rReply inline
qQuick edit inline
eNavigate to edit screen

3.2. Bulk Comments Actions Shortcuts:

KeysFunction
xSelect comment for bulk action when it is highlighted or select all comments
Shift + xToggle select or deselect comments
Shift + aApprove selected comments
Shift + sMark as spam all selected comments
Shift + dDelete all selected comments
Shift + uUnapprove all selected comments and move back to pending for moderation
Shift + tDelete selected comments
Shift + zRestore selected comments from trash

Remember, when you use browser extensions, the extension shortcuts may conflict with the WordPress editor shortcuts. For example, Mozilla Firefox browser offers various extensions like Keyconfig, Mouseless, Nostagy, etc., to define your own shortcuts. This may overwrite the hotkeys used in WordPress editor.

Leave a Comment

Your email address will not be published. Required fields are marked *