summaryrefslogtreecommitdiff
path: root/src/normal.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-04-12 14:28:13 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-04-12 14:28:13 +0200
commit5653af15ed9e8b412523ad860a3df2ac3d9739c4 (patch)
tree7e4a9b3d60f530de40b7dfa25aaddbce54fd2de1 /src/normal.hh
parentdbffcb226b95aad0d7a56a7e4982747d5bb58241 (diff)
move normal mode implementation to normal.{cc,hh}
Diffstat (limited to 'src/normal.hh')
-rw-r--r--src/normal.hh19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/normal.hh b/src/normal.hh
new file mode 100644
index 00000000..dfce1390
--- /dev/null
+++ b/src/normal.hh
@@ -0,0 +1,19 @@
+#ifndef normal_hh_INCLUDED
+#define normal_hh_INCLUDED
+
+#include "keys.hh"
+
+#include <functional>
+#include <unordered_map>
+
+namespace Kakoune
+{
+
+class Context;
+
+using KeyMap = std::unordered_map<Key, std::function<void (Context& context)>>;
+extern KeyMap keymap;
+
+}
+
+#endif // normal_hh_INCLUDED