VIM in rxvt & syntax highlighting

Fergus Daly f.daly@dundee.ac.uk
Thu Feb 28 01:42:00 GMT 2002


The recent installation of vim lacks the default startup file that earlier
vesions had. So: place in your home directory (/home/alec/ or whatever) a
file called .vimrc (note the dot) containing

set nocompatible
set backspace=indent,eol,start
set backup
set history=50
set ruler
set background=dark
set showcmd
set incsearch
syntax on
set hlsearch

or, to make it accessible to all users, put these lines in a file called
vimrc (no dot) in the /usr/share/vim/ directory.

Hope this helps.

(I don't know which lines cause the syntax hghlighting -- probably just
line -1? -- but the other lines seem to make vim work in the way I'm used
to, anyway.)

Fergus




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list