See the built-in buffer-face-mode
.
Emacs
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
it is possible! add a lambda to eat-mode-hook
which calls face-remap-add-relative
for default
and, optionally, fringe
faces. here's an example taken from my own dotfiles:
(add-hook
'eat-mode-hook
(lambda ()
(face-remap-add-relative
'default
:foreground "#ffffff"
:background "#000000")
(face-remap-add-relative
'fringe
:foreground "#ffffff"
:background "#000000")))
and here's what it looks like in practice: https://imgur.com/a/9gPCio5
Bingo! Thank you very much! Exactly what I was hoping for!
If I may… you might find it easier on the eyes to avoid true black and true white. Since we’re talking aesthetics… If you need high contrast, stick to those values. But most people find almost black and almost white looks more pleasing.
M-x set-background-color works for me.
Probably there's a way to automatically activate it when entering into Eat.
Same but for vterm