summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-07-01 21:31:17 +1000
committerMaxime Coste <mawww@kakoune.org>2024-07-01 21:31:17 +1000
commite0bbd1e7ca7b96531671682bc63c5ee94d1fbc85 (patch)
treeb7e8663772465742df982ad4338d043ff3ffc158 /doc
parent8ca7b5815ae165105aef102427fa33dee6b540f6 (diff)
parent0a1061278616bf5f8282af6366228ebf74cb5346 (diff)
Merge remote-tracking branch 'PJungkamp/directory-changed'
Diffstat (limited to 'doc')
-rw-r--r--doc/pages/hooks.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/pages/hooks.asciidoc b/doc/pages/hooks.asciidoc
index 8d339d9d..67311868 100644
--- a/doc/pages/hooks.asciidoc
+++ b/doc/pages/hooks.asciidoc
@@ -147,6 +147,11 @@ name. Hooks with no description will always use an empty string.
*SessionRenamed* `<old name>:<new name>`::
executed when a session is renamed using the `rename-session` command
+*EnterDirectory* `path`::
+ executed on startup and when the current working directory is changed
+ using the `change-directory` command. The hook param is an absolute path
+ to the new working directory.
+
*RuntimeError* `error message`::
an error was encountered while executing a user command