In the TST source code the commands section shows the commands TST executes, but you will notice that not all of them have default shortcuts.
Some of them are empty and can be customized in either the Manage Extension Shortcuts page or the Keyboard Shortcuts section of the TST preferences.
What I’m interested in is the function that assigns shortcuts to commands at runtime when the user changes the shortcuts, and the in-memory data structures Firefox maintains for that purpose, not just for TST but for all other addons.
I want leader keys to bring up a menu of commands I can run regardless of what addon it is. SurfkingKeys for instance presents a menu when you press a leader key like ‘y’ and already I am able to run some of TST’s commands in it. So if I add a set of keys for TST functions prefixed by ‘T’ for instance, I can add all TSTs commands and I don’t have to remember all its keyboard shortcuts.
Seeing all the existing shortcuts at once is not possible because addons display only their shortcuts for modification, and Manage Extension Shortcuts only displays a few of them at a time. The Firefox UI does not enable you to see all of them at a go, and changing them is often trial and error because of conflicts.
I need to see all of them in a single list at runtime and this is why I need those runtime data structures.