//https://wiki.teamfortress.com/wiki/List_of_default_keys

// viewmodel binds
bindtoggle kp_minus r_drawviewmodel
bindtoggle kp_multiply cl_first_person_uses_world_model
bindtoggle kp_slash tf_taunt_first_person 0 1

// tab graph
alias +tabgraph "+showscores; net_graph 1"
alias -tabgraph "-showscores; net_graph 0"
bind tab +tabgraph

alias "+ctap" "+duck 1; -duck 1; +jump 1"
alias "-ctap" "-jump 1"

//medic radar
alias "+radar" "hud_medicautocallersthreshold 500"
alias "-radar" "hud_medicautocallersthreshold 59"

alias +rj "spec_mode;-duck;+cr;alias checkrj +cr"
alias -rj "-cr;checkduck;alias checkrj none"
alias +crouch "-cr;+duck;alias checkduck +duck"
alias -crouch "-duck;checkrj;alias checkduck none"
alias checkduck none
alias checkrj none
alias +cr "+jump;+duck"
alias -cr "-duck;-jump"
alias none ""

// quick build/destroy sentry
alias sentry "destroy 2; build 2"

// bind for showing some info
alias +showinfo "cl_showfps 1; net_graph 1; cl_showpos 1"
alias -showinfo "cl_showfps 0; net_graph 0; cl_showpos 0"
bind ralt +showinfo

// killbinds
bind - "kill"
bind = "explode"

//bind for map vote when it breaks
bind kp_end "next_map_vote 0"
bind kp_downarrow "next_map_vote 1"
bind kp_pgdn "next_map_vote 2"

//fix all button
bind kp_ins "snd_restart;hud_reloadscheme"

//toggle html motd
bindtoggle kp_del cl_disablehtmlmotd

// loadouts
bind f1 loadouts.A
bind f2 loadouts.B
bind f3 loadouts.C
bind f5 loadouts.D
bind q loadouts.resup

bind f4 player_ready_toggle

//bind to use mconfig null movement binds
bind w +mf
bind a +ml
bind s +mb
bind d +mr

bind space +jump
bind shift +duck
bind ctrl +ctap
bindtoggle alt r_drawviewmodel

bind e "voicemenu 0 0"
bind h lastinv
bind f +inspect
bind v +use
bind l "cl_disablehtmlmotd 0; say !log"
bind mouse3 "voicemenu 1 1"
bind mouse4 +voicerecord
bind mouse5 +use_action_slot_item