From be339f0ec7b3035cafe95bf77ce1317f445095c8 Mon Sep 17 00:00:00 2001 From: hiromi-mi Date: Tue, 30 Apr 2019 23:53:48 +0900 Subject: [PATCH] Update autocmd.{txt,jax} --- doc/autocmd.jax | 17 +++++++++-------- en/autocmd.txt | 15 ++++++++------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/doc/autocmd.jax b/doc/autocmd.jax index 1090ded20..a08794251 100644 --- a/doc/autocmd.jax +++ b/doc/autocmd.jax @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim バージョン 8.1. Last change: 2019 Apr 08 +*autocmd.txt* For Vim バージョン 8.1. Last change: 2019 Apr 27 VIMリファレンスマニュアル by Bram Moolenaar @@ -694,14 +694,15 @@ DiffUpdated 差分が更新された後。使用されているdiffコマン の種類(内部または外部)に応じて、変更毎か |:diffupdate| 実行時に発生する。 *DirChanged* -DirChanged |:cd| もしくは |:lcd| コマンドによって、もしく - は 'autochdir' オプションの結果として作業ディ - レクトリが変更された後。 +DirChanged |:cd|, |:tcd| もしくは |:lcd| コマンドによって、 + もしくは 'autochdir' オプションの結果として作業 + ディレクトリが変更された後。 パターンは以下のようになる: - "window" `:lcd` により発生する - "global" `:cd` により発生する - "auto" 'autochdir' により発生する - "drop" ファイルの編集により発生する + "window" `:lcd` により発生する + "tabpage" `:tcd` により発生する + "global" `:cd` により発生する + "auto" 'autochdir' により発生する + "drop" ファイルの編集により発生する は新ディレクトリ名に設定される。 *ExitPre* ExitPre Vim を終了させる `:quit`, `:wq` もしくは diff --git a/en/autocmd.txt b/en/autocmd.txt index edd1f54f2..5d60fbeea 100644 --- a/en/autocmd.txt +++ b/en/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 8.1. Last change: 2019 Apr 08 +*autocmd.txt* For Vim version 8.1. Last change: 2019 Apr 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -690,13 +690,14 @@ DiffUpdated After diffs have been updated. Depending on change or when doing |:diffupdate|. *DirChanged* DirChanged The working directory has changed in response - to the |:cd| or |:lcd| commands, or as a - result of the 'autochdir' option. + to the |:cd| or |:tcd| or |:lcd| commands, or + as a result of the 'autochdir' option. The pattern can be: - "window" to trigger on `:lcd` - "global" to trigger on `:cd` - "auto" to trigger on 'autochdir'. - "drop" to trigger on editing a file + "window" to trigger on `:lcd` + "tabpage" to trigger on `:tcd` + "global" to trigger on `:cd` + "auto" to trigger on 'autochdir'. + "drop" to trigger on editing a file is set to the new directory name. *ExitPre* ExitPre When using `:quit`, `:wq` in a way it makes