NB! It seems this console command is not compatible with CS2.

BIND_OSX

CS:GO

Description

This command will bind a command, or list of commands, to a key on your keyboard or button on your mouse. This command is for OSX (Mac).

Syntax

bind_osx [Bind Key] ["Bind Command"]

Arguments

Bind Key The key that you'd like to assign the subsequent command to.
"Bind Command" The command, or sequence of commands, that you want to assign to the bind hotkey. If binding multiple commands you need to separate them with a semi-colon (;) and put quotation marks on either side (").

Related commands

unbind
This command removes any bind bound to the specified key.
bind
This command will bind a command, or list of commands, to a key on your keyboard or button on your mouse. Binds can make your CS:GO experience much more convenient, and is a very important command in the game.
key_listboundkeys
This console command lists all of the keys and buttons you have that have a specific action bound to them (e.g. the space bar being bound to jump).
BindToggle
This command assigns a hotkey (key on your keyboard, or button on your mouse) to switch through the various values a specified console command has (when pressed or clicked). This is useful for setting up binds that toggle a certain feature. For example,"voice_enable" would be toggled between 0 and 1 (disabled and enabled).
cl_scoreboard_mouse_enable_binding
This command allows you to change what key turns mouse selection on while you have the scoreboard open . This is defaulted to +attack2 (usually right-click), and is what lets you use your mouse to click on people's names when you toggle open the scoreboard.
invnext
This command switches to the next item in your inventory. If you have your rifle equipped it will swap to your pistol, and if you have your pistol equipped it will swap you to your knife.
invnextgrenade
This command switches what you have equipped to the next grenade in your inventory. That means if your rifle is drawn you will switch to a grenade, and then using the command again will cycle you through to the next available grenade on you.
invnextitem
This command switches to the next item in your inventory. This does not include guns, so will move between items such as your knife and grenades only.