> I have trouble forcing Vim to use findstr /N as grepprg on Windows. I don't
> know what tricks does Vim do under the hood, but my grepprg is set to 'grep
> -nH $*' by default. However, while I do have a copy of grep in my path, it
> doesn't support the '-H' option.
>
> I then put 'set grepprg=findstr\ /N' in my path. But I still got 'grep -nH
> $*' then vim is brough up.
What do you mean you put `set grepprg=findstr\ /N' in your path? It
should go in your vimrc if you want 'grepprg' to be set automatically
each time you start Vim.
Brett S.
>
> Why???
>
--
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