On 26/05/14 03:18, Jean-Rene David wrote:
> * Mark Volkmann [2014.05.25 20:44]:
>> When I run this:
>> :grep some-word **/*.js
>> it outputs lots of matches.
>> Then I run this:
>> :copen
>> and there is nothing in the quickfix list.
>> Isn't the grep command supposed to populate that?
>> Any ideas what I might be doing wrong?
>> I have not modified the grepprg or grepformat options.
>
> The most likely error is that grepformat doesn't
> match the output that you get. But you're not
> giving us much to go on.
>
> Can you perhaps show us what one line of output
> looks like?
>
> And while you're at it, can you show us the values
> of grepprg and grepformat, just to be sure?
>
Or you might try using :vimgrep (q.v.) instead of :grep, unless your
*.js files are too big for Vim's memory space.
Best regards,
Tony.
--
Some people live life in the fast lane. You're in oncoming traffic.
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment