3
How do I enable 256 color support for VIM in the Fedora 17 terminal?
My .bashrc:
1 # .bashrc
2
3 # Makes terminal default 256 Colors Include these lines in .bashrc
4
5 export TERM=xterm-256color
6
7 # User specific aliases and functions
8
9 alias rm='rm -i'
10 alias cp='cp -i'
11 alias mv='mv -i'
12
13 # Source global definitions
14 if [ -f /etc/bashrc ]; then
15 . /etc/bashrc
16 fi
17
Tput colors return 8, I am using 256 jellybeans for vim color, it changes some of the colors, but does not nearly work as shown in the screenshot (due to the fact the terminal only supports 8 colors)
Thanks in advance.
1The TERM environment variable is only informative. It tells Apps what terminal you are currently using. It doesn't change the behaviour of the terminal. The terminal sets it to what it should be. You don't usually change it. Just make sure you are using a terminal with 256 color support first. – Keith – 2012-12-26T01:44:14.967
This belongs on SuperUser or Unix & Linux. – CodeGnome – 2012-12-29T18:14:14.810