summaryrefslogtreecommitdiff
path: root/src/normal.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-12-15 19:41:32 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-12-15 20:23:02 +0000
commitcb9384f8a76d94d387278d679ece9a692316b547 (patch)
tree7fa1a9a35d901f589d6e43ed71a6a4ddb28c6003 /src/normal.hh
parent7267b8281fbcc21d96bb8cb760d2a4e881b4d5e5 (diff)
move InsertMode to normal.hh
Diffstat (limited to 'src/normal.hh')
-rw-r--r--src/normal.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/normal.hh b/src/normal.hh
index c35027ce..e72d0d20 100644
--- a/src/normal.hh
+++ b/src/normal.hh
@@ -11,6 +11,18 @@ namespace Kakoune
class Context;
+enum class InsertMode : unsigned
+{
+ Insert,
+ Append,
+ Replace,
+ InsertAtLineBegin,
+ InsertAtNextLineBegin,
+ AppendAtLineEnd,
+ OpenLineBelow,
+ OpenLineAbove
+};
+
using KeyMap = std::unordered_map<Key, std::function<void (Context& context, int param)>>;
extern KeyMap keymap;