How to bind quick switch in CS2
Type bind q lastinv in your game console, then press Q to switch to your previous weapon and back.
lastinv
Switches back to the weapon you held before, the quick switch on Q by default.
lastinv Examples
bind q lastinv Default quick switch.
What it does
Toggles between your current and previous weapon. Players use it to switch to the knife and back quickly or to cancel animations.
Use it in your game
Type it in your own game console: turn on the developer console in the game's settings, then press the key under Esc. To keep it, put the line in game/csgo/cfg/autoexec.cfg.
Your own
CS2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.