From 4addb711c6a1a282b0a59bf03e850a86ba2ead69 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 8 Jan 2017 22:43:35 +0100 Subject: Initial --- config.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 config.cpp (limited to 'config.cpp') diff --git a/config.cpp b/config.cpp new file mode 100644 index 0000000..c2c12b7 --- /dev/null +++ b/config.cpp @@ -0,0 +1,17 @@ +#include + +#include "command.h" +#include "config.h" + +using namespace std; + + +Keybindings global_keybindings={ + {KEY_CTRL+'Q',{"quit_app"}} +}; + +class Init{public: Init(){ + for(int i=32;i<127;i++){ + global_keybindings.emplace(i,Command("insert_char",string(1,(char)i))); + } +}} init_object; -- cgit v1.2.3-70-g09d2