diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-27 20:37:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-27 20:37:57 +0200 |
commit | 00aa069db8132851a91cfc5ca7f58ef945c75c73 (patch) | |
tree | 54e88e9f1c4a981eb265015eabdc2cde2931cc5e /runtime/doc/autocmd.txt | |
parent | 2155a6abaa5d065ad7b580229321860591126f2e (diff) | |
download | vim-git-00aa069db8132851a91cfc5ca7f58ef945c75c73.tar.gz |
patch 8.1.1218: cannot set a directory for a tab pagev8.1.1218
Problem: Cannot set a directory for a tab page.
Solution: Add the tab-local directory. (Yegappan Lakshmanan, closes #4212)
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r-- | runtime/doc/autocmd.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index edd1f54f2..5d60fbeea 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/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 <afile> is set to the new directory name. *ExitPre* ExitPre When using `:quit`, `:wq` in a way it makes |