Have you run through the key config in the spelunky config? Even rewriting it by reassigning may overwrite some random blank field.
How do I do that? I opened the .cfg file in Notepad, and it was just a bunch of numbers... I didn't know what's what...