Skip to content

Commit e1ad897

Browse files
authored
Merge pull request #1416 from vim-jp/hh-update-autocmd
Update autocmd.{txt,jax}
2 parents 31c8150 + 955c216 commit e1ad897

File tree

2 files changed

+41
-3
lines changed

2 files changed

+41
-3
lines changed

doc/autocmd.jax

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim バージョン 9.1. Last change: 2023 May 20
1+
*autocmd.txt* For Vim バージョン 9.1. Last change: 2024 Jan 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -343,7 +343,8 @@ Vimは以下のイベントを認識する。イベント名が大文字か小
343343
|VimEnter| 全ての起動処理が終わった後
344344
|GUIEnter| GUIの起動が成功した後
345345
|GUIFailed| GUIの起動が失敗した後
346-
|TermResponse| |t_RV|に対する端末の反応を受け取った後
346+
|TermResponse| |t_RV| に対する端末の反応を受け取った後
347+
|TermResponseAll| |t_RV| および他の端末応答を受信した後
347348

348349
|QuitPre| `:quit` を使ったとき、本当に終了するか決定する前
349350
|ExitPre| Vimを終了するコマンドを使ったとき
@@ -1204,6 +1205,24 @@ TermResponse |t_RV| に対する応答をターミナルから受け取った
12041205
Note: このイベントは他のイベントの処理中にも発
12051206
行されることがある。特に、ファイル入出力、シェ
12061207
ルコマンドの実行、時間の掛かる処理など。
1208+
*TermResponseAll*
1209+
TermResponseAll |t_RV|, |t_RC|, |t_RS|, |t_RB|, |t_RF|, または
1210+
|t_u7| に対する応答をターミナルから受信した後。
1211+
|v:termresponse|, |v:termblinkresp|,
1212+
|v:termstyleresp|, |v:termrbgresp|,
1213+
|v:termrfgresp|, および |v:termu7resp| の値を
1214+
それぞれ使用できる。<amatch> は次のいずれかに
1215+
設定される。
1216+
"version",
1217+
"cursorblink",
1218+
"cursorshape",
1219+
"background",
1220+
"foreground",
1221+
"ambiguouswidth"
1222+
Note このイベントは、特にファイル I/O、シェル
1223+
コマンド、またはその他の時間の掛かるものが関係
1224+
する場合、別のイベントの実行途中でトリガーされ
1225+
る可能性があることに注意。
12071226
*TextChanged*
12081227
TextChanged ノーマルモードでカレントバッファのテキストが変
12091228
更されたとき。つまり |b:changedtick| が更新さ

en/autocmd.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 9.1. Last change: 2023 May 20
1+
*autocmd.txt* For Vim version 9.1. Last change: 2024 Jan 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -340,6 +340,7 @@ Name triggered by ~
340340
|GUIEnter| after starting the GUI successfully
341341
|GUIFailed| after starting the GUI failed
342342
|TermResponse| after the terminal response to |t_RV| is received
343+
|TermResponseAll| after the terminal response to |t_RV| and others is received
343344

344345
|QuitPre| when using `:quit`, before deciding whether to exit
345346
|ExitPre| when using a command that may make Vim exit
@@ -1220,6 +1221,24 @@ TermResponse After the response to |t_RV| is received from
12201221
triggered halfway executing another event,
12211222
especially if file I/O, a shell command or
12221223
anything else that takes time is involved.
1224+
*TermResponseAll*
1225+
TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|,
1226+
|t_RB|, |t_RF|, or |t_u7| are received from
1227+
the terminal. The value of |v:termresponse|,
1228+
|v:termblinkresp|, |v:termstyleresp|,
1229+
|v:termrbgresp|, |v:termrfgresp|, and
1230+
|v:termu7resp|, correspondingly, can be used.
1231+
<amatch> will be set to any of:
1232+
"version",
1233+
"cursorblink",
1234+
"cursorshape",
1235+
"background",
1236+
"foreground",
1237+
"ambiguouswidth"
1238+
Note that this event may be triggered halfway
1239+
executing another event, especially if file I/O,
1240+
a shell command or anything else that takes time
1241+
is involved.
12231242
*TextChanged*
12241243
TextChanged After a change was made to the text in the
12251244
current buffer in Normal mode. That is after

0 commit comments

Comments
 (0)