Suggestion: support opening files from multiple paths
-
anonymous
Certain repo structure is not single rooted. For example, src is in src/.../project1 and test in tests/.../project1.
It will be great if command-t can search in multiple paths. In the above example, it is possible to sart command-t in the root folder that contains both src/ and tests/. However, it works less well for larger repo with lots of unrelated projects. It not only slows things down, but also adds tons of noises and as a result, you will need to type much longer path to find the file you need.
Cheers.
-
Greg Hurrell
A couple of workarounds that you could use for now:
-
create a folder containing symlinks to the different
directories that you want to index;
:cd
into that folder before using Command-T -
use the
g:CommandTMaxCachedDirectories
(see the docs) to get Command-T to cache multiple directories; then use mappings to either:cd
among the directories or perhaps invoke:CommandT
with explicit path arguments
-
create a folder containing symlinks to the different
directories that you want to index;
-
anonymous
Great suggestion Wincent, I find symbolic link approach's working pretty fine.
Reply
This topic is now closed.