Emacs' hl-line-mode is just what i need but i would like to change it's horrible yellow color, anyone know how can i do that?
To change the foreground or background color in Emacs through the windowing interface, you can use the menu commands Foreground Color->Other and Background Color->Other in the Edit->Text Properties menu.
I use (set-face-background hl-line-face "gray13")
.
here's what it looks like with a black background.
Very subtle. Mostly I notice it when moving the cursor, which is what I wanted.
If you want to see a display of all the various colors, try (list-colors-display)
. It will show a list of colors in a new buffer.
EDIT: heh heh, since I am getting upvoted for pretty pictures, here it is "live":
(ps: that animated gif was produced with the Cropper tool and the AnimatedGif plugin.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With