[lug] vi question
Sean Reifschneider
jafo at tummy.com
Sat Jan 20 02:09:09 MST 2001
On Fri, Jan 19, 2001 at 03:55:37PM -0700, B O'Fallon wrote:
>Type :help to see the options available and how to set them.
>
>I have found that the color syntax works with Slackware and Suse, but not for RedHat
>6.1 - 7.0, which gave me "feature not implemented" error messages.
That's because RedHat defaults to having "vi" map to "vim-minimal". Try
using "vim" insead of "vi".
My .vimrc includes:
if &term =~ "xterm"
if has("terminfo")
"set t_Co=16
set t_Co=2
set t_AB=[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm
set t_AF=[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm
else
"set t_Co=16
set t_Co=2
set t_Sf=[3%dm
set t_Sb=[4%dm
endif
endif
set background=dark
if &t_Co > 1
syntax on
endif
highlight PreProc ctermfg=5 cterm=bold "cyan
highlight Comment ctermfg=1 "red
highlight String ctermfg=2 "green
highlight Normal guibg=Black guifg=White
Sean
--
Windows NT: From the people who brought you 640K and EDLIN
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
More information about the LUG
mailing list