fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: vi ? howto show cursor position

Re: vi ? howto show cursor position

From: John Horne <john.horne_at_nospam>
Date: Sat Oct 08 2011 - 18:39:07 GMT
To: users@lists.fedoraproject.org

On Sat, 2011-10-08 at 19:32 +0100, John Horne wrote:
> On 7 October 2011 18:01, Mike Wright <mike.wright@mailinator.com> wrote:
> > Hi all,
> >
> > In previous fedora releases vi would display the cursor position as "row
> > number" "character position" in the bottom right of the display. In
> > f14's release of vi this is no longer true.
> >
> > I've looked through the command reference and don't see any way to
> > restore that behavior.
> >
> > Is this something lost from the compiled distribution or is there some
> > *:set* method that will turn it back on and, if so, would somebody share
> > the magic formula?
> >
> You need the 'vim-enhanced' package installed, ':set ruler' will then
> work. Your PATH should then find '/usr/bin/vim' in preference to
> '/bin/vi'.
>
I should have clarified that by saying that vim-enhanced also
installs /etc/profile.d/vim.sh which sets up the alias for 'vi=vim'.

John.

-- John Horne, Plymouth University, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines