I opened my rails project in MacVim using:
cd ~/development/book-examples/agile_web_dev_rails/worked_examples/depot
mvim .
I'm trying to use Command-T to find ./test/fixtures/products.yml; however, I'm having no success. The screenshot below shows that:
./test/fixtures/products.ymltest/ into Command-T doesn't even show the fixtures directoryAny thoughts on why fixtures/products.yml isn't found by Command-T?

If I open just the test directory in MacVim instead of the entire Rails project using:
cd ~/development/book-examples/agile_web_dev_rails/worked_examples/depot/test
mvim .
Then, Command-T is able to find fixtures/products.yml.
The reason is that you have lots of files in the directory you are in. By default plugin reads 10 000 files. You can change this value in your .vimrc:
let CommandTMaxFiles = 20000
It's useful if you work on project which contains tons of files (like Rails).
However it's always better to set current dir within VIM with :cd command to make plugin work faster.
You can check where you are with :pwd command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With