Each of the types of commands, filetype dependent and results analysised , filetype independent and results analysised, and execute execute commands that are run on a terminal so whatever output the execution produces is kept until the user has happily read it.
Each of those sections can have the number of commands for the menu to be set by the user in `Edit->Preferences->Various->build.XXXXX`. Setting it less than the default numbers will be ignored, hence the default of zeros.
Unfortunately the keybinding dialog is a hard coded dialog, there is no way of handling variations in numbers of commands and so cannot set keybindings for those not hard coded. This is known for a long time but nobody has had the time and interest to modify the keybinding dialog to support a varying number for build commands. Any PR contributes is welcome.
This is essentially a dialog of #705 and possibly other issues and older Sourceforge issues.