[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Vim vs Elvis -- was "Mutt's Editor"



> i get no syntax hilighting at all (the 'file ends here, so
> we'll show a tilde from here own down' is blue but that's all
> that's colored).

from the docs (place in .vimrc):


""""""""""""""""""" Colour support and syntax highlighting """"""""""""""""""" 

" Some systems have a terminfo entry for "rxvt" and have an "xterm" terminfo 
" entry without color support. Use the "COLORTERM" environment variable 
" rxvt sets to enable colours in it.
:if $COLORTERM == "rxvt"
:  set term=rxvt
:endif
:if &term == "rxvt"
:  set t_Co=8
:  set ttyfast
:endif

" Colours suitable for a dark background, which is what my Linux console,
" xterms and rxvts are configured to have.
set background=dark
syntax on


--

it should work in gvim automatically

cheers
 damien

Attachment: pgpLXGIpkpPtK.pgp
Description: PGP signature


Reply to: