Is there a way to search files with netrw similar to find command in linux?
So in command line I can do
find . -name "pattern"
Is there something similar in netrw?
Is there a way to search files with netrw similar to find command in linux?
So in command line I can do
find . -name "pattern"
Is there something similar in netrw?
You have plugins to do so :
Or you can do by hand :
With a unix command from vim :
:!find . -name "pattern"
With the Explore command :
:Explore pattern
Based on this post this function is available through the netrw.vim file.
ag with it : https://github.com/ggreer/the_silver_searcher
– nobe4
Aug 28 '15 at 08:42
Yes -- seems you have a number of people answering who don't use gvim because such search support is easily seen under the netrw menu. So, look at :help netrw-star . In particular, :Explore */pattern .
find . -name "pattern"on its own would be just as pointless in Vim as in your shell. You want to find files, OK, but what do you want to do with the result? – romainl Aug 28 '15 at 08:20:.!find . -type f -name "patern"in an empty buffer and then usegfon each entry. – Vitor Aug 28 '15 at 17:34