CS2 Bind Jump to Mouse Wheel

Table of Contents

In Counter-Strike 2, keybinding means setting up a specific key or mouse button to perform an action automatically. In this guide, you’ll learn what keybinding is, how it works, and how to create a simple telemetry script that you can bind to any key or mouse button.

What is a Alias?

An “alias” is a console command in CS2 (and all Source-engine games) that allows you to create a custom name for another command or a sequence of commands. It helps simplify complex scripts, create toggles, and manage advanced input behavior. It’s often used alongside bind to customize gameplay controls.

So — it’s not just a concept — it’s an actual command called alias, and its purpose is to define custom command names for use in binds, scripts, or chained actions.

Syntax for Alias command

				
					alias [alias_name] "[action]"
				
			

Where:

  • [alias_name] – The custom name you assign to the alias.
  • [action] – The command (or sequence of commands, separated by semicolons) that will be executed when the alias is called.

Example:
To create an alias that buys a rifle and full armor:

				
					alias "t_mode" "buy ak47; buy deagle"

				
			

Explonation:

When you type t_mode in the console, your character will purchase an AK-47 rifle and a Desert Eagle pistol.

Bind the Command to a Key

For ease of use, you can bind the t_mode alias to a key, for example the V key:

				
					alias "t_mode" "buy ak47; buy deagle"
bind "v" "t_mode"

Now, pressing V in-game will automatically buy the AK-47 and Desert Eagle.
				
			

Understanding Keyboard and Mouse Buttons

Before binding, you should know the exact names of keys and mouse buttons:

  • mouse1 – Left mouse button
  • mouse2 – Right mouse button
  • mouse3 – Middle mouse button (usually the mouse wheel button)
  • mwheelup – Scroll mouse wheel upwards
  • mwheeldown – Scroll mouse wheel downwards
  • space – Spacebar
  • Keyboard keys are usually named directly (‘a‘, ‘b‘, ‘c‘, ‘ctrl‘, ‘shift‘, etc).

How to Bind Mouse Wheel to Jump in Counter-Strike 2

Method #1: In-Game Console (manual)

  • Launch Counter-Strike 2.
  • Navigate to Settings > Game.
  • Set “Enable Developer Console” to “Yes“.
  • Open the console by pressing the ~ key (default).
  • Enter one or both of the following commands:
				
					bind "mwheelup" "+jump"
bind "mwheeldown" "+jump"
				
			
  • Press Enter after typing each command.
  • Close the console by pressing ~ again and test your binding in-game.

Method #2: Configuration File (manual)

  • Locate your CS2 configuration folder:
				
					..\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\
				
			
  • Create a new text file in this folder. You can name this file using letters, numbers, dashes, underscores, or ampersands (e.g., my123.txt).
  • Add your desired binding(s) into this file, for example:
				
					bind "mwheelup" "+jump"
bind "mwheeldown" "+jump"
				
			
  • Change the file extension from .txt to .cfg. To see file extensions in Windows: Open Control Panel > File Explorer Options > View tab, and uncheck “Hide extensions for known file types“.
    Example final filename: my123.cfg.
  • Launch Counter-Strike 2, open the console (~ key), and execute your config file by typing:
  • Close the console and test your bindings in-game.

Method #3: Configuration File (auto)

Follow the same steps as Method #2 but name the configuration file autoexec.cfg. This file automatically executes each time Counter-Strike 2 starts, ensuring your bindings are always active.

				
					+exec my123.cfg
				
			

Method #4: Autoexec Configuration File (auto)

Follow the same steps as Method #2 but name the configuration file autoexec.cfg. This file automatically executes each time Counter-Strike 2 starts, ensuring your bindings are always active. No additional action is required here.

Unbinding Keys

To remove a key binding, use the “unbind” command or delete the bind in cs2_user_keys_0_slot0.vcfg file.

				
					unbind mwheelup
unbind mwheeldown
				
			

Practical Tips

  • You don’t need to add the autoexec.cfg file to your Launch Options.
  • All your bindings are automatically saved to your configuration file located in the Steam folder: ..\userdata\Your_Steam_ID\730\local\cfg\cs2_user_keys_0_slot0.vcfg.
  • You can use the console command key_listboundkeys to display all current binds.

Now you’re ready to customize your jump bind and improve your gameplay in Counter-Strike 2!

Good luck and happy fragging!