diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-12-18 11:03:29 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-12-18 11:09:54 +1100 |
| commit | e0b28fa421105efa25e0e1aeb78bc83cca32ee1e (patch) | |
| tree | 00aa205b594f1a656a472ae4b3b8bb567b6d8ab7 /src/commands.cc | |
| parent | fe49410537da3b59a556ea6ed3bd7f76ba09c561 (diff) | |
Introduce InputModeChange hook
InputModeChange <old mode>:<new mode> is intended to replace the various
<Mode>Begin/<Mode>End hooks.
Fixes #1772
Diffstat (limited to 'src/commands.cc')
| -rw-r--r-- | src/commands.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc index cbb21cb7..5d35af86 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -756,7 +756,7 @@ static constexpr auto hooks = { "InsertBegin", "InsertChar", "InsertDelete", "InsertEnd", "InsertIdle", "InsertKey", "InsertMove", "InsertCompletionHide", "InsertCompletionShow", "InsertCompletionSelect", "KakBegin", "KakEnd", "FocusIn", "FocusOut", "RuntimeError", "PromptIdle", - "NormalBegin", "NormalEnd", "NormalIdle", "NormalKey", "RawKey", + "NormalBegin", "NormalEnd", "NormalIdle", "NormalKey", "InputModeChange", "RawKey", "WinClose", "WinCreate", "WinDisplay", "WinResize", "WinSetOption", }; |
