Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

command-t not finding files

Tags:

vim

vim-plugin

I've recently installed command-t plugin on vim and started playing with it.

But now I feel that it fails finding some files.

For example: I have and inc folder and none of it's contents is listed when I hit <leader> t (and type inc or any filename inside that folder). Other files, in the main folder, aren't listed too.

I've tried flushing using CommandTFlush but no success.

Is there anything missing in my configuration? What can I try to get it working?

Edit: If I go inside inc folder (using :cd) the files are listed. Then, if I return to the parent folder (:cd ..), the same files are not listed any more.

like image 890
Ander2 Avatar asked Feb 28 '13 07:02

Ander2


1 Answers

I've set let g:CommandTMaxFiles=50000 in .vimrc and now it is working.

Looks like there was a problem with the max indexed file limit.

like image 189
Ander2 Avatar answered Oct 22 '22 16:10

Ander2