Commit graph

3 commits

Author SHA1 Message Date
Henrik Lissner
ba4d72713a
Don't set mode-line if format doesn't exist 2018-07-10 21:48:52 +02:00
Henrik Lissner
0cd32b5f1d
Add selection info segment to new modeline 2018-07-10 21:48:32 +02:00
Henrik Lissner
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