📚 Fix shortcut labels and ruler guide keys in the user guide (#13228)

* 📚 Fix Clear undo keys and snap labels in shortcuts docs

Clear undo is bound to alt+q on every platform, not Ctrl+Q on Linux and
Windows. The two snap rows used labels that do not match the actions
their keys toggle: Ctrl+Shift+' is "Snap to guides" and Ctrl+Shift+G is
"Snap to ruler guides" in the app.

AI-assisted-by: claude-opus-5-5

* 📚 Align guide shortcut labels and macOS keys in the user guide

Rename "Show/hide grid" to "Show/hide guides" to match the app label for
Ctrl+'. Use the macOS option symbol for Copy link to board and in the
shortcut recording note. Keep the snap rows in alphabetical order.

Fix the ruler guides shortcut in Workspace basics: ruler guides show
only while rulers (Ctrl+Shift+R) and guides (Ctrl+') are both visible.
Document Ctrl+Shift+G to toggle snap to ruler guides.

AI-assisted-by: claude-opus-5-5

* 📚 Note that toggling guides also hides board guides

Ctrl+' hides ruler guides and board guides alike, since both depend on
the same display-guides setting.

AI-assisted-by: claude-opus-5-5

---------

Co-authored-by: Roshan Ramani <roshanramani.dev@gmail.com>
This commit is contained in:
andrés gonzález 2026-11-25 14:19:35 +01:00 committed by GitHub
parent edd487cddd
commit 89717787c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 11 deletions

View File

@ -311,7 +311,8 @@ press <kbd>Shift/⇧</kbd> + left click over the right arrow of a group or a boa
<p>To set an exact position, double-click the guide pill on the ruler and type a value.</p>
<p>Right-click a ruler guide to change its color from the preset swatches.</p>
<p>To <strong>delete ruler guides</strong> drag the guide to the ruler or select the guide and press delete / supr.</p>
<p>To <strong>show/hide ruler guides</strong> use the same shortcut as for rulers: <kbd>Shift/CMD + Ctrl + R</kbd></p>
<p>Ruler guides show only while rulers and guides are both visible. To <strong>show/hide ruler guides</strong>, press <kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>R</kbd> (<kbd>⌘</kbd><kbd>⇧</kbd><kbd>R</kbd> on macOS) to toggle rulers, or <kbd>Ctrl</kbd><kbd>'</kbd> (<kbd>⌘</kbd><kbd>'</kbd> on macOS) to toggle guides (this also hides board guides).</p>
<p>To turn <strong>snap to ruler guides</strong> on or off, press <kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>G</kbd> (<kbd>⌘</kbd><kbd>⇧</kbd><kbd>G</kbd> on macOS).</p>
<figure>
<img src="/img/workspace-basics/ruler-guide-pill-edit.webp" alt="Editing a ruler guide position from the guide pill">
</figure>

View File

@ -35,7 +35,7 @@ desc: Get quickstart tips, shortcuts, and tutorials for Penpot! Learn interface
<p class="advice"><strong>Paste</strong> cannot be customized.</p>
<h3 id="customize-shortcuts-layouts">Keyboard layouts</h3>
<p>Letters are recorded by the character they type, so they follow your layout (on AZERTY, the <kbd>A</kbd> key records <kbd>a</kbd>). With <kbd>Shift</kbd>, <kbd>Alt</kbd> or another modifier, letter and digit keys record the key itself, not the character the modifier makes (<kbd>Shift</kbd><kbd>0</kbd>, not <kbd>Shift</kbd><kbd>)</kbd>; <kbd>Option</kbd><kbd>M</kbd> on macOS, not <kbd>µ</kbd>).</p>
<p>Letters are recorded by the character they type, so they follow your layout (on AZERTY, the <kbd>A</kbd> key records <kbd>a</kbd>). With <kbd>Shift</kbd>, <kbd>Alt</kbd> or another modifier, letter and digit keys record the key itself, not the character the modifier makes (<kbd>Shift</kbd><kbd>0</kbd>, not <kbd>Shift</kbd><kbd>)</kbd>; <kbd>⌥</kbd><kbd>M</kbd> on macOS, not <kbd>µ</kbd>).</p>
<p>Punctuation keys (such as <kbd>-</kbd>, <kbd>[</kbd>, <kbd>/</kbd> or <kbd>'</kbd>) are recorded by their physical position on the keyboard, so <kbd>Shift</kbd> with the <kbd>+</kbd> key records <kbd>Shift</kbd><kbd>+</kbd> on a Spanish layout. In browsers that do not expose the keyboard layout, such as Firefox or Safari, Penpot records the character you type instead; the shortcut still works there. Keys typed with <kbd>AltGr</kbd> record the character they type (<kbd>\</kbd> on a Spanish layout).</p>
<p>One known limitation: number keys set opacity (<kbd>0</kbd>–<kbd>9</kbd>) only where digits are typed without <kbd>Shift</kbd>, so AZERTY layouts need the numeric keypad for them.</p>
@ -122,8 +122,8 @@ desc: Get quickstart tips, shortcuts, and tutorials for Penpot! Learn interface
</tr>
<tr>
<td>Clear undo</td>
<td style="text-align: center;"><kbd>Ctrl</kbd><kbd>Q</kbd></td>
<td style="text-align: center;"><kbd>Alt</kbd><kbd>Q</kbd></td>
<td style="text-align: center;"><kbd>⌥</kbd><kbd>Q</kbd></td>
</tr>
<tr>
<td>Copy</td>
@ -188,7 +188,7 @@ desc: Get quickstart tips, shortcuts, and tutorials for Penpot! Learn interface
<tr>
<td>Copy link to board</td>
<td style="text-align: center;"><kbd>Shift</kbd><kbd>Alt</kbd><kbd>C</kbd></td>
<td style="text-align: center;"><kbd>⇧</kbd><kbd>Alt</kbd><kbd>C</kbd></td>
<td style="text-align: center;"><kbd>⇧</kbd><kbd>⌥</kbd><kbd>C</kbd></td>
</tr>
<tr>
<td>Copy properties</td>
@ -235,7 +235,7 @@ desc: Get quickstart tips, shortcuts, and tutorials for Penpot! Learn interface
<td style="text-align: center;"><kbd>⇧</kbd><kbd>T</kbd></td>
</tr>
<tr>
<td>Show/hide grid</td>
<td>Show/hide guides</td>
<td style="text-align: center;"><kbd>Ctrl</kbd><kbd>'</kbd></td>
<td style="text-align: center;"><kbd>⌘</kbd><kbd>'</kbd></td>
</tr>
@ -260,20 +260,20 @@ desc: Get quickstart tips, shortcuts, and tutorials for Penpot! Learn interface
<td style="text-align: center;"><kbd>?</kbd></td>
</tr>
<tr>
<td>Snap to grid</td>
<td>Snap to guides</td>
<td style="text-align: center;"><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>'</kbd></td>
<td style="text-align: center;"><kbd>⌘</kbd><kbd>⇧</kbd><kbd>'</kbd></td>
</tr>
<tr>
<td>Snap to guides</td>
<td style="text-align: center;"><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>G</kbd></td>
<td style="text-align: center;"><kbd>⌘</kbd><kbd>⇧</kbd><kbd>G</kbd></td>
</tr>
<tr>
<td>Snap to pixel grid</td>
<td style="text-align: center;"><kbd>,</kbd></td>
<td style="text-align: center;"><kbd>,</kbd></td>
</tr>
<tr>
<td>Snap to ruler guides</td>
<td style="text-align: center;"><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>G</kbd></td>
<td style="text-align: center;"><kbd>⌘</kbd><kbd>⇧</kbd><kbd>G</kbd></td>
</tr>
<tr>
<td>Toggle dynamic alignment</td>
<td style="text-align: center;"><kbd>Ctrl</kbd><kbd>\</kbd></td>