Ads by Google

Wednesday, February 25, 2009

Setting term mode colours

For those of you using term mode in Emacs, this suggestion here might be useful if you want to tinker with the colour scheme.

Basically you need to hook the following into term mode as mentioned in the thread.

;; Redefine the 8 primary terminal colors to look good against black
(setq ansi-term-color-vector
[unspecified "#000000" "#963F3C" "#5FFB65" "#FFFD65"
"#0082FF" "#FF2180" "#57DCDB" "#FFFFFF"]))

The colour sequences are of course in hex.

No comments: