doomemacs/modules/ui/modeline
Henrik Lissner dc9841b192
ui/modeline: refactor path builder & add other styles
This brings +doom-modeline-buffer-file-name styles to the new modeline
module, controlled by the +modeline-buffer-path-function variable.

The available functions are:

* +modeline-file-path-with-project: project/src/lib/file.c
* +modeline-file-path-from-project: src/lib/file.c
* +modeline-file-path-truncated-with-project: project/s/l/file.c
* +modeline-file-path-truncated-upto-project: ~/w/project/src/lib/file.c
* +modeline-file-path-truncated-upto-project-root: ~/w/p/s/lib/file.c
* +modeline-file-path-truncated: ~/w/p/s/l/file.c
* +modeline-file-name: file.c

The default is file-path-with-project.
2018-08-22 22:36:44 +02:00
..
autoload Default modeline segments to :init 2018-08-01 01:47:45 +02:00
config.el ui/modeline: refactor path builder & add other styles 2018-08-22 22:36:44 +02:00
packages.el Polish & move new modeline into :ui modeline 2018-07-29 19:31:32 +02:00
README.org Polish & move new modeline into :ui modeline 2018-07-29 19:31:32 +02:00