malxau / yori

Yori is a CMD replacement shell that supports backquotes, job control, and improves tab completion, file matching, aliases, command history, and more.
http://www.malsmith.net/yori/
MIT License
1.23k stars 30 forks source link

Change color scheme in text editor? #126

Open stianhoiland opened 4 weeks ago

stianhoiland commented 4 weeks ago

edit was one of the reasons I installed Yori, and I love the OG retro look!

But I run my own "no blue" color themes in almost everything I use, and edit really blasts my retinas. So, is there any way to easily change the bg and fg in edit?

malxau commented 3 weeks ago

I always wanted to make this more configurable, but never found a good way to expose it.

Commit e1abfcab0f5c5853e721e7e5c207ba87fe5d0173 allows launching edit with “-b” to get a 4 color black-and-white view. This seems similar to the original edit. There’s currently no way to configure it at runtime (I’d need to add some redraw code to change it on the fly.)

stianhoiland commented 3 weeks ago

Nice! -b will do for now, at least saving my eyes. In the future, more customization would be great, so that I can use my lovely acme-inspired color theme also in yedit :)

EDIT

Inspiration