I was putting in '+mlook' into the config file (at the bottom, don't if that makes a difference) which worked exactly once. When I started the game up again, the command had been erased from the file! This happened each time I put the command back into the config file.
Anyway, after you pointed out zQuake to me on IRC, I no longer needed to struggle with the config file

. Thanks for your help!