This commit is contained in:
Amber 2024-02-23 11:35:46 +01:00
parent 8a71cee126
commit e42c2b2517
1 changed files with 11 additions and 1 deletions

View File

@ -22,7 +22,7 @@ In my opinion the better solution is:<br />
vfind ~/nerd_tree/ "(.*)rem(.*)"
```
all items matching the pattern are show in the result tree.<br />
all items matching the pattern are show in the result tree: in this specific case any name containing **rem** substring<br />
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**.<br />
In a similar manner you can exclude paths with the option **-e**