-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Problem
I'm using the "global" statusline ('laststatus' set to 3) so if I have several buffers open, I rely on dropbar's path source to identify which file is open on non-current windows. I also have the path's max depth set as 1 to maximize the room available for treesitter/LSP/etc. The trouble is that if 2 open files have the same name but are located in different directories, dropbar will just show the same names in this case. I could increase the max depth setting but this feels unsatisfactory as in most cases, the extra depth would not be needed to disambiguate buffers.
Expected behavior
It would be neat if either the path source could be modified (or a new source could be created) to support a "unique paths" setting. If used, dropbar would increase the path depth for visible windows that would otherwise display the same path, until all such paths are unique (unless the buffers are for the same file, of course). Portions of the displayed path may be truncated or omitted depending on a max depth setting. Only the buffers where dropbar is enabled needs to be examined for uniqueness.