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.
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.
sv_cheats 1, so on your own server or in offline practice. On a matchmaking server it does nothing.
| 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_ |
No description yet | false | cvar | sv_cheats |
cl_ |
Enables raw keyboard input. | false | cvar | |
cyclevar |
Cycles a console variable through the specified values. | — | cmd | |
exec |
Executes a CFG configuration file. | — | cmd | |
exec_ |
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_ |
Binds keys by physical keyboard position rather than key name when enabled. | true | cvar | saved to config |
key_ |
Finds the key currently bound to the specified command. | — | cmd | |
key_ |
Lists all currently bound keys and their bindings. | — | cmd | |
multvar |
Multiplies the specified console variable by a value. | — | cmd | |
repeat_ |
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 |
Nothing matches that. Try a shorter word, or reset the filters.