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 autoexec

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

Also this:

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)