diff options
Diffstat (limited to 'config.cpp')
-rw-r--r-- | config.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
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 <termio.h> + +#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; |