Skip to content

Commit

Permalink
Doc: Update shortcut list in the FAQ section
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Dec 31, 2023
1 parent 63a6321 commit 4ba8dd2
Showing 1 changed file with 78 additions and 51 deletions.
129 changes: 78 additions & 51 deletions docs/getting-started/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ What follows is a set of questions that have come up from the last few years of
- [What is the writing experience like?](#what-is-the-writing-experience-like)
- [Is Gutenberg built on top of TinyMCE?](#is-gutenberg-built-on-top-of-tinymce)
- [Are there Keyboard Shortcuts for Gutenberg?](#are-there-keyboard-shortcuts-for-gutenberg)
* [Editor shortcuts](#editor-shortcuts)
* [Global shortcuts](#global-shortcuts)
* [Selection shortcuts](#selection-shortcuts)
* [Block shortcuts](#block-shortcuts)
* [Text formatting](#text-formatting)
Expand Down Expand Up @@ -119,8 +119,6 @@ You can see the whole list going to the top right corner menu of the new editor

This is the canonical list of keyboard shortcuts:

### Editor shortcuts

<table>
<thead>
<tr>
Expand All @@ -135,65 +133,79 @@ This is the canonical list of keyboard shortcuts:
<td><kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>H</kbd></td>
<td><kbd>⌃</kbd><kbd>⌥</kbd><kbd>H</kbd></td>
</tr>
</tbody>
</table>

### Global shortcuts

<table>
<thead>
<tr>
<td>Save your changes.</td>
<td><kbd>Ctrl</kbd>+<kbd>S</kbd></td>
<td><kbd>⌘</kbd><kbd>S</kbd></td>
<th>Shortcut description</th>
<th>Linux/Windows shortcut</th>
<th>macOS shortcut</th>
</tr>
</thead>
<tbody>
<tr>
<td>Undo your last changes.</td>
<td><kbd>Ctrl</kbd>+<kbd>Z</kbd></td>
<td><kbd></kbd><kbd>Z</kbd></td>
<td>Navigate to the nearest toolbar.</td>
<td><kbd>Alt</kbd>+<kbd>F10</kbd></td>
<td><kbd></kbd><kbd>F10</kbd></td>
</tr>
<tr>
<td>Redo your last undo.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd></td>
<td><kbd>⇧</kbd><kbd>⌘</kbd><kbd>Z</kbd></td>
<td>Open the command palette.</td>
<td><kbd>Ctrl</kbd>+<kbd>K</kbd></td>
<td><kbd>⌘</kbd><kbd>K</kbd></td>
</tr>
<tr>
<td>Show or hide the Settings sidebar.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>,</kbd></td>
<td><kbd>⇧</kbd><kbd>⌘</kbd><kbd>,</kbd></td>
<td>Switch between visual editor and code editor.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>M</kbd></td>
<td><kbd>⇧</kbd><kbd>⌥</kbd><kbd>⌘</kbd><kbd>M</kbd></td>
</tr>
<tr>
<td>Open the list view menu.</td>
<td><kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>O</kbd></td>
<td><kbd></kbd><kbd></kbd><kbd>O</kbd></td>
<td>Toggle distraction free mode.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>\</kbd></td>
<td><kbd></kbd><kbd></kbd><kbd>\</kbd></td>
</tr>
<tr>
<td>Navigate to the next part of the editor.</td>
<td><kbd>Ctrl</kbd>+<kbd>`</kbd></td>
<td><kbd></kbd><kbd>`</kbd></td>
<td>Toggle fullscreen mode.</td>
<td><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd></td>
<td><kbd></kbd><kbd>⌥</kbd><kbd>⌘</kbd><kbd>F</kbd></td>
</tr>
<tr>
<td>Navigate to the previous part of the editor.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>`</kbd></td>
<td><kbd>⌃</kbd><kbd></kbd><kbd>`</kbd></td>
<td>Open the block list view.</td>
<td><kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>O</kbd></td>
<td><kbd>⌃</kbd><kbd></kbd><kbd>O</kbd></td>
</tr>
<tr>
<td>Navigate to the next part of the editor (alternative).</td>
<td><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>N</kbd></td>
<td><kbd></kbd><kbd></kbd><kbd>N</kbd></td>
<td>Show or hide the Settings sidebar.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>,</kbd></td>
<td><kbd></kbd><kbd></kbd><kbd>,</kbd></td>
</tr>
<tr>
<td>Navigate to the previous part of the editor (alternative).</td>
<td><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>P</kbd></td>
<td><kbd>⌃</kbd><kbd>⌥</kbd><kbd>P</kbd></td>
<td>Navigate to the next part of the editor.</td>
<td><kbd>Ctrl</kbd>+<kbd>`</kbd><br><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>N</kbd></td>
<td><kbd>⌃</kbd><kbd>`</kbd><br><kbd>⌃</kbd><kbd>⌥</kbd><kbd>N</kbd></td>
</tr>
<tr>
<td>Navigate to the nearest toolbar.</td>
<td><kbd>Alt</kbd>+<kbd>F10</kbd></td>
<td><kbd>⌥</kbd><kbd>F10</kbd></td>
<td>Navigate to the previous part of the editor.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>`</kbd><br><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>P</kbd><br><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>~</kbd></td>
<td><kbd>⌃</kbd><kbd>⇧</kbd><kbd>`</kbd><br><kbd>⌃</kbd><kbd>⌥</kbd><kbd>P</kbd><br><kbd>⌃</kbd><kbd>⇧</kbd><kbd>~</kbd></td>
</tr>
<tr>
<td>Switch between visual editor and code editor.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>M</kbd></td>
<td><kbd>⇧</kbd><kbd>⌥</kbd><kbd>⌘</kbd><kbd>M</kbd></td>
<td>Save your changes.</td>
<td><kbd>Ctrl</kbd>+<kbd>S</kbd></td>
<td><kbd>⌘</kbd><kbd>S</kbd></td>
</tr>
<tr>
<td>Toggle fullscreen mode.</td>
<td><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd></td>
<td><kbd>⇧</kbd><kbd>⌥</kbd><kbd>⌘</kbd><kbd>F</kbd></td>
<td>Undo your last changes.</td>
<td><kbd>Ctrl</kbd>+<kbd>Z</kbd></td>
<td><kbd>⌘</kbd><kbd>Z</kbd></td>
</tr>
<tr>
<td>Redo your last undo.</td>
<td><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd></td>
<td><kbd>⇧</kbd><kbd>⌘</kbd><kbd>Z</kbd></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -258,6 +270,11 @@ This is the canonical list of keyboard shortcuts:
<td><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Y</kbd></td>
<td><kbd>⌥</kbd><kbd>⌘</kbd><kbd>Y</kbd></td>
</tr>
<tr>
<td>Delete selection.</td>
<td><kbd>del</kbd>+<kbd>backspace</kbd></td>
<td><kbd>del</kbd><kbd>backspace</kbd></td>
</tr>
<tr>
<td>Move the selected block(s) up.</td>
<td><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>T</kbd></td>
Expand All @@ -273,11 +290,6 @@ This is the canonical list of keyboard shortcuts:
<td><kbd>/</kbd></td>
<td><kbd>/</kbd></td>
</tr>
<tr>
<td>Remove multiple selected blocks.</td>
<td><kbd>del</kbd><kbd>backspace</kbd></td>
<td><kbd>del</kbd><kbd>backspace</kbd></td>
</tr>
</tbody>
</table>

Expand All @@ -302,11 +314,6 @@ This is the canonical list of keyboard shortcuts:
<td><kbd>Ctrl</kbd>+<kbd>I</kbd></td>
<td><kbd>⌘</kbd><kbd>I</kbd></td>
</tr>
<tr>
<td>Underline the selected text.</td>
<td><kbd>Ctrl</kbd>+<kbd>U</kbd></td>
<td><kbd>⌘</kbd><kbd>U</kbd></td>
</tr>
<tr>
<td>Convert the selected text into a link.</td>
<td><kbd>Ctrl</kbd>+<kbd>K</kbd></td>
Expand All @@ -318,15 +325,35 @@ This is the canonical list of keyboard shortcuts:
<td><kbd>⇧</kbd><kbd>⌘</kbd><kbd>K</kbd></td>
</tr>
<tr>
<td>Add a strikethrough to the selected text.</td>
<td>Insert a link to a post or page.</td>
<td><kbd>[[</kbd></td>
<td><kbd>[[</kbd></td>
</tr>
<tr>
<td>Underline the selected text.</td>
<td><kbd>Ctrl</kbd>+<kbd>U</kbd></td>
<td><kbd>⌘</kbd><kbd>U</kbd></td>
</tr>
<tr>
<td>Strikethrough the selected text.</td>
<td><kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>D</kbd></td>
<td><kbd>⌃</kbd><kbd>⌥</kbd><kbd>D</kbd></td>
</tr>
<tr>
<td>Display the selected text in a monospaced font.</td>
<td>Make the selected text inline code.</td>
<td><kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>X</kbd></td>
<td><kbd>⌃</kbd><kbd>⌥</kbd><kbd>X</kbd></td>
</tr>
<tr>
<td>Convert the current heading to a paragraph.</td>
<td><kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>0</kbd></td>
<td><kbd>⌃</kbd><kbd>⌥</kbd><kbd>0</kbd></td>
</tr>
<tr>
<td>Convert the current paragraph or heading to a heading of level 1 to 6.</td>
<td><kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>1-6</kbd></td>
<td><kbd>⌃</kbd><kbd>⌥</kbd><kbd>1-6</kbd></td>
</tr>
</tbody>
</table>

Expand Down

0 comments on commit 4ba8dd2

Please sign in to comment.