Do binds reset on restart?

If you set a bind while in a server or in singleplayer and you restart the game later will you still have the bind set?

Some of my binds do and some don’t, weirdly

Either of these console commands will save bindings properly, lazy to figure out which one:



host_writeconfig




host_writeconfig autoexec


Wouldn’t that just re-bind everytime you start up gmod?

Also this: http://forum.facepunch.com/showthread.php?t=1480777&p=48440838&viewfull=1#post48440838

Eh? When GMod starts up it needs to load key mappings from somewhere. Config files is where it loads them from.

If you really want to set a bind that saves when you load GMod, then you should put it in autoexec (common/garrysmod/garrysmod/cfg/autoexec.cfg)


host_writeconfig