@sanslash332: Yes, this is definitely interesting. Of course the idea have been there for a long time, but it was confusing to decide which keys to use. The "a" key is used for the action menu, so it's logical to use a modified "a" (control a or alt a) to enter "shortcut mode". Initially I thought about shortcuts with 2 keys, like the sub menus Starcraft have, for example V F to "build adVanced" and "Factory", but the sub menu is obvious in Starcraft because of the graphic interface. So maybe a single key would be better, and would allow exiting the shortcut mode naturally.
The shortcuts would be defined in style.txt. Since most shortcuts are linked to a unit, a building, or an ability, the shortcut might be defined by the "target" object, for example:
def farm
shortcut f
instead of:
def peasant
shortcuts f "build farm" b "build barracks" ...
Some shortcuts might be needed for actions like "Patrol" or "Hold ground".
To ease memorization, the shortcuts would be linked to the value of the keyboard layout (the "local" letter), not the geographical position of it on the keyboard. Actually, the shortcut being defined in a localized style.txt file, it would be possible to have B for "Barracks" replaced by C for "Caserne" in French, for example.
Shortcuts can be reused if they are used by different units and there is no ambiguity.
So, what would be the shortcuts?
Alt+A, then...
Escape to cancel
Peasant:
F build farm
B build barracks
L build lumber mill
Mage:
R recall
Priest:
R resurrection
Etc. Sounds good.