Monday, June 6, 2011

Setting up an "includes" directory for easy grep access?

Hi

I would like to use grep to seach multiple folders within Vim. I want
to define bunch of folders under a common variable and let grep search
those when I fire the grep command. For example "grep -i cvcapture
$INCLUDES". I can create a single command with all those folders in
the same grep command but I want it to be easy to maintain because I
use Vim on Linux, Win and Cygwin.

I have tried Ctags, Cscope and Gnu Globals and they ended up making my
life more complicated(due to static tag files and cross platform
issues mostly) so i figure using grep for searching bunch of include
folders is easier when I try to code


thanks

--
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