You are not logged in.
followed this guide (along with several others)
https://bbs.archlinux.org/viewtopic.php?pid=1370032
perl script tested, passed
http://robotsrule.us/vim/
echo $TERM
xterm-256color
tput colors
256
~/.vimrc
set t_Co=256
syntax on
~/.bashrc
if [ -e /usr/share/terminfo/x/xterm-256color ] && [ "$COLORTERM" == "xfce4-terminal" ]; then
export TERM=xterm-256color
fi
# [[ -n "$DISPLAY" && "$TERM" = "xterm" ]] && export TERM=xterm-256color
and
for ((x=0; x<=255; x++));do echo -e "${x}:\033[48;5;${x}mcolor\033[000m";done
outputs fancy colors
in spite of all the above, my vim colorschemes are still ugly. is there anyone who has successfully managed to set up vim colorschemes with xfce4-terminal? is this even possible to use those 256 colorschemes in terminal or they are gvim exclusives? i really don't know anymore. plz help, thanks
Last edited by wootsgoinon (2014-02-05 19:45:02)
Offline
Have you set a colorscheme? I use in ~/.vimrc:
if &term == "gnome-256color" || &term == "xterm-256color"
set t_Co=256
set background=dark
colorscheme tir_black
else
set t_Co=8
colorscheme wuye
endif
Offline
yea, i usually cycle through colorschemes in vim itselft (tested a lot already)
Offline
Hey men,
I'm sure you already try that, but I just put that in my ~/.bashrc and it worked :
if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then
export TERM=xterm-256color
fi
Offline
The correct way to do that is in your .Xresources:
xterm*termName: xterm-256color
Offline