Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000b01c1c03a$90dfb260$6fc82486@medschool.dundee.ac.uk> Reply-To: "Fergus Daly" From: "Fergus Daly" To: Cc: , Subject: Re: VIM in rxvt & syntax highlighting Date: Thu, 28 Feb 2002 09:30:31 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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/