A quickswitch bind will switch to your knife, and then instantly switch back to your weapon. The bind command will help players who use AWPs and Scouts to instantly switch to their knife and then back to their gun after firing a shot it means that the AWP and SSG-08 will not re-scope in after the shot has finished firing which can sometimes give you a second of advantage.
Quickswitch AWPThe below command binds the Q key to quickswitch to your knife and then back to your AWP.
bind q "use weapon_knife;use weapon_awp"
Quickswitch Primary WeaponThe below command binds the Q key to quickswitch to your knife and then back to primary weapon(slot1).
bind q "use weapon_knife;slot1"