aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/autocmd.txt
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2017-01-16 13:36:16 +0100
committerGitHub <noreply@github.com>2017-01-16 13:36:16 +0100
commit340f79b4b8f1021f4a3b88265ced2ce39d0e2e03 (patch)
tree71509fab0581f8454272493e38fd0018a32c3c5f /runtime/doc/autocmd.txt
parentfa94c4c2d917b70df443ba0ebcd87da35dc1bb30 (diff)
parent1f7a119f5efc13fbce6446bf268c2e0f9d753147 (diff)
downloadrneovim-340f79b4b8f1021f4a3b88265ced2ce39d0e2e03.tar.gz
rneovim-340f79b4b8f1021f4a3b88265ced2ce39d0e2e03.tar.bz2
rneovim-340f79b4b8f1021f4a3b88265ced2ce39d0e2e03.zip
Merge #5928 'New event: DirChanged'
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r--runtime/doc/autocmd.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index e99b7ab8b4..320c821f21 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -273,6 +273,8 @@ Name triggered by ~
|VimLeave| before exiting Vim, after writing the shada file
Various
+|DirChanged| When the current working directory changed.
+
|FileChangedShell| Vim notices that a file changed since editing started
|FileChangedShellPost| After handling a file changed since editing started
|FileChangedRO| before making the first change to a read-only file
@@ -563,6 +565,16 @@ CursorMoved After the cursor was moved in Normal or Visual
CursorMovedI After the cursor was moved in Insert mode.
Not triggered when the popup menu is visible.
Otherwise the same as CursorMoved.
+ *DirChanged*
+DirChanged When the current working directory was changed
+ using the |:cd| family of commands,
+ |nvim_set_current_dir()|, or on 'autochdir'.
+ The pattern must be * because its meaning may
+ change in the future.
+ It sets these |v:event| keys:
+ cwd: String (current working directory)
+ scope: String ("global", "tab", "window")
+ Recursion is ignored.
*FileAppendCmd*
FileAppendCmd Before appending to a file. Should do the
appending to the file. Use the '[ and ']