From e42c2b251734c8fe41654a64cfc406396dedf432 Mon Sep 17 00:00:00 2001 From: Amber Date: Fri, 23 Feb 2024 11:35:46 +0100 Subject: [PATCH] Guide --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b87ff33..869c59d 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ In my opinion the better solution is:
vfind ~/nerd_tree/ "(.*)rem(.*)" ``` -all items matching the pattern are show in the result tree.
+all items matching the pattern are show in the result tree: in this specific case any name containing **rem** substring
You can use as pattern any valid regular expression, for example pattern as this ``` @@ -36,4 +36,14 @@ If you want to show the subtree expanded you can use the flag **-s** vfind ~/nerd_tree/ "(.*)rem(.*)" -s ``` +## Include/Exclude path +You can include a set of results selecting specific branch (or paths) with the option **-i** (include). +For example: + +``` +vfind ~/nerd_tree/ "(.*)py" -i src +``` + +include the results that along the path have the name **src**.
+In a similar manner you can exclude paths with the option **-e**