Binds are an important part of Counter-Strike and while assigning a bind might involve a plethora of commands, there is a bind generator that produces readymade commands for you to directly input in your CS2 console.
Players assign different binds to accomplish different things and suffice it to say that binds make your life a lot easier. Having binds assigned to repetitive tasks saves valuable time and is generally a great quality-of-life improvement in the game. Following is a CS2 bind generator that you can use to generate any bind, customized to your liking.
Once you have generated a bind to your liking, make sure to enable the in-game console and paste the command into it and now you can use it across different game modes.
Several binds are often considered illegal in tournaments so make sure to double-check on what binds you are generating as they are highly habit-forming.