color highlighting in vi/vim in a *term
jez.hancock at munk.nu
Mon Aug 18 00:17:19 BST 2003
On Sun, Aug 17, 2003 at 10:51:49PM +0100, David Richards wrote:
> 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'?:
[0:11:13] munk at users /home/munk# echo $TERM
You may also want to set this in your ~/.vimrc file as well:
otherwise syntax highlighting may not be easily readable in vim.
More information about the Ukfreebsd