I have written a new plugin, buffer-by-name.kak. The plugin offers a command,
:buffer-by-name as an opinionated alternative to the kakoune built in command
:buffer. The difference is that
:buffer-by-name generally takes a buffer name whereas
:buffer takes a relative or absolute buffer path. Because of this difference,
:buffer-by-name offers a more streamlined experience for switching between buffers as long as their directory names are not particularly important.
As the screenshot also demonstrates, in cases where buffer names are ambiguous,
:buffer-by-name shows buffers in the format
name(directory). In this format,
directory consists of the least number of directory path components that are needed to disambiguate the buffer from other buffers having the same name.
While this plugin has been designed to suit my tastes, I hope that some of you find it useful as well!