John Little wrote:
On Oct 7, 4:20 pm, Ben Fritz<[email protected]> wrote:
I saw :help netrw-star and read that text to understand that netrw can
filter for files matching a pattern in a given directory.
But I cannot get it to work.
I tried<lots>
FWIW, with vim 7.3.322, netrw v142, on Kubuntu, I get broadly similar
weirdness. For example,
:Explore *//~/vim/*.vim
started editing ~/LargeFile.vba
?!
*//pattern files in the current directory which contain the pattern
(vimgrep is used)
So your pattern is "~/vim/*.vim"; ie. files which contain a string which
matches "~/vim/*.vim". That pattern looks a bit odd to me to be used
for string searching via vimgrep; it looks more like a path.
Unfortunately, what you're asking for isn't supported:
:Explore */filespec : does current directory matching to determine
which, if any, of the files in the _current_ directory match your filespec
:Explore **/filespec : searches the current directory and its
subdirectories for files which match your filespec
:Explore *//pattern : searches the current directory for files which
contain a match to the pattern
:Explore **//pattern : searches the current directory and its
subdirectories for files which contain a match to the pattern
Regards,
Chip Campbell
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php