Commit Graph

4 Commits

Author SHA1 Message Date
9abafcf74a Rename def-modeline! -> def-modeline-format!
As to differentiate it from the old def-modeline! macro. This only
affects users of the +new modeline.
2018-07-29 17:41:55 +02:00
ba4d72713a Don't set mode-line if format doesn't exist 2018-07-10 21:48:52 +02:00
0cd32b5f1d Add selection info segment to new modeline 2018-07-10 21:48:32 +02:00
f5e8c72bb6 Add experimental modeline (disabled by default)
This mode-line may have bugs and its implementation details are certain
to change (it doesn't follow naming conventions, for instance). It also
doesn't have all the features of the old modeline (yet).

However, it is easily twice as fast as the original, and a little more
flexible, what with the `mode-line-format-left' and
`mode-line-format-right' variables. It also exposes a more powerful API
for defining modelines and modeline segments (and switching between
them).

It is disabled by default and must be activated with the +new module
flag on the ui/doom-modeline module.
2018-07-04 17:49:44 +02:00