From 6e0279856f196cc99d72bfc85e5768ef5871b674 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 20 Jun 2016 19:30:28 +0100 Subject: [PATCH] Document InsertChar hook --- README.asciidoc | 2 ++ doc/manpages/hooks.asciidoc | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/README.asciidoc b/README.asciidoc index f3c16e6a..4a008913 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -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 diff --git a/doc/manpages/hooks.asciidoc b/doc/manpages/hooks.asciidoc index aed2df31..0707d2d2 100644 --- a/doc/manpages/hooks.asciidoc +++ b/doc/manpages/hooks.asciidoc @@ -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