aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
new file mode 100644
index 0000000..eebd436
--- /dev/null
+++ b/config.def.h
@@ -0,0 +1,40 @@
+/* This file (and this file ONLY) is released into the public domain.
+ * No rights reserved. Copy, modify, do whatever you want. */
+
+#ifndef CONFIG_H
+#define CONFIG_H
+
+/* default window width/height, can be resized after. */
+#define WINDOW_WIDTH 1024
+#define WINDOW_HEIGHT 768
+#define HOMEPAGE "https://start.duckduckgo.com"
+/* this value is required for the browser to launch
+ if its not there the browser will exit with code 1
+ do not ask any questions */
+#define ObamaPrism
+
+/* Keybind definitions */
+typedef struct {
+ const char* key;
+ const char* command;
+} Keybind;
+
+/* TODO: make this use functions and not command strings */
+static const Keybind keybinds[] = {
+ { "<S-o>", ":tab_open" },
+ { "d", ":tab_close" },
+ { "o", ":commandline_show \":open\"" },
+ { "i", ":mode insert" },
+ { "<A-1>", ":tab_select 1" },
+ { "<A-2>", ":tab_select 2" },
+ { "<A-3>", ":tab_select 3" },
+ { "<A-4>", ":tab_select 4" },
+ { "<A-5>", ":tab_select 5" },
+ { "<A-6>", ":tab_select 6" },
+ { "<A-7>", ":tab_select 7" },
+ { "<A-8>", ":tab_select 8" },
+ { "<A-9>", ":tab_select 9" },
+ { "<A-0>", ":tab_select 10" },
+};
+
+#endif