It would be awesome if we could specify multiple directories where to search, for example
or even better with a *
Is there any workaround which would allow this?
it's not optimal but you could simulate most of this functionality using symlinks.
ln -s /path/to/app/foo/models foo-models
ln -s /path/to/app/bar/models bar-models
then just set g:ctrlp_follow_symlinks=1 in your vimrc.
I second the original request: having a way to search an arbitrary number of directories, without using symlinks, would be fantastic!
This would be great for scripting CtrlP to search specific directories.
+1 for this. I have a project with many files and folder. Would be much easier to search for files with this feature.
:+1 for the original request!
+1 for this or a global variable that allows setting a set of default directories in which to begin the search.
I'd love to see this too. What workarounds (except from symlinks) do people currently use to scope their search to only a selection of folders?
Alternatively, an option to search the default "path" variable that :find uses. Path allows you to append multiple directories with :set path+=/more/dirs/here/
@chris-lesage I like it