vim colors

lubos klokner lubos at klokner.sk
Fri Oct 11 15:35:16 CEST 2002


* Tomek Orzechowski <orzech at pld.org.pl> (11.10.2002):
> lubos klokner wrote:
> 
> >hello,
> >
> >i have problem with colors in vim.
> >when i export TERM=screen, vim show colors,
> >but if i have TERM=xterm (this is default when i ssh to host)
> >vim is only in b&w.
> 
> You are using putty, am i right?
> If so, change TERM to xterm-color in connection options.

i didn't find how to change terminal in konsole, so i fix it in .bashrc:

if [ "$TERM" == "xterm" ]; then
	export TERM="xterm-color"
fi

:-)

-- 
lubos klokner <lubos at klokner.sk>



More information about the pld-devel-en mailing list