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

BIND_OSX

CS:GO

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"]

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).

How To Use bind_osx

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter bind_osx [Bind Key] ["Bind Command"], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

bind_osx [Bind Key] ["Bind Command"]
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