bind t "weapon 5"
This makes it so that when you hit 't' it issues a weapon change to weapon #5 (the rocket launcher).
If you wish to add more commands you can do so by separating them with a semicolon, like so:
bind t "weapon 5 ; sensitivity 6"
Upon pressing t, it will select the rocket launcher, and set the sensitivity to 6.