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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3D10CC74.70604@cfdrc.com> Date: Wed, 19 Jun 2002 11:24:52 -0700 From: "Felix A. Buot" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: fergus AT bonhard DOT uklinux DOT net CC: cygwin AT cygwin DOT com Subject: Re: no syntax highlighting in cygwin / vim References: <001f01c216ed$d7561b80$af7b1f3e AT leper> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Thanks for your kind response. I found out that if one right click on the cygwin console, click on properties and turn on quick edit, syntax highlighting everywhere in cygwin comes on. I am looking into your suggestions also. My new problem with cygwin in windows xp is that when I logon as a "named user" cygwin prompt always identify me as administrator, as confirmed when I issue: 'whoami". Whereas in my windows 2000, cygwin always correctly identify the logon user. Your help in windows xp cygwin problem is much appreciated. fergus AT bonhard DOT uklinux DOT net wrote: >Not dead certain what you mean by syntax highlighting in Cygwin; but does >the following help you recover syntax highlighting in vim? It's a standard >vim ini file I must have nicked from somewhere, so it addresses issues >additional to that of highlighting. > >The recent installation of vim lacks the default startup file that earlier >versions had. So: place in your home directory (/home/felix/ 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. > >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/