Skip to content

Commit 890f97c

Browse files
Shougochrisbra
authored andcommitted
runtime(doc): improve typedchar documentation for KeyInputPre autocmd
closes: #15521 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
1 parent 8e25d91 commit 890f97c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

runtime/doc/autocmd.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 9.1. Last change: 2024 Aug 12
1+
*autocmd.txt* For Vim version 9.1. Last change: 2024 Aug 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -992,7 +992,10 @@ KeyInputPre Just before a key is processed after mappings
992992
character is used.
993993
The following values of |v:event| are set:
994994
typed The key is typed or not.
995-
typedchar The (actual) typed key.
995+
typedchar The (actual) typed key since
996+
the last |KeyInputPre| call.
997+
Note: "typedchar" may be empty if successive
998+
|KeyInputPre| autocmds are processed.
996999
It is not allowed to change the text
9971000
|textlock| or the current mode.
9981001
{only with the +eval feature}

0 commit comments

Comments
 (0)