ctrlp.vim icon indicating copy to clipboard operation
ctrlp.vim copied to clipboard

Shows files that clearly don't match the pattern but doesn't show files that match

Open PavelPenkov opened this issue 10 years ago • 1 comments

When entering 'storage' in a project with 35K files CtrlP shows files like db/migrate/20120417071507_drop_constraint_on_user_id_on_order_changes.rb that clearly don't match the pattern, it also shows some files that match the pattern but doesn't show vendor/plugins/paperclip/lib/paperclip/storage.rb. It does show other files from this when matching pattern is entered.

PavelPenkov avatar Jan 29 '16 10:01 PavelPenkov

I think this is because it doesn't prioritize consecutive characters. What I saw was that it slowed down the search too much.

wsturgiss avatar Jan 25 '18 21:01 wsturgiss