Open darthdeus opened 11 years ago
it's not optimal but you could simulate most of this functionality using symlinks.
Can you be more specific? Do you mean symlinking app/assets/javascripts/foo/models
under app/assets/javascripts/models/foo
and app/assets/javascripts/bar/models
under app/assets/javascripts/models/bar
?
as in:
mkdir ~/dev
cd ~/dev
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?
+1 !
+1 !
+1
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
+1
+
Can't wait to find this implementation! :) +1
+2
+1
+1
Please add the support.
Similarly, please add support for multiple directories for :CtrlPDir, eg:
On Windows, :CtrlPDir c:\aaa d:\bbb e:\ccc On Linux/Mac :CtrlPDir /aaa /bbb /ccc
They are very useful!
Reminder, this project is unmaintained. We should probably re-open this over at https://github.com/ctrlpvim/ctrlp.vim.
Thanks. I created a new request in that repro https://github.com/ctrlpvim/ctrlp.vim/issues/436 ^_^
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?