File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
- *autocmd.txt* For Vim バージョン 8.1 . Last change: 2019 Sep 16
1
+ *autocmd.txt* For Vim バージョン 8.2 . Last change: 2019 Dec 17
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -391,6 +391,7 @@ BufAdd or BufCreate バッファリストに追加されるバッファを作
391
391
か、バッファをバッファリストに追加した直後。
392
392
バッファリスト内のバッファがリネームされた直後
393
393
にも発生する。
394
+ 起動中に作成された初期バッファでは発生しない。
394
395
イベント BufCreate は歴史上の理由で存在してい
395
396
る。
396
397
NOTE: このイベントで自動コマンドが実行された
@@ -1273,8 +1274,8 @@ Note: パスの途中だけにマッチさせ、ルートディレクトリに
1273
1274
[^ch] は 'c' と 'h' 以外の文字にマッチ
1274
1275
1275
1276
'/' という文字は、全てのシステムでパスの区切り文字に使われることに注意すること
1276
- (MS-DOSとOS/2でさえも )。これは、パターン内でバックスラッシュを使うことが難しい
1277
- 上に 、別々のシステムでも自動コマンドが動作するようにするためである。
1277
+ (MS-Windowsでさえも )。これは、パターン内でバックスラッシュを使うことが難しい上
1278
+ に 、別々のシステムでも自動コマンドが動作するようにするためである。
1278
1279
1279
1280
| pattern | を使うことができる。上記の翻訳が行われているため、期待通りに機能しな
1280
1281
い可能性がある。
Original file line number Diff line number Diff line change 1
- *autocmd.txt* For Vim version 8.1 . Last change: 2019 Sep 16
1
+ *autocmd.txt* For Vim version 8.2 . Last change: 2019 Dec 17
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -387,6 +387,8 @@ BufAdd or BufCreate Just after creating a new buffer which is
387
387
to the buffer list.
388
388
Also used just after a buffer in the buffer
389
389
list has been renamed.
390
+ Not triggered for the initial buffers created
391
+ during startup.
390
392
The BufCreate event is for historic reasons.
391
393
NOTE: When this autocommand is executed, the
392
394
current buffer "%" may be different from the
@@ -1287,8 +1289,8 @@ The pattern is interpreted like mostly used in file names:
1287
1289
[^ch] match any character but 'c' and 'h'
1288
1290
1289
1291
Note that for all systems the '/' character is used for path separator (even
1290
- MS-DOS and OS/2 ). This was done because the backslash is difficult to use
1291
- in a pattern and to make the autocommands portable across different systems.
1292
+ for MS-Windows ). This was done because the backslash is difficult to use in a
1293
+ pattern and to make the autocommands portable across different systems.
1292
1294
1293
1295
It is possible to use | pattern | items, but they may not work as expected,
1294
1296
because of the translation done for the above.
You can’t perform that action at this time.
0 commit comments