CS2 Binds and Aliases Commands

Browse all CS2 console commands and variables related to binds, aliases, toggles, and scripting. This group includes commands used to assign actions to keys, create aliases, combine multiple actions, build toggles, and manage more advanced control setups.

For a complete introduction to commands, aliases, configs, and scripting, see my Scripting in Counter-Strike 2 Full Guide. You can also find ready-to-use examples in Counter-Strike 2 Useful Scripts and Counter-Strike 2 Useful Binds. For a specific practical example, see the CS2 Jump Throw Bind Guide.

CS2 Binds and Aliases Command List

Use the filter below to find a specific bind, alias, or scripting command. The table includes each entry's description, default value, type, and flags, making it easier to find commands for key binds, aliases, toggles, and more advanced scripting setups.

Filter this group
- of 20
sv_cheats Works only with sv_cheats 1, so on your own server or in offline practice. On a matchmaking server it does nothing.
saved to config The game writes the value to your config, so it survives a restart. Everything without this mark goes back to its default when you close the game.
Command Description Default Type Flags
alias Creates an alias for a console command or command sequence. — cmd
bind Binds a key to a command. — cmd
binddefaults Restores all key bindings to their default values. — cmd
bindss Binds a key for a specific split-screen player. — cmd
cl_allow_multi_input_binds No description yet false cvar sv_cheats
cl_input_enable_raw_keyboard Enables raw keyboard input. false cvar
cyclevar Cycles a console variable through the specified values. — cmd
exec Executes a CFG configuration file. — cmd
exec_async Executes a CFG file over time. — cmd sv_cheats
execifexists Executes a CFG file only if it exists. — cmd
incrementvar Increments the specified console variable. — cmd
input_button_code_is_scan_code_scd Binds keys by physical keyboard position rather than key name when enabled. true cvar saved to config
key_findbinding Finds the key currently bound to the specified command. — cmd
key_listboundkeys Lists all currently bound keys and their bindings. — cmd
multvar Multiplies the specified console variable by a value. — cmd
repeat_last_console_command Executes the most recently entered console command again. — cmd
toggle Toggles the specified console variable between values. — cmd
unbind Removes the binding from a specified key. — cmd
unbindall Removes all key bindings. — cmd
writekeybindings Saves current key bindings to disk. — cmd