Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2004 16:57:20 +1000
From:      Stephen McKay <smckay@internode.on.net>
To:        bugs@freebsd.org
Cc:        Daniel Rudy <dcrudy@pacbell.net>
Subject:   Re: bin/64359: :p and :P commands in vi doesn't work 
Message-ID:  <200403180657.i2I6vKVA013500@dungeon.home>
In-Reply-To: <200403170242.i2H2gUm3080538@wildfire.danielrudy.org> from Daniel Rudy at "Wed, 17 Mar 2004 02:42:30 %2B0000"
References:  <200403170242.i2H2gUm3080538@wildfire.danielrudy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 17th March 2004, Daniel Rudy wrote:

>Invoke vi with multiple files on the command line.
>Do :n to edit the next file.
>Do :p to edit the previous file.  This step fails.

:p means :print not :previous.
:prev is the short form for :previous.

Admittedly the syntax the manual uses to describe it  [Pp]rev[ious][!]
is mixing several meanings for [] but you should be able to work it out.

Stephen.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403180657.i2I6vKVA013500>