Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2012 16:15:24 +0200
From:      uki <ukaszg@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: termcap/terminfo magicians anyone? // colors in vim
Message-ID:  <CAN_VB4UjA7cog-L-rFRRBxOCmqY08k-KRqOhCnLPPAN28mgwyQ@mail.gmail.com>
In-Reply-To: <20120530133327.GA26631@external.screwed.box>
References:  <20120530133327.GA26631@external.screwed.box>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

things to check:
* does the color scheme require 256 colors? is your terminal compiled
with that feature?
* check your TERM env variable, (also try setting t_Co in vim) some
info here: http://vim.wikia.com/wiki/256_colors_in_vim

cheers,
=C5=81ukasz Gruner


2012/5/30 Peter Vereshagin <peter@vereshagin.org>:
> Hello.
>
> Being new from linux back in time I tried vim. It had pretty colors in li=
nux for me like that:
>
> http://www.postimg.com/71000/photo-70938.jpg
>
> But in freebsd I have what I have:
>
> http://www.postimg.com/71000/photo-70939.jpg
>
> It 'just works' for me if I 'vim -T linux' but:
>
> =C2=A0 =C2=A0- I'd like to know exact reason to be fixed other than just =
'use linux'
> =C2=A0 =C2=A0- It shows colors in ttyvX with TERM=3Dcons25 but it has ran=
dom '25h'
> =C2=A0 =C2=A0 =C2=A0showing up in places when I implement the actions fro=
m the begin of
> =C2=A0 =C2=A0 =C2=A0vimtutor.
>
> Nothing to add more yet other than ':set term=3Dlinux' doesn't work for c=
olors
> that way.
>
> Thanks in advance.
>
> --
> Peter Vereshagin <peter@vereshagin.org> (http://vereshagin.org) pgp: A0E2=
6627
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN_VB4UjA7cog-L-rFRRBxOCmqY08k-KRqOhCnLPPAN28mgwyQ>