kien / ctrlp.vim

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

fails to find my 20vars fragment file #773

Open msoulier opened 5 years ago

msoulier commented 5 years ago

I have a file at root/etc/e-smith/templates/etc/e-smith/web/django/teleworker/settings.py/20vars that used to be findable but now is not. It does not show up in search results at all.

benyaminl commented 4 years ago

I also have this problem, does it only index 2 or 3 directory below it? Thanks

EDIT: After playing with some configuration I add the configuration on init.vim /.vimrc https://ctrlpvim.github.io/ctrlp.vim/

let g:ctrlp_user_command = 'find %s -type f'        " MacOSX/Linux
let g:ctrlp_working_path_mode = 'cra'

and it works, if you're annoyed by the .git then add

let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'

For Ctrlp custom ignore, I have no luck, my .git folder still indexed so yeah..