delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/28/04:31:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <f DOT daly AT dundee DOT ac DOT uk>
From: "Fergus Daly" <f DOT daly AT dundee DOT ac DOT uk>
To: <alec314159 AT yahoo DOT com>
Cc: <f DOT daly AT dundee DOT ac DOT uk>, <cygwin AT cygwin DOT com>
Subject: Re: VIM in rxvt & syntax highlighting
Date: Thu, 28 Feb 2002 09:30:31 -0000
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019