kien / ctrlp.vim

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

Fuzzy search and prioritizing files in the same directory as the current buffer #760

Open lumio opened 6 years ago

lumio commented 6 years ago

Hi,

I was wondering if it is possible to prioritize the result of the fuzzy search. Often I find myself in the situation where I need to change a file within the same directory of the current buffer. However, when searching for a file it usually starts on the project root.

I haven't found an option in the docs (or I missed it) so I wonder if there is an extension that solves this?

Thanks