changeset 35988:b0f387263687

runtime(doc): improve typedchar documentation for KeyInputPre autocmd Commit: https://github.com/vim/vim/commit/890f97ce57ed90d55a87ff1b88914922cda8f016 Author: Shougo Matsushita <Shougo.Matsu@gmail.com> Date: Sun Aug 18 16:57:04 2024 +0200 runtime(doc): improve typedchar documentation for KeyInputPre autocmd closes: https://github.com/vim/vim/issues/15521 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 18 Aug 2024 17:00:06 +0200
parents 465d9dc26f01
children b4836a0e77e1
files runtime/doc/autocmd.txt
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt*   For Vim version 9.1.  Last change: 2024 Aug 12
+*autocmd.txt*   For Vim version 9.1.  Last change: 2024 Aug 18
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -992,7 +992,10 @@ KeyInputPre			Just before a key is proce
 				character is used.
 				The following values of |v:event| are set:
 				   typed	The key is typed or not.
-				   typedchar	The (actual) typed key.
+				   typedchar	The (actual) typed key since
+						the last |KeyInputPre| call.
+				Note: "typedchar" may be empty if successive
+				|KeyInputPre| autocmds are processed.
 				It is not allowed to change the text
 				|textlock| or the current mode.
 				{only with the +eval feature}