powerline
powerline copied to clipboard
A switching modeline
One of the things I've always really wanted to see from an Emacs powerline implementation was to actually change when you switched evil states, providing different colors and altering when you switched around.
I've started hacking together a theme that can do this, and was wondering if this would be something that the main repo would be interested in having.
I have no issues integrating some functionality like this. It'd be good to setup a pull request to talk about how you're implementing it.
I'll do that once I'm more comfortable with the implementation and it's a bit more complete. Right now it's a little weird, and I've made some other customizations in my fork that I'll need to filter out for a PR.
@toroidal-code Really nice work !
I would love to see this theme merged upstream, I added it as a layer in develop branch of spacemacs and it works out of the box so I think you can submit a PR.
There is one flaw in the current implementation though, a state named iedit-insert
including -
is not handled properly, I quickly patched the file in spacemacs layer but I will be happy to work on a clean fix once your theme is merged upstream.
Regarding the reference to this issue, I'm a little confused about the whole 'faces that seem to be fairly independent of anything else' statement in #85
My biggest qualm with merging this as it is is that it adds a bunch of dynamically generated faces when the theme is opened for the first time each session, and quite a few that are currently unused since they've been ripped right out of the original powerline color-scheme and have no emacs equivalent. (ctrlp, gundo, etc.)
So I was just wondering what was meant when it was said that something closer to this solution would work better. Sorry for the confusion!