Skip to content

Instantly share code, notes, and snippets.

@leiteg
Last active January 4, 2026 16:26
Show Gist options
  • Select an option

  • Save leiteg/41096f31c0fe9e224ad4513b0aaa1626 to your computer and use it in GitHub Desktop.

Select an option

Save leiteg/41096f31c0fe9e224ad4513b0aaa1626 to your computer and use it in GitHub Desktop.
Counter-Strike 2 config files.
alias +quickswitch "slot3"
alias -quickswitch "lastinv"
alias +dropbomb "slot3; slot5"
alias -dropbomb "slot3; slot5; drop"
bind "ESCAPE" "cancelselect"
// F-keys
bind "F1" ""
bind "F2" ""
bind "F3" ""
bind "F4" ""
bind "F5" "exec prac"
bind "F6" ""
bind "F7" ""
bind "F8" ""
bind "F9" "toggleconsole"
bind "F10" ""
bind "F11" ""
bind "F12" ""
// Numbers
bind "`" "+dropbomb"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot10"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "0" "slot10"
bind "-" ""
bind "=" ""
// Row 1
bind "Q" "+quickswitch"
bind "W" "+forward"
bind "E" "+use"
bind "R" "+reload"
bind "T" "+jump"
bind "Y" "messagemode"
bind "U" "messagemode2"
bind "I" "show_loadout_toggle"
bind "O" ""
bind "P" ""
bind "[" ""
bind "]" ""
bind "\" ""
// Row 2
bind "A" "+left"
bind "S" "+back"
bind "D" "+right"
bind "F" "slot7"
bind "G" "drop"
bind "H" "+spray_menu"
bind "J" "radio1"
bind "K" "radio2"
bind "L" "radio3"
bind "SEMICOLON" ""
bind "'" ""
// Row 3
bind "Z" "switchhands"
bind "X" "slot9"
bind "C" "slot6"
bind "V" "slot8"
bind "B" "+lookatweapon"
bind "N" "buymenu"
bind "M" "teammenu"
bind "," ""
bind "." ""
bind "/" ""
// Special
bind "TAB" "+showscores"
bind "CAPSLOCK" ""
bind "SHIFT" "+sprint"
bind "CTRL" "+duck"
bind "ALT" ""
bind "SPACE" "+voicerecord"
bind "RCTRL" ""
bind "RALT" ""
bind "ENTER" ""
bind "BACKSPACE" "sellbackall"
bind "INS" "buy vest"
bind "DEL" "buy vesthelm"
bind "HOME" ""
bind "END" ""
bind "PGUP" "buy awp"
bind "PGDN" "buy ak47; buy m4a1"
bind "UPARROW" "buy flashbang"
bind "DOWNARROW" "buy smokegrenade"
bind "LEFTARROW" "buy incgrenade; buy molotov"
bind "RIGHTARROW" "buy hegrenade"
// Mouse
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" ""
bind "MOUSE4" "+radialradio"
bind "MOUSE5" "player_ping"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
// Options
cl_crosshair_friendly_warning 0
r_show_build_info false
alias +speed "demo_timescale 5"
alias -speed "demo_timescale 1"
bind "X" "toggle spec_show_xray 0 1"
bind "Z" "toggle cl_drawhud true false"
bind "C" "toggle cl_draw_only_deathnotices 0 1"
bind "R" "+speed"
bind "LEFTARROW" "demo_gototick -320 relative"
bind "RIGHTARROW" "demo_gototick 320 relative"
bind "SPACE" "demo_togglepause"
bind "F1" "demoui"
clear
echo ""
echo "F1 - Restart / Space - Pause / R - Speed / Arrows - Seek"
echo "X - X-ray / Z - Hud"
echo ""
bot_kick
bot_difficulty 3
mp_warmup_end
sv_cheats 1
mp_limitteams 0
mp_autoteambalance 0
mp_maxmoney 60000
mp_startmoney 60000
mp_buytime 9999
mp_buy_anywhere 1
mp_freezetime 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_respawn_on_death_ct 1
mp_respawn_on_death_t 1
sv_infinite_ammo 1
sv_showimpacts 3
sv_showimpacts_time 2
ammo_grenade_limit_total 5
sv_grenade_trajectory_prac_pipreview 1
buddha true
buddha_ignore_bots true
sv_regeneration_force_on true
cl_versus_intro false
mp_team_intro_time 0
mp_restartgame 1
bind "CAPSLOCK" "noclip"
bind "MOUSE4" "sv_rethrow_last_grenade"
bind "ENTER" "buy incgrenade; buy molotov; buy smokegrenade; buy flashbang; buy hegrenade; buy vesthelm; buy ak47; buy tec9"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment