kien / ctrlp.vim

Fuzzy file, buffer, mru, tag, etc finder.
kien.github.com/ctrlp.vim
7.26k stars 676 forks source link

ctrlp_custom_ignore to ignore subdirectories but not files #627

Open huangww opened 9 years ago

huangww commented 9 years ago

I want to set ctrlp_custom_ignore to ignore the subdirectories of one directory but not files in this directory, e.g. I have a directory data, I want ignore subdirectories data/data1 data/data2 but not the files like data/mydata.dat in it I use the option image it doesnot work for me. However, if I use image it can ignore the whole data directory correctly, but it is not what I want. Anyone helps me, thanks in advance.