color highlighting in vi/vim in a *term

jon at witchspace.com jon at witchspace.com
Mon Aug 18 10:04:41 BST 2003


> On Sun, Aug 17, 2003 at 10:51:49PM +0100, David Richards wrote:
>> hi
>>     How would i enable vim/vi in a *term to enable colour highlighting.
>> I haven't been able to get any colours up. Is it the configuration of
>> the term program i am using in X or is it the editor. I installed the
>> vim from the ports and vi i guess came as part of the base system.
> Is your $TERM environment variable is set to 'xterm-color'?:

Personally I use TERM=linux, which (to my eyes at least) gives more
readable colours.

> You may also want to set this in your ~/.vimrc file as well:
>
> set background=dark

Not to mention 'syntax on' :-)


--Jon

http://www.witchspace.com





More information about the Ukfreebsd mailing list