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: <3C3E2DE3.1070501@swcp.com> Date: Thu, 10 Jan 2002 17:12:19 -0700 From: Lynn Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: vim and color Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit /usr/bin/vi (aka /bin/vi) supports syntax highlighting based on the file extension of the file being edited. The files at /usr/share/vim/vim60/syntax/*.vim define the highlighting (vim60 may vary according to your version). The very last line of my ~/.vimrc is 'syntax enable'. This does the trick for me. Color syntax highlighting based on file extension is great! Lynn -- 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/