From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 23:34:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7A3A16A4CE for ; Mon, 10 Nov 2003 23:34:52 -0800 (PST) Received: from hotmail.com (law11-f17.law11.hotmail.com [64.4.17.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 377D943FEC for ; Mon, 10 Nov 2003 23:34:52 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 10 Nov 2003 23:34:52 -0800 Received: from 218.17.187.76 by lw11fd.law11.hotmail.msn.com with HTTP; Tue, 11 Nov 2003 07:34:51 GMT X-Originating-IP: [218.17.187.76] X-Originating-Email: [weiwuzhang@hotmail.com] From: "Zhang Weiwu" To: freebsd-questions@freebsd.org Date: Tue, 11 Nov 2003 15:34:51 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 11 Nov 2003 07:34:52.0033 (UTC) FILETIME=[4B327F10:01C3A826] Subject: newbie: vi - go to previous file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 07:34:53 -0000 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