Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update autocmd.{txt,jax} #523

Merged
merged 1 commit into from
May 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions doc/autocmd.jax
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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" ファイルの編集により発生する
<afile> は新ディレクトリ名に設定される。
*ExitPre*
ExitPre Vim を終了させる `:quit`, `:wq` もしくは
Expand Down
15 changes: 8 additions & 7 deletions en/autocmd.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
<afile> is set to the new directory name.
*ExitPre*
ExitPre When using `:quit`, `:wq` in a way it makes
Expand Down