vi ? howto show cursor position
john.horne at plymouth.ac.uk
Sat Oct 8 18:39:07 UTC 2011
On Sat, 2011-10-08 at 19:32 +0100, John Horne wrote:
> On 7 October 2011 18:01, Mike Wright <mike.wright at 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
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 Horne, Plymouth University, UK
Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001
More information about the users