I want to run tmux
in emacs. I checked that it works in term
, but default colors are awfully hard to read:
How can they be changed to a sensible setting from .emacs
file?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communitySince in zenburn
theme terminal colors look good I added the following lines in my .emacs
:
(custom-set-faces
'(term-color-black ((t (:foreground "#3F3F3F" :background "#2B2B2B"))))
'(term-color-red ((t (:foreground "#AC7373" :background "#8C5353"))))
'(term-color-green ((t (:foreground "#7F9F7F" :background "#9FC59F"))))
'(term-color-yellow ((t (:foreground "#DFAF8F" :background "#9FC59F"))))
'(term-color-blue ((t (:foreground "#7CB8BB" :background "#4C7073"))))
'(term-color-magenta ((t (:foreground "#DC8CC3" :background "#CC9393"))))
'(term-color-cyan ((t (:foreground "#93E0E3" :background "#8CD0D3"))))
'(term-color-white ((t (:foreground "#DCDCCC" :background "#656555"))))
'(term-default-fg-color ((t (:inherit term-color-white))))
'(term-default-bg-color ((t (:inherit term-color-black))))
)
solarized
andzenburn
does changeterm
colurs, but my favoritewombat
theme does nothing to them. So it is possible to(load-theme 'zenburn) (load-theme 'wombat)
for changing to sensible term colors, but that also changes font in a way I don't like.