* Peng Yu [2007.02.22 11:15]: > I have a C++ project in some dir say "project" > or its subdir. Although I can use find and grep > outside vim to search for any word in "project". > But this is not very convenient.
Well you can use an external grep from within vim. One advantage is that it's relatively fast and you can use the quickfix window. An inconvenient is that you can't use vim regex. :h grep :h grepprg If you have vim 7, then you can use vimgrep. :h vimgrep If your project is large, you could also use an indexing program like "glimpse". See http://www.vim.org/tips/tip.php?tip_id=1021 -- JR