Document InsertChar hook

This commit is contained in:
Maxime Coste 2016-06-20 19:30:28 +01:00
parent 471c75d738
commit 6e0279856f
2 changed files with 6 additions and 0 deletions

View File

@ -1323,6 +1323,8 @@ existing hooks are:
* `InsertBegin`: Entering insert mode
* `InsertEnd`: Leaving insert mode
* `InsertKey`: A key is received in insert mode, the key is used for filtering
* `InsertChar`: A character is inserted in insert mode, the character is used
for filtering
* `InsertMove`: The cursor moved (without inserting) in insert mode, the key
that triggered the move is used for filtering
* `WinCreate`: A window was created, the filtering text is the buffer name

View File

@ -63,6 +63,10 @@ Default hooks
*InsertKey*::
a key is received in insert mode, the key is used for filtering
*InsertChar*::
a character is received in insert mode, the character is used for
filtering
*InsertMove*::
the cursor moved (without inserting) in insert mode, the key that
triggered the move is used for filtering