# Configuring DOOM's keymap
At first I thought this was impossible, as the manpage doesn't mention any config file. But eventually I spotted a cfg file in my $home/lib/doom directory. In fact there IS a config file, and it lets you modify, among other things, the keymap !
But then fun thing, the parameter to give is a number. What ?
It seems like it is corresponding to a scancode, but I have no idea how to get it. After some experimentation, since I just wanted to map letter keys like 'q' for example, just giving its ascii decimal value works (for example for q, you do `ascii -d q`). I have no idea however how you would do it for anything non-ascii like arrow keys (though those ones are already there in the default cfg file).