Re: Passing Env Variables to Grep(as intended folders) search does not work under win32?
- Gary thank you for very detail follow up on this. It helped me to see
some of the issues.
You are right that I have set up the grepprg in my rc
"set grepprg=grep\ -niH"
grep -i random %INCLUDES%/*
:grep -i random \%INCLUDES\%/*
This way I am also able to use the Vim defined variables as env
variables. For example
:grep -i random \%INCLUDES1\%/*
I set my shell to "c:\cygwin\bin\bash" in Gvim
:grep -i random $INCLUDES/*
--works(because uses Cygwin grep) but then I cannot open the files in
the quick fix because they are all in Cygwin Unix paths--
Thanks again for all the help. This is going to be super helpful to
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