Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:CtrlPMixed doesn't detect duplicates #314

Closed
timfeirg opened this issue Oct 13, 2016 · 2 comments · May be fixed by #370
Closed

:CtrlPMixed doesn't detect duplicates #314

timfeirg opened this issue Oct 13, 2016 · 2 comments · May be fixed by #370

Comments

@timfeirg
Copy link

When using :CtrlPMixed, results shows many duplicate files, while :CtrlP works fine

good

bad

I believe this issue emerged recently, but I haven't been able to determine the exact commit that causes this.

@mattn
Copy link
Member

mattn commented Jan 13, 2017

could you please how to repro.

@timfeirg
Copy link
Author

To reproduce, just open up vim with ctrlp loaded, and then use :CtrlPMixed and open up some files, do this for a few times, so that one of the files appears both in files and MRU, after this, :CtrlPMixed will show duplicate items @mattn

I tried to filter duplicates using a dictionary, but this method breaks the order of list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants