Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 15:34:51 +0800
From:      "Zhang Weiwu" <weiwuzhang@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   newbie: vi - go to previous file
Message-ID:  <LAW11-F17v4ucOK05sd000340e3@hotmail.com>

next in thread | raw e-mail | index | archive | help

Hello. I am using the BSD's vi not vim.

I learned from :exusage that :N is to swich to the next file in argument 
list while :P swich to the previous file. :N woks fine, while :P does 
nothing.

Say, I run ">vi file1 file2", which opens file1, :N begin to edit file2, 
then I press :P, I thought I should go to file1, but I'm still editing 
file2.

Thank you.

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  



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