Peng Yu <[EMAIL PROTECTED]> said: > Hi, > > 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. > > I want to do the search in vim. And vim should give me a list of all > the occurrences of the searched word. Then I can select any item from > the list to view it context. > > The function that I want is somehow similar to :tselect, but they are > not the same. I'm wondering if somebody has the solution. >
You may want to check out the 'tags' feature also. :he tags. You will need exuberant-ctags from ctags.sf.net. -Ryan