delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/17/14:33:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <012b01c55b0e$cdc18a10$e6ec6f83@chimaera>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Trevor Osatchuk" <fybar27 AT gmail DOT com>,
"Martin Mrazek" <martin DOT mrazek AT gmail DOT com>, <cygwin AT cygwin DOT com>
References: <bd827dc8050517095550201749 AT mail DOT gmail DOT com> <2a0cac5605051711056df2d0f9 AT mail DOT gmail DOT com>
Subject: Re: Vim problem
Date: Tue, 17 May 2005 19:32:38 +0100
MIME-Version: 1.0
X-IsSubscribed: yes

Trevor Osatchuk wrote:
> Most likely not a problem with VIM, but more a user configerable
> option.  I just got through setting up vim on cygwin.  In your
> ~/.vimrc file you need to format your ruler.  That is the bar at the
> bottom that shows you which file, which line, which column, etc. that
> you are on in VIM.  This file is in /home/yourname.  You can copy an
> example from /usr/share/vim/vim63/vimrc_example.vim to your home
> directory.  Open it with vim and then do a :help ruf to see how to set
> up your ruler in .vimrc and then do a help statusline to see what
> options are available.
>
> My line is:
>
> ruf=%32(%l\ %c\ %f\ %p%%%)
>
> This gives me 32 chars in my status showing line number, column number
> filename and a percentage of how far into the file my cursor is.
> Check out the help and pick the options you want.

You don't have to do that, though, if all you want is the vim default.
Even a completely empty .vimrc file will shift vim out of compatible mode, 
and cause a useful default to be shown.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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