Skip to content

Commit f8e3dc5

Browse files
authored
Merge pull request #1995 from h-east/update-autocmd
Update autocmd.{txt,jax}
2 parents fe3a7e5 + af0ea49 commit f8e3dc5

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

doc/autocmd.jax

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim バージョン 9.1. Last change: 2025 Mar 08
1+
*autocmd.txt* For Vim バージョン 9.1. Last change: 2025 Mar 12
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -393,6 +393,7 @@ Vimは以下のイベントを認識する。イベント名が大文字か小
393393
|TabNew| 新しいタブページを作成した後
394394
|WinClosed| ウィンドウを閉じた後
395395
|TabClosed| タブページを閉じた後
396+
|TabClosedPre| タブページを閉じる前
396397
|WinEnter| 別のウィンドウに入った後
397398
|WinLeave| ウィンドウから離れる前
398399
|TabEnter| 別のタブページに入った後
@@ -1220,6 +1221,10 @@ Syntax オプション 'syntax' が設定されたとき。
12201221
|:syn-on| を参照。
12211222
*TabClosed*
12221223
TabClosed タブページを閉じた後。
1224+
*TabClosedPre*
1225+
TabClosedPre タブページを閉じる前。ウィンドウレイアウトが
1226+
ロックされ、ウィンドウのオープンおよびクローズ
1227+
が禁止される。
12231228
*TabEnter*
12241229
TabEnter タブページに入った直後 |tab-page|。WinEnterが
12251230
発生した後、BufEnterが発生する前。
@@ -1327,6 +1332,10 @@ TextYankPost カレントバッファでテキストがヤンクもしくは
13271332
び出された場合には発生しない。
13281333
バッファのテキストを変更することは許されていな
13291334
い、|textlock| を参照。 *E1064*
1335+
また、'guioptions' または 'clipboard'
1336+
"autoselect" が設定されているために、Vim がビ
1337+
ジュアル選択の所有者になろうとしたときにも間接
1338+
的にトリガーされる。
13301339
{+eval 機能付きでコンパイルされた場合のみ有効}
13311340

13321341
*User*

en/autocmd.txt

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 9.1. Last change: 2025 Mar 08
1+
*autocmd.txt* For Vim version 9.1. Last change: 2025 Mar 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -387,6 +387,7 @@ Name triggered by ~
387387
|TabNew| after creating a new tab page
388388
|WinClosed| after closing a window
389389
|TabClosed| after closing a tab page
390+
|TabClosedPre| before closing a tab page
390391
|WinEnter| after entering another window
391392
|WinLeave| before leaving a window
392393
|TabEnter| after entering another tab page
@@ -1232,6 +1233,10 @@ Syntax When the 'syntax' option has been set. The
12321233
See |:syn-on|.
12331234
*TabClosed*
12341235
TabClosed After closing a tab page.
1236+
*TabClosedPre*
1237+
TabClosedPre Before closing a tab page. The window layout
1238+
is locked, thus opening and closing of windows
1239+
is prohibited.
12351240
*TabEnter*
12361241
TabEnter Just after entering a tab page. |tab-page|
12371242
After triggering the WinEnter and before
@@ -1346,6 +1351,10 @@ TextYankPost After text has been yanked or deleted in the
13461351
called recursively.
13471352
It is not allowed to change the buffer text,
13481353
see |textlock|. *E1064*
1354+
Also triggered indirectly when Vim tries to
1355+
become owner of the Visual selection because
1356+
of setting "autoselect" for 'guioptions' or
1357+
'clipboard'.
13491358
{only when compiled with the +eval feature}
13501359

13511360
*User*

0 commit comments

Comments
 (0)