Error when pattern search in netrw

304 views Asked by At

When I do :Explore //** searchingforthis I get this error:

E132: Function call depth is higher than 'maxfuncdepth'

Anyone knows why? Btw, //** do a grep in the netrw dir and let you step through the files where the pattern were found.

I'm using ag instead of grep.

1

There are 1 answers

2
romainl On BEST ANSWER

Netrw is not a very good tool for what you seem to be trying to do.

If you are trying to recursively find all files in the current directory that contain foo, try :grep or :vimgrep:

:grep foo **/* | cw
:vim bar **/* | cw