Keyboard Shortcuts: several keys for one command (#6273) (#6288)

* Keyboard shortcuts: a command can have several keys

Click a key on the Keyboard Shortcuts page to replace it, or the + after it
to add another; every key runs the command and menus show the first. One
key is still saved as a string, several as a list. Taking a key over from
another command leaves that command its other keys. ui.shortcut takes a
slot and reports every key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keyboard shortcuts: follow main's search layout; fix prefs test for key lists

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: bherbruck <brennen.herbruck@gmail.com>
This commit is contained in:
Joseph
2026-10-29 12:32:19 +00:00
committed by GitHub
parent 00f9243c0d
commit 07d692ee0d
5 changed files with 218 additions and 71 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
# Keyboard shortcuts
Command shortcuts can be changed in File › Keyboard Shortcuts; these are the defaults.
Command shortcuts can be changed in File › Keyboard Shortcuts; these are the defaults. Click a
key to replace it, or the **+** after it to give the command another key: every key it has
runs it, and menus and tooltips show the first one.
Click a binding to record a new shortcut. A shortcut can contain Shift, Ctrl/Cmd and
Alt/Option modifiers plus exactly one other key. Hold the modifiers, then press the final