bin/64359: :p and :P commands in vi doesn't work

Stephen McKay smckay at internode.on.net
Wed Mar 17 22:57:24 PST 2004


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.


More information about the freebsd-bugs mailing list