Age | Commit message (Collapse) | Author |
|
mode line
|
|
Use new namespace, move evil-state mode-line generation to personal
configuration and add (mode-line-selected-window-p) checks to hide the
left and right segment when they're not the focused window.
|
|
New namespace that's tiny bit less verbose, and refactor on padding
generation to stop repeating myself.
|
|
|
|
(window-width) cares about margins which isn't nice for padding
computations, so I made a function for computing padding sizes
including margins.
|
|
Using left, centre and right segments generates a mode line with
padded strings that actually achieves this.
|