shithub: vdir

Download patch

ref: 1fb28675dbc5a1268b232782a508423010ea5823
parent: ff9b7eba5ff98f144d9bb251a7000942bf57d20a
author: phil9 <telephil9@gmail.com>
date: Thu Oct 7 14:42:46 EDT 2021

document path plumbing in README.md

	add an example plumb rule

--- a/README.md
+++ b/README.md
@@ -27,6 +27,17 @@
 Install with the usual ``mk install``  
 Run ``vdir [directory]``
 
+Path plumbing:
+--------------
+When right-clicking the path, the path name is sent to plumber.
+This can be used to open a window in the directory for instance:
+```
+src is vdir
+type is text
+arg isdir $data
+plumb start window -cd $data rc
+```
+
 Disclaimer:
 -----------
 This was a quick and dirty hack that sure contains some bugs.