Skip to content

Commit 551bf28

Browse files
committed
Update autocmd.{txt,jax}
1 parent 8d00e74 commit 551bf28

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

doc/autocmd.jax

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim バージョン 9.1. Last change: 2024 Dec 04
1+
*autocmd.txt* For Vim バージョン 9.1. Last change: 2025 Feb 08
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1969,6 +1969,10 @@ BufReadCmd に対して自動コマンドを定義すると、クラッシュし
19691969
期しない振るまいを引き起こす可能性がある。|:finally|つきの|:try|ブロックを使っ
19701970
て後で 'eventignore' を元に戻すようにすること。
19711971

1972+
特定のウィンドウで autocmds を無期限に無効にするには、'eventignorewin' オプショ
1973+
ンを使用する。これは、ウィンドウとバッファ関連のイベントを無視する場合にのみ使
1974+
用できる。
1975+
19721976
*:noautocmd* *:noa*
19731977
1つのコマンドを実行する間だけ自動コマンドを無効にするには修飾子 ":noautocmd"
19741978
を使う。これは後に続くコマンドを実行する間だけ、'eventignore' を "all" にセッ

en/autocmd.txt

Lines changed: 4 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: 2024 Dec 04
1+
*autocmd.txt* For Vim version 9.1. Last change: 2025 Feb 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1992,6 +1992,9 @@ To disable autocommands for some time use the 'eventignore' option. Note that
19921992
this may cause unexpected behavior, make sure you restore 'eventignore'
19931993
afterwards, using a |:try| block with |:finally|.
19941994

1995+
To disable autocmds indefinitely in a specific window use the 'eventignorewin'
1996+
option. This can only be used to ignore window and buffer related events.
1997+
19951998
*:noautocmd* *:noa*
19961999
To disable autocommands for just one command use the ":noautocmd" command
19972000
modifier. This will set 'eventignore' to "all" for the duration of the

0 commit comments

Comments
 (0)