ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.55k stars 260 forks source link

Improve CtrlP fuzzy finding results on large directories #601

Closed ydzhou closed 2 years ago

ydzhou commented 2 years ago

Issue: https://github.com/ctrlpvim/ctrlp.vim/issues/600

I find that for large directory, CtrlP is not ranking results with the best candidate. This causes by a limit on the number of files it will sort. It will not sort the first readout if limit is set and director has more than limit number of files. This PR is to set unlimit sorting by default but users can custom the limit value to improve CtrlP performance on large directory.

mattn commented 2 years ago

Thank you. I'll check this in later.

mattn commented 2 years ago

Okay, LGTM.

ydzhou commented 2 years ago

Thank you!