Skip to content

Improve CtrlP fuzzy finding results on large directories#601

Merged
mattn merged 1 commit intoctrlpvim:masterfrom
ydzhou:master
Mar 23, 2022
Merged

Improve CtrlP fuzzy finding results on large directories#601
mattn merged 1 commit intoctrlpvim:masterfrom
ydzhou:master

Conversation

@ydzhou
Copy link
Copy Markdown

@ydzhou ydzhou commented Mar 23, 2022

Issue: #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
Copy link
Copy Markdown
Member

mattn commented Mar 23, 2022

Thank you. I'll check this in later.

@mattn
Copy link
Copy Markdown
Member

mattn commented Mar 23, 2022

Okay, LGTM.

@mattn mattn merged commit 40ee62e into ctrlpvim:master Mar 23, 2022
@ydzhou
Copy link
Copy Markdown
Author

ydzhou commented Mar 23, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants