dbordak / telephone-line

A new implementation of Powerline for Emacs
GNU General Public License v3.0
550 stars 51 forks source link

Two small segments - buffer name and modified state #93

Closed sebasmonia closed 5 years ago

sebasmonia commented 5 years ago

Out of the usual buffer indicator I care the most about these two only, and rarely about encoding, line endings, etc.

I also thought of having buffer modified one changing colors? Or showing an icon like spaceline + spaceline-all-the-icons did, but didn't get as far. Actually, I had an implementation that took &optional parameters for the characters and couldn't get it working.

But before spending more time on it, I wanted to know if you saw any value in these. They are simple enough that anyone could come up with their own two-liner implementation. Maybe if the modified indicator switched colors, it would give more value.

Thoughts?

dbordak commented 5 years ago

Yeah, I actually keep a buffer name only segment locally, didn't think it'd be something other people would want, though.