// All default binds belong in here.
// The command "resetbinds" executes this file.

// Do not modify.

bind MOUSE1 attack
bind MOUSE2 altaction
editbind MOUSE2 [ showmenu editing ]
bind MOUSE3 weapon
bind MOUSE4 [ universaldelta 1 ]
bind MOUSE5 [ universaldelta -1 ]
bind BACKSPACE dropflag
editbind BACKSPACE delent
bind TAB [ showscores 1; onrelease [ showscores 0 ] ]
bind CLEAR []
bind RETURN []
bind PAUSE []
bind ESCAPE [ if $connected [ ingamemenu ] [ if (watchingdemo) [ showmenu [Watching demo] ] [ showmenu main ] ] ] ]
bind SPACE jump
bind EXCLAIM []
bind QUOTEDBL []
bind HASH []
bind DOLLAR []
bind AMPERSAND []
bind QUOTE []
bind LEFTPAREN []
bind RIGHTPAREN []
bind ASTERISK []
bind PLUS []
bind COMMA []
// Directional equalizing - look up to level the ceiling selection, look down to level the floor selection
editbind COMMA [ if $old_editbinds [ equalize 0 ] [ if (= $flrceil 0) [ equalize 0 ] [ if (= $flrceil 2) [ equalize 2 ] ] ] ]
bind MINUS []
editbind MINUS copyent
bind PERIOD []
editbind PERIOD [ if $old_editbinds [ equalize 2 ] ]
bind SLASH [ saycommand "/" ]
bind 0 []
bind 1 primary
editbind 1 [ domodifier 5 ]
bind 2 secondary
editbind 2 [ domodifier 7 ]
bind 3 grenades
editbind 3 [ domodifier 8 ]
bind 4 melee
editbind 4 [ domodifier 9 ]
bind 5 []
bind 6 []
bind 7 []
editbind 7 nextclosestent
bind 8 [ vdelta -1 ]
bind 9 [ vdelta 1 ]
bind COLON []
bind SEMICOLON []
editbind SEMICOLON editent
bind LESS []
bind EQUALS []
editbind EQUALS pasteent
bind GREATER []
bind QUESTION []
bind AT []
bind LEFTBRACKET [ editheight 0 -1 ]
bind BACKSLASH []
bind RIGHTBRACKET [ editheight 0 1 ]
bind CARET [ saycommand "/" ]
bind UNDERSCORE []
bind BACKQUOTE [ saycommand "/" ]
bind A left
bind B [ showmenu Weapons ]
bind C []
editbind C copy
bind D right
bind E edittoggle
bind F []
editbind F [ if $old_editbinds [ solid 1 ] [ if (countwalls 0) [ solid 0 ] [ solid 1 ] ] ] // Toggle solid/non-solid
bind G quicknadethrow
editbind G [ solid 0 ]
bind H []
// Directional heightfielding - look up for toggle CHF/non-solid, look down for toggle FHF/non-solid
editbind H [ if $old_editbinds [ heightfield 0 ] [ if (= $flrceil 0) [ if (countwalls 2) [ solid 0 ] [ heightfield 0 ] ] [ if (= $flrceil 2) [ if (countwalls 3) [ solid 0 ] [ heightfield 2 ] ] ] ] ]
bind I []
editbind I [ if $old_editbinds [ heightfield 2 ] ]
bind J []
bind K []
editbind K [ if $old_editbinds corner [ if (countwalls 1) [ solid 0 ] corner ] ] // Toggle corner/non-solid
bind L []
editbind L [ showmenu Lightning ] 
bind M []
editbind M [ domodifier 6 ]
bind N quickanswer
bind O [ editheight 2 -1 ]
bind P [ editheight 2 1 ]
bind Q []
editbind Q [ domodifier 1 ]
bind R reload
bind S backward
bind T saycommand // or even "saycommand >"
bind U []
editbind U undo
bind V [ showmenu voicecom ]
editbind V paste
bind W forward
bind X []
editbind X [ domodifier 3 ]
bind Y [ saycommand % ]
bind Z []
editbind Z [ domodifier 2 ]
bind DELETE []
editbind DELETE [ edittex 0 -1 ]
bind KP0 [ weapon 4 1 ] 
bind KP1 []
bind KP2 []
bind KP3 []
bind KP4 []
editbind KP4 [ edittex 3 -1 ]
bind KP5 []
bind KP6 []
bind KP7 []
editbind KP7 [ edittex 3 1 ]
bind KP8 []
bind KP9 []
bind KP_PERIOD []
bind KP_DIVIDE []
bind KP_MULTIPLY []
bind KP_MINUS [ conskip 3 ]
bind KP_PLUS [ conskip -1000 ]
bind KP_ENTER []
bind KP_EQUALS []
bind UP forward
bind DOWN backward
bind RIGHT right
bind LEFT left
bind INSERT []
editbind INSERT [ edittex 0 1 ]
bind HOME []
editbind HOME [ edittex 1 1 ]
bind END []
editbind END [ edittex 1 -1 ]
bind PAGEUP []
editbind PAGEUP [ edittex 2 1 ]
bind PAGEDOWN []
editbind PAGEDOWN [ edittex 2 -1 ]
bind F1 [ if $votepending [ && (vote 1) (echo you voted yes) ] ]
bind F2 [ if $votepending [ && (vote 2) (echo you voted no) ] ]
bind F3 []
bind F4 []
bind F5 [ domodifier 1 ]
editbind F5 toggleocull
bind F6 [ domodifier 2 ]
editbind F6 showmip
bind F7 []
editbind F7 [ if $fullbright [ fullbright 0 ] [ fullbright 1 ] ]
bind F8 []
bind F9 []
bind F10 [ if (! (watchingdemo)) getdemo ]
bind F11 [ conskip -1000; toggleconsole ]
bind F12 screenshot
bind F13 []
bind F14 []
bind F15 []
bind NUMLOCK []
bind CAPSLOCK []
bind SCROLLOCK []
bind RSHIFT []
bind LSHIFT crouch
bind RCTRL jump
bind LCTRL []
editbind RCTRL []
editbind LCTRL []
bind RALT []
bind LALT [ showscores 0; toggleshowmap ]
bind RMETA []
bind LMETA []
bind LSUPER []
bind RSUPER []
bind MODE []
bind COMPOSE []
bind HELP []
bind PRINT []
bind SYSREQ []
bind BREAK []
bind MENU []

persistidents 1
newselkeys = LCTRL
