summaryrefslogtreecommitdiffstats
path: root/documentation.md
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2019-02-13 21:05:22 +0100
committerCanop <cano.petrole@gmail.com>2019-02-13 21:05:22 +0100
commit51661a79b1735b3c9f760a1c5adbdfb525450c48 (patch)
tree2cc9d35445a70522dc740e8860dbe564856a71ce /documentation.md
parent19b9dfea20ae2702d2d83e8175b11e239686a4e0 (diff)
more explanation in documentation about `{file}` and `{directory}`
Diffstat (limited to 'documentation.md')
-rw-r--r--documentation.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/documentation.md b/documentation.md
index 6ee58b4..99a1c04 100644
--- a/documentation.md
+++ b/documentation.md
@@ -56,6 +56,10 @@ If you want your command to be executed from the parent shell, add this to the v
from_shell = true
+You may also use `{directory}` in your execution pattern: it would refer to the closest directory: either the selected file if it's a directory, or else the parent directory.
+
+When you're on the help screen, some verbs can still be applied. `{file}` is then the configuration file and `{directory}` the configuration directory.
+
Most verbs aren't based on an external application but call internal functions:
### `:back` : get back to the previous state of the tree