jeetsukumaran / vim-buffergator

Vim plugin to list, select and switch between buffers.
499 stars 49 forks source link

[Feature Request] abbreviated folder structure along with the filename #74

Open silasb opened 8 years ago

silasb commented 8 years ago

I've been doing a lot of React/Redux which has very similar filenames spread across different folders. The issue is that I can't visually tell which file the folder is in without doing extra work.

It would be nice if we can see an abbreviated folder structure along with the filename. Example below.

21]>    c/P/Paginator.js
15]>    c/C/c/PaginatorContainer.js

c/P/Paginator.js => components/Paginator/Paginator.js c/C/c/PaginatorContainer.js => components/Cards/containers/PaginatorContainer.js

Thoughts?

jeetsukumaran commented 8 years ago

Will the basename option not work? It displays the basename, but then the relative path in parenthesis after that.

silasb commented 8 years ago

I think that may work. I ended up switching to full screen Buffergator to get more screen real estate, but in default mode it wouldn't really work because how narrow the pane is.

It would still be a nice feature to have though.

jeetsukumaran commented 8 years ago

Possibly. But honestly, I cannot commit to having any time in the near future to work on it. I'll keep it on the to-do list, however. And, of course, I'll happily welcome any PR that does it!