Skip to content

Instantly share code, notes, and snippets.

@nothub
Created February 8, 2025 14:19
Show Gist options
  • Save nothub/d667ece4a0bd1959ddc4a59bdbb2dea0 to your computer and use it in GitHub Desktop.
Save nothub/d667ece4a0bd1959ddc4a59bdbb2dea0 to your computer and use it in GitHub Desktop.
cs2 config
// SAVE THIS FILE TO:
// C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\autoexec.cfg
con_enable "true"
fps_max "420"
fps_max_ui "42"
fps_max_tools "42"
sensitivity "1.7"
hud_showtargetid "true"
cl_allow_animated_avatars "false"
cl_crosshair_friendly_warning "1"
hud_showtargetid "true" // show name overlay when hovering an enemy
r_drawtracers_firstperson "true"
cl_crosshaircolor "5"
cl_crosshaircolor_r "255"
cl_crosshaircolor_g "0"
cl_crosshaircolor_b "63"
cl_crosshairalpha "255"
cl_crosshairusealpha "true"
cl_crosshairgap "-3.00"
cl_crosshairsize "1.30"
cl_crosshairstyle "4"
cl_crosshairthickness "1.00"
cl_fixedcrosshairgap "-2.00"
cl_crosshairdot "false"
cl_crosshair_t "false"
cl_crosshair_drawoutline "false"
cl_crosshair_recoil "false"
cl_crosshairgap_useweaponvalue "false"
bind "ESCAPE" "cancelselect"
bind "TAB" "+showscores"
bind "F10" "quit"
bind "F11" "toggleconsole"
// movement
bind "w" "+forward"
bind "a" "+left"
bind "s" "+back"
bind "d" "+right"
bind "e" "+use"
bind "r" "+reload"
bind "q" "lastinv"
bind "m" "teammenu"
bind "t" "+spray_menu"
bind "CTRL" "+duck"
bind "SHIFT" "+sprint"
bind "SPACE" "+jump"
// economy
bind "b" "buymenu"
bind "g" "drop"
bind "DEL" "sellbackall"
// hud
bind "i" "+cl_show_team_equipment"
bind "k" "toggleradarscale"
// communication
bind "y" "messagemode" // chat (all)
bind "u" "messagemode2" // chat (team)
bind "ENTER" "messagemode2" // chat (team)
bind "c" "+voicerecord" // push-to-talk
bind "6" "clutch_mode_toggle"
bind "o" "say ¯\_(ツ)_/¯"
// weapons
bind "1" "slot1" // main
bind "2" "slot2" // pistol
bind "3" "slot3" // knife
bind "4" "slot6" // explosive
bind "5" "slot5" // bomb
bind "f" "slot7" // flash
bind "v" "slot9" // decoy
bind "x" "slot8" // smoke
bind "z" "slot10" // molly
bind "h" "slot12" // health
bind "KP_1" "callvote"
bind "KP_2" "bot_place"
bind "KP_3" "noclip"
bind "KP_7" "radio"
bind "KP_8" "radio1"
bind "KP_9" "radio2"
bind "KP_4" "radio3"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "player_ping"
bind "MOUSE4" "+lookatweapon"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
echo "CONFIG LOADED"
// Uncomment the next line, if you want these config values to be written into
// files in your userdata directory. This will overwrite existing config data!
//host_writeconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment