> Hello everybody,
>
> When I use :grep, I was confused that why I can't jump to the file from the
> quickfix list. For example, when I use ":grep aaa *", I get the
> following result:
>
> || 29: " "aaa.bbb" load "aaa" and then "bbb".
> || 25: " "aaa.bbb" load "indent/aaa.vim" and then "indent/bbb.vim".
> || Binary file libiconv2.dll matches
> || Binary file python26.dll matches
THere are two components which must fit:
echo &grepprg (the command producing the output)
echo &grepformat (the format parsing the grep locations)
my grepprg is grep -n $* /dev/null
my grepformat is %f:%l:%m,%f:%l%m,%f %l%m
which work nicely with gnu grep.
Your output does not seem to include a filename (?).
Marc Weber
--
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
No comments:
Post a Comment