Add these commands to your config.cfg:
--------------------------------------

bind 1 "use Blaster"
bind 2 "use Plasmagun"
bind 3 "use Shock Rifle"
bind 4 "use Sniper Rifle"
bind 5 "use Gatling"
bind 6 "use Mortar"
bind 7 "use Rocket Launcher"
bind 8 "use Flamethrower"
bind 9 "use Railgun"
bind 0 "use BFG10K"
bind g "use Mines"

bind e "cmd secfire"
bind f "cmd kamikaze"
bind h "cmd q2ahelp"


[of course, you can use other keys!]