Alexander Kutka 写道:
> set runtimepath=/usr/share/vim/vim72
> 
> if &term =~ "xterm-color"
>    if has("terminfo")
>          set t_Co=8
>          set t_Sf=
>          et t_Sb=
> else
>          set t_Co=8
>          set t_Sf=
>          et t_Sb=
> endif
> endif
> 
> set number
> set title
> set background=dark
> syntax on
> syntax enable
> ---------------------------------------

There should be an :set nocompatible on the first line of your .vimrc, 
is it there?

AFAIK putty supports xterm with 256 colors, I don't know if t_Co=8 works 
for putty but t_Co=256 works for me.



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to