I am using perl.
When I press gf
while having the cursor on Testcase, it shows
E447: Can't find file "Testcase.pm" in path.
So I added that path.
It works for files under particular path which are set in :set path
. I have several libraries under subdirectories of lib folder. /project/tester/userid/SCOPE/infra/lib
is the path.
But when I give all the paths, gf
is able to find it. Is there a way to include all subdirectories of a path recursively or making it work for all subdirectories even with the given path?
This will help me to go to any library file without needing to know the path or greping every time. There are more than 100 such files.
EDIT:
Setting like set path=$PROJ/lib/**
doesn't work in .vimrc and plugins too. But when I give this command in current script file, it works. My .vimrc is under /home/userid