kien / ctrlp.vim

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

<F5>, :CtrlPClearCache, :CtrlPClearAllCaches don't do anything anymore #791

Closed coaxial closed 3 years ago

coaxial commented 3 years ago

Using the latest CtrlP version, when opening the list with , and then pressing , the list stays stale. Same thing when using the commands, the list doesnt get refreshed.

This used to work though and I can't see anything that I have changed about CtrlP on my end other than updating the plugin recently.

Tested on both nvim and vim.

coaxial commented 3 years ago

Ah, nevermind! I found the issue. I used let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files'] to hide files from .gitignore but it was messing with refreshing the list when new files were added to disk.