On Jul 12, 10:49 pm, Ben Fritz <[email protected]> wrote: > On Jul 12, 3:41 am, sinbad <[email protected]> wrote: > > > my top level directory has many files and folders of the order of > > thousands. so i don't think "find" might be such a good idea. > > btw, does it have an option to search recursively ? > > Please bottom-post on this list. > > You can search recursively if you set the 'path' option properly. > See :helpfile-searching. The same applies to the 'tags' option, the > glob() function, and probably some other things. > > I'd recommend trying it out to see how it impacts your performance, > though the ctags suggestion may also fit your needs. > > If you do add a lot of directories to your path (or really deep > recursive searches) you'll probably want to remove the 'i' and 'd' > flags from your 'complete' option. Otherwise it will search for every > includedfilein your path and then search the text of each of those > files whenever you start basic insert-mode completion which can make > it take a LOT longer. Probably setting your path to a very narrow tree > based on the project a certainfileis in is the way around this one, > but I haven't bothered myself to try it. I use tag completion far more > often than completion from included files anyway.
as there are so many files, i want to be able do the partial search and display the possible matching entries. with tags it doesn't seem to be possible. and adding the dirctories recursively to vim might take long time for the search. is there anyother better way of doing this than the one mentioned in my original post. 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
