From the tremulous manual:
Name in menu Binding Function
PRIMARY ATTACK +attack Use primary attack function.
SECONDARY ATTACK +button5 Use secondary attack function.
PREVIOUS UPGRADE weapprev As human, preselect the previous upgrade
in your inventory.
NEXT UPGRADE weapnext As human, preselect the next upgrade
in your inventory.
ACTIVATE UPGRADE +button2 As human, activate the current preselected
inventory item. Also used for
some alien abilities.
RELOAD reload As human, reload the selected weapon.
BUY AMMO buy ammo As human, buy ammo from an armoury,
repeater or reactor.
USE MEDKIT itemact medkit As human, activate your Medkit.
USE STRUCTURE/EVOLVE +button7 As human, use the structure in front of
the player. As alien, evolve into a different
class.
DECONSTRUCT STRUCTURE
deconstruct As a builder class, deconstruct the
structure in front of the player cleanly.
SPRINT boost Run faster.
– destroy As a builder class, destroy the structure
in front of the player.
– itemact <item> If held, activate the specified item. For
weapons this will select them.
– itemdeact <item> If held, deactivate the specified item.
– itemtoggle <item> If held, toggle the state of the specified
item.
– sell <item> If held and within range of an armoury,
sell the specified item.
– sell weapons If within range of an armoury, sell all
weapons.
– sell upgrades If within range of an armoury, sell all
upgrades.
– buy <item> If within range of an armoury and sufficiently
wealthy, buy the specified item.
– class <class> Given sufficient kills, evolve to the
specified class.
– build <structure> As a builder class, build the specified
structure.
<item> – blaster, rifle, ckit, ackit, shotgun, lgun, prifle, mdriver, flamer, chaingun, lcannon, psaw, gren, medkit, jetpack
<class> – builder, builderupg, level0, level1, level1upg, level2, level2upg, level3, level3upg, level4
<structure> – eggpod, barricade, booster, acid_tube, hive, trapper, overmind, hovel, telenode, medistat, mgturret, tesla,
dcc, arm, reactor, repeater
see an example of this would be /bind 1 "sell weapons ; buy shotgun" -Bug