≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1883

Bug #1883: Command-T does not find all the files

Kind bug
Product Command-T
When Created 2011-09-29T09:07:43Z, updated 2011-10-09T08:53:59Z
Status closed
Reporter anonymous
Tags no tags

Description

Hi, I have encountered some strange behavior with the Command-T plugin; somehow it skips certain folders. I'm using Zend Framework for PHP development and use a fairly standard directory structure:

  • /application/
  • /docs/
  • /library/
  • /public/
  • /scripts/
  • /tests/

It looks like Command-T skips the directories "scripts", "tests" and "public" when searching. I never have any matches in those folders, even though I know I should find files. My PWD is the parent folder of the dir structure above. Whenever I cd into one of the skipped folders, "public" for instance, Command-T can find files no problem.

The only thing those folders have in common, as far as I know, is that they are the last ones in the list. Might it have something to do with that? Maybe the library folder is too large (it is fairly huge)? Maybe some buffer somewhere is full and the last couple of folders are forgotten?

If you need more info about the directory structure I will gladly provide it. Thanks for an awesome plugin anyway!

Comments

  1. Greg Hurrell 2011-10-09T06:13:54Z

    From the symptoms you describe sounds like Command-T is hitting the file limit (10,000 files by default) before hitting the last few folders in your list.

    You can either up the limit (generally it makes sense to set it just above the number needed by the largest project you work on; in my case 30,000 works well) or tell it to ignore the library directory using the 'wildignore' setting.

    See :h command-t-options for help. The option you'll need is g:CommandTMaxFiles.

  2. Greg Hurrell 2011-10-09T06:14:45Z

    Status changed:

    • From: new
    • To: closed
  3. anonymous 2011-10-09T08:53:59Z

    Thanks so much! That worked perfectly :)

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets