Monday, 9 September 2013

The Command-T how to use current file own NERDTree bookmark as search directory?

The Command-T how to use current file own NERDTree bookmark as search
directory?

I like NERDTree and Command-T. So i want use Command-T search file for
current project. (I use NERDTree bookmark as project). Because the
Command-T use :CommandT to active search , and default is pwd. I want
change the to current file own NERDTree bookmark path.
Like this:
I have a bookmark called "TestProject" and the path is "~/testproject".
Now ,I'm writing file is "~/testproject/class/test.php", If use :CommandT
, I will get search directory is "~/testproject/class/" . But i want
search global project ("~/test/project"),and i don't want to type
:CommandT ~/testproject/ .
Thx!

No comments:

Post a Comment