mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-30 23:37:17 +03:00
move InsertMode to normal.hh
This commit is contained in:
parent
7267b8281f
commit
cb9384f8a7
@ -12,18 +12,6 @@ namespace InputModes { class Insert; }
|
||||
|
||||
class Register;
|
||||
|
||||
enum class InsertMode : unsigned
|
||||
{
|
||||
Insert,
|
||||
Append,
|
||||
Replace,
|
||||
InsertAtLineBegin,
|
||||
InsertAtNextLineBegin,
|
||||
AppendAtLineEnd,
|
||||
OpenLineBelow,
|
||||
OpenLineAbove
|
||||
};
|
||||
|
||||
// An Editor is a buffer mutator
|
||||
//
|
||||
// The Editor class provides methods to manipulate a set of selections
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "color.hh"
|
||||
#include "completion.hh"
|
||||
#include "context.hh"
|
||||
#include "editor.hh"
|
||||
#include "normal.hh"
|
||||
#include "keys.hh"
|
||||
#include "string.hh"
|
||||
#include "utils.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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user