// aliases that are strictly corrolated to keybinds
alias "bindbuy00" "bind INS BUY_DEG; bind HOME BUY_SMG; bind PGUP BUY_RIF"
alias "bindbuy10" "bind DEL BUY_DEF; bind END BUY_VES; bind PGDN BUY_VSH"
alias "bindbuy20" "bind LEFTARROW BUY_SMK; bind UPARROW BUY_MOL; bind RIGHTARROW BUY_FLS; bind DOWNARROW BUY_NAD"
alias "binddon00" "bind INS DON_DEG; bind HOME DON_SMG; bind PGUP DON_RIF"
alias "binddon10" "bind DEL DON_DEF; bind END DON_VES; bind PGDN DON_VSH"
alias "binddon20" "bind LEFTARROW DON_SMK; bind UPARROW DON_MOL; bind RIGHTARROW DON_FLS; bind DOWNARROW DON_NAD"
alias "bindref00" "bind INS REF_DEG; bind HOME REF_SMG; bind PGUP REF_RIF"
alias "bindref10" "bind DEL REF_DEF; bind END REF_VES; bind PGDN REF_VSH"
alias "bindref20" "bind LEFTARROW REF_SMK; bind UPARROW REF_MOL; bind RIGHTARROW REF_FLS; bind DOWNARROW REF_NAD"
alias "_remove_comm_binds" "unbind C; unbind ENTER; unbind KP_ENTER; unbind BACKSPACE"
alias "_add_comm_binds" "bind C +voicerecord; bind ENTER messagemode2; bind KP_ENTER messagemode2; bind BACKSPACE messagemode"
echo "Setting keybinds..."
// ---------- KEYBINDS ----------
bind "`" "toggleconsole"
// Name of the binding to enable mouse selection in the scoreboard.
cl_scoreboard_mouse_enable_binding "+attack2"
bind "ESCAPE" "cancelselect"
// - generic -
bind "E" "+use"
bind "R" "+reload"
bind "F" "+lookatweapon"
bind "T" "+spray_menu"
// - practice -
// bind "N" "sv_cheats 1; noclip"
// - mouse -
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
// +radialradio3 is pretty cool too, but not for comp reasons
bind "MOUSE3" "player_ping" // +radialradio is not ready yet, it is bug prone, needs fix!
bind "MOUSE4" "+radialradio"
bind "MOUSE5" "+voicerecord"
// - jumpthrow bind 17/10/2023 -
// this happens to be the *actual* jump bind, from what I gather, however Im not entirely sure lol, anyways it works as intended
alias "+dforward_" "+forward;+forward"
alias "-dforward_" "-forward;-forward;-forward"
alias "+dattack_" ""
alias "-dattack_" "-attack;-attack;-attack"
alias "+dattack2_" ""
alias "-dattack2_" "-attack2;-attack2;-attack2"
alias "+djump_" "+jump;+jump"
alias "-djump_" "-jump;-jump;-jump"
alias "djomp" "+djump_;-djump_" // bypass Valve attempt at preventing jumpthrow binds
alias "jumpthrow" "djomp; -dattack_; -dattack2_"
alias "+runthrow" "+dforward_; jumpthrow"
alias "-runthrow" "-dforward_"
// - crouchjump bind -
// with crouch toggle that does not bug out, from old autoexec
// FIXME crouchjump/ccrouch is currently broken!
alias "+cjump" "+duck; +jump;; alias nDuck_c"
alias "-cjump" "-jump; nDuck_j; alias nDuck_c -duck"
alias "+ccrouch" "+duck; alias nDuck_j"
alias "-ccrouch" "nDuck_c; alias nDuck_j -duck"
alias "nDuck_j" "-duck"
alias "nDuck_c" "-duck"
// - movement -
bind "W" "+forward"
bind "S" "+back"
bind "A" "+left"
bind "D" "+right"
bind "SPACE" "+jump"
bind "SHIFT" "+sprint"
bind "CTRL" "+ccrouch"
bind "ALT" "jumpthrow"
// - comms -
// bind "RCTRL" "voice_modenable_toggle"
bind "MOUSE5" "+voicerecord"
bind "BACKSPACE" "messagemode"
bind "ENTER" "messagemode2"
bind "KP_ENTER" "messagemode2"
bind "F3" "toggle cl_mute_enemy_team"
bind "F4" "toggle_comms"
// - weapon switches -
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
bind "1" "slot1"
bind "2" "slot2"
// https://blog.leetify.com/cs2-pov-demos/
bind "3" "slot3" //
bind "5" "slot5"
bind "Q" "slot4" // rotate between nades
bind "Z" "slot10" // molly
bind "X" "slot8" // smoke
bind "C" "slot7" // flash
bind "V" "slot6" // nade
// drop bomb
bind . "use weapon_knife; use weapon_c4; drop; slot1"
// - buy binds -
alias "_play_buy_sound" "play ui\panorama\radial_menu_buy_01.vsnd_c"
alias "_play_refund_sound" "play ui\panorama\radial_menu_buy_03.vsnd_c"
bind "B" "buymenu"
bind "RSHIFT" "+drop_buy_guns" // drop modifier
bind "RCTRL" "+sellback_guns" // sellback modifier
bind "N" "buy incgrenade; buy molotov; buy flashbang; buy hegrenade; buy smokegrenade; _play_buy_sound"
bind "M" "buy vesthelm; _play_buy_sound"
bind "," "buy vest; _play_buy_sound"
bind "/" "buy defuser; _play_buy_sound"
bind "[" "buy mp9; buy mac10; _play_buy_sound"
bind "]" "buy m4a1_silencer; buy ak47; _play_buy_sound"
bind "semicolon" "buy fiveseven; buy tec9; _play_buy_sound"
bind "'" "buy deagle; _play_buy_sound"
alias "sellall" "sellback 2;sellback 3;sellback 4;sellback 5;sellback 6;sellback 8;sellback 9;sellback 10;sellback 11;sellback 12;sellback 14;sellback 15;sellback 16;sellback 17;sellback 18;sellback 26;sellback 26;sellback 27;sellback 28;sellback 29;sellback 30;sellback 32;sellback 33;sellback 34;sellback 35"
bind "\" "sellall; _play_refund_sound"
bind "G" "drop"
// - scores / radar -
bind "RALT" "+zoomout"
bind "TAB" "+scores"
// - moviemaking -
bind "kp_0" "demo_togglepause"
bind "kp_del" "toggle spec_show_xray" // .
bind "kp_1" "demo_timescale 0.25"
bind "kp_2" "demo_timescale 1"
bind "kp_3" "demo_timescale 4"
bind "kp_4" "" //TODO currently unused!
bind "kp_5" "" //TODO currently unused!
bind "kp_6" "" //TODO currently unused!
bind "kp_7" "switchpov"
bind "kp_8" "switchsides"
bind "kp_9" "switchtpszoom"
echo "Binds set!"