The dynamic keybinding group code is in the first commit and is the same as in #3394.
Separate *Send Selection to* keybindings from Format group as there were 9 of them. Only show more than 3 KBs if they are actually set. Add forwarding cases to the format group callback in case any plugins are using the keybinding IDs.

You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3406
-- Commit Summary --
* Update dynamic keybinding group code * Use dynamic group for *Send Selection to* keybindings * Skip leading underscore for group label
-- File Changes --
M src/keybindings.c (142) M src/keybindings.h (4) M src/keybindingsprivate.h (10) M src/prefs.c (6)
-- Patch Links --
https://github.com/geany/geany/pull/3406.patch https://github.com/geany/geany/pull/3406.diff
@ntrel pushed 3 commits.
f2614b8f22f0f055141efd95486d2da8f2d6cb18 Use dynamic group for *Send Selection to* keybindings 8a4ffe0b09bd965e6ee07e3c736cbd7e01e2752a Skip leading underscore for group label bffbd363320255ccc6d7d6bfe9e52d560d45a1bb Update docs
There are 2 issues with this: * If send to commands are removed then surplus keybindings will be lost. * The keybindings aren't updated when items are added.
github-comments@lists.geany.org