Skip to content

Commit a1b7931

Browse files
committed
Update autocmd.{txt,jax}
1 parent eda41f5 commit a1b7931

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

doc/autocmd.jax

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim バージョン 9.1. Last change: 2024 Aug 12
1+
*autocmd.txt* For Vim バージョン 9.1. Last change: 2024 Aug 18
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -976,7 +976,12 @@ KeyInputPre マッピングが適用されてキーが処理される前。パ
976976
場合は、最初の文字が使用される。
977977
|v:event| には以下の値が設定される:
978978
typed キーがタイプされたか否か。
979-
typedchar (実際に) タイプされたキー。
979+
typedchar 最後の |KeyInputPre| 呼び出し
980+
以降に (実際に) タイプされた
981+
キー。
982+
Note: 連続する |KeyInputPre| 自動コマンドが処
983+
理される場合、"typedchar" は空になることがあ
984+
る。
980985
テキスト |textlock| または現在のモードを変更す
981986
ることはできない。
982987
{+eval 機能が有効な場合のみ}

en/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)