From owner-freebsd-questions Fri Jul 7 10:23:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id 0AD7F37C47C for ; Fri, 7 Jul 2000 10:23:16 -0700 (PDT) (envelope-from hawk@fac13.ds.psu.edu) Received: from fac13.ds.psu.edu (localhost [127.0.0.1]) by fac13.ds.psu.edu (8.9.3/8.9.3) with ESMTP id NAA99954; Fri, 7 Jul 2000 13:21:57 -0400 (EDT) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200007071721.NAA99954@fac13.ds.psu.edu> X-Mailer: exmh version 2.1.1 10/15/1999 To: Glenn Johnson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: convincing (n)mh to use vim rather than vi In-Reply-To: Your message of "Thu, 06 Jul 2000 17:57:26 CDT." <20000706175726.A60909@node1.cluster.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 07 Jul 2000 13:21:57 -0400 From: "Richard E. Hawkins" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Nothing I do convinces it to use /usr/local/bin/vim rather than > > /usr/bin/vi. > > I've even tried aliasing vi to /usr/local/bin/vim, all to no avail. > > The answer must be obvious, so could someone give me a hint before it > > turns into a snake and bites me? :) > It has been a while since I have used (n)mh but I believe you specify > the editor in your ~/.mh_profile. Ouch! got bit :) Yes, that did it. And low and behold, the magic line is Editor: /usr/local/bin/vim Thank you. I thought nmh had the single man page for the whole program, but mh_profile has its own page . . . hawk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message