seagle0128 / doom-modeline

A fancy and fast mode-line inspired by minimalism design.
https://seagle0128.github.io/doom-modeline/
GNU General Public License v3.0
1.27k stars 157 forks source link

[Feature Request] new doom-modeline-buffer-file-name-style project-and-filename #718

Closed uqix closed 4 months ago

uqix commented 5 months ago

Is your feature request related to a problem? Please describe.

With truncate-with-project, the result is e.g. emacs/l/comint.el, some-proj/a/b/c/d/e/f/SomeFile.java, but I barely use those path abbreviation in the middle, I prefer not to display them and free up some space.

Describe the solution you'd like

Support a new style project-and-filename, the result would be emacs|comint.el some-proj|SomeFile.java.