Keyboard Shortcuts
There are two classes of keyboard shortcuts, the usual shortcuts assigned to
menu items, usually involving a modifier key, such as Cmd or Ctrl, and
shortcuts assigned to collections.
Shortcuts for Menu Items
The shortcuts assigned to a menu item is visible at the right of each menu item that has one assigned, as is the case for other applications as well. You can add or change such shortcuts by going to File → Settings (Aspect → Settings on macOS) and choosing Shortcuts from the navigation list on the left side if the settings dialog.
Collection Shortcuts
Each collection can have its own alphabetic shortcut (A to Z) assigned. To do that, right-click on a collection in the collection pane or in the local collection bar and choose one from the Shortcut menu. Collections that have no shortcut assigned will automatically get a temporary numeric shortcut (1 to 9) assigned in the collection bar.
Pressing the shortcut will add or remove the selected photos to or from the
corresponding collection. Pressing Shift plus the shortcut adds or removes
only the focused image, even if multiple images have been selected.