aboutsummaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index ef902bd6..9ed4578b 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -34,6 +34,7 @@
#include "prefs.h"
#include "prefsparser.hh"
+#include "keys.hh"
#include "bw.h"
#include "misc.h"
#include "nav.h"
@@ -261,6 +262,9 @@ int main(int argc, char **argv)
// create ~/.dillo if not present
Paths::init();
+ // initialize default key bindings
+ Keys::init();
+
// set the default values for the preferences
a_Prefs_init();
@@ -268,6 +272,10 @@ int main(int argc, char **argv)
if ((fp = Paths::getPrefsFP(PATHS_RC_PREFS))) {
PrefsParser::parse(fp);
}
+ // parse keysrc
+ if ((fp = Paths::getPrefsFP(PATHS_RC_KEYS))) {
+ Keys::parse(fp);
+ }
// initialize internal modules
a_Dpi_init();