[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vi/vim/gvim question
- To: Erez Doron <erez(at-nospam)savan.com>
- Subject: Re: vi/vim/gvim question
- From: Christoph Bugel <chris(at-nospam)tti-telecom.com>
- Date: Tue, 10 Jul 2001 14:01:31 +0300
- Cc: ILUG <linux-il(at-nospam)cs.huji.ac.il>
- In-Reply-To: <3B4ACB6E.7FA9819E@savan.com>; from erez@savan.com on Tue, Jul 10, 2001 at 11:31:26AM +0200
- References: <3B4ACB6E.7FA9819E@savan.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2.5i
On Tue 2001-07-10, Erez Doron wrote:
> Hi
>
>
> In vim I get my C program colored, but it prints it mono color.
> how can i print it in colors ?
for me it works fine, try to put this is your $HOME/.vimrc:
(I think I found this by looking for the word 'syntax' in the vim :help system)
HTH
:set ai
:if has("terminfo")
: set t_Co=8
: set t_Sf=[3%p1%dm
: set t_Sb=[4%p1%dm
:else
: set t_Co=8
: set t_Sf=[3%dm
: set t_Sb=[4%dm
:endif
:syntax on
:set vb t_vb=
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il