aboutsummaryrefslogtreecommitdiff
path: root/docs/daffm.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/daffm.117
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/daffm.1 b/docs/daffm.1
index 25f26e8..200bb91 100644
--- a/docs/daffm.1
+++ b/docs/daffm.1
@@ -119,7 +119,7 @@ Same as shell but it adds a "Press any key to continue" prompt after the command
.SH COMMAND SUBSTITUIONS
-The following pattern (%,%d,%f,%s,%F,%S) are replaced with absolute paths
+The following pattern (%,%d,%f,%s,%F,%S,%0) are replaced with absolute paths
%: File under cursor
@@ -133,6 +133,21 @@ The following pattern (%,%d,%f,%s,%F,%S) are replaced with absolute paths
%F: Same as %S but if there are no selections, uses file under cursor
+%0: First path that was loaded when daffm was initialized
+
+
+
+.SH ENV VARIABLES
+In addition to substitutions, there are also some env variables available to access values those substitutions without escaping.
+
+$files: Same as %f but unescaped
+
+$selections: Same as %s but unescaped
+
+$init_path: Same as %0 but unescaped
+
+$cursor: Same as % but unescaped
+
.SH AUTHORS
Akshay Nair <phenax5@gmail.com>