summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-12-18 11:03:29 +1100
committerMaxime Coste <mawww@kakoune.org>2017-12-18 11:09:54 +1100
commite0b28fa421105efa25e0e1aeb78bc83cca32ee1e (patch)
tree00aa205b594f1a656a472ae4b3b8bb567b6d8ab7 /doc
parentfe49410537da3b59a556ea6ed3bd7f76ba09c561 (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 'doc')
-rw-r--r--doc/pages/hooks.asciidoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/pages/hooks.asciidoc b/doc/pages/hooks.asciidoc
index 890602dc..94008c7b 100644
--- a/doc/pages/hooks.asciidoc
+++ b/doc/pages/hooks.asciidoc
@@ -120,6 +120,9 @@ of the given *group*.
*RuntimeError* `error message`::
an error was encountered while executing a user command
+*InputModeChange* `<old mode>:<new mode>`::
+ Triggered whenever the current input mode changes
+
*KakBegin*::
kakoune has started, this hook is called just after reading the user
configuration files