Put the default settings in config.h.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 23 Mar 2013 10:00:28 +0000 (11:00 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 23 Mar 2013 10:00:28 +0000 (11:00 +0100)
commitb8c4a0a3da6217f8f14ea7dd9d50c63d9f8d5591
tree9276a9eeca295b6454784fd19c71187b28bacd76
parent2af7e954bb854f60aff632e463b37e17f0847418
Put the default settings in config.h.

Now the default settings are also put in the config.h so that it's easy to
print all default settings and keybindings to stdout. Added new option to dump
all default settings and keybindings to stdout (-D).

Parsing from default config is only a little slower than the previous
approach, but it more equal to the other configuration stuff.
src/config.h
src/main.c
src/setting.c