Open the console menu using ~ and imput this code:bind key commandThis binds a console command to a key. Note that if the command has arguments, quotes must be used. For example: bind x "impulse 101"Be careful on which key you choose. If you use a key already in use for the game (W, A, S, D are for movement, 1-6 is used for weapons, G is for gravity gun, etc), the bind command will override the original command, and you will not be able to use it anymore.
|bind X "Impulse 101"||Creates a hot key for instant stock of weapnos and ammunition using the "x" key|