kien / ctrlp.vim

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

Option to display full file path rather than buffer name. #786

Open kevincox opened 4 years ago

kevincox commented 4 years ago

Right now I find that there is a confusing inconsistency between file search and buffer search. When doing file search it displays the paths of the files, however in buffer search it only displays the buffer name (when is usually the file name without path). It then shows the path to the right. This is confusingly the opposite of file mode were the path is on the left and the file is on the right.

Would it be possible to have an option such that buffer mode reflects file mode more. Basically show the file path identically to file mode if it is associated with a file, otherwise just include the buffer name.

I'm sure that you can argue that I am not "vim minded enough" but I think of things more in terms of files rather than buffers that happen to be associated with files, so having these two modes work the same would be much simpler for me.