From owner-freebsd-questions Thu Jul 6 15:58:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by hub.freebsd.org (Postfix) with ESMTP id 3340537B88A for ; Thu, 6 Jul 2000 15:58:07 -0700 (PDT) (envelope-from gjohnson@nola.srrc.usda.gov) Received: (from glenn@localhost) by symbion.srrc.usda.gov (8.9.3/8.9.3) id RAA61010; Thu, 6 Jul 2000 17:57:26 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Thu, 6 Jul 2000 17:57:26 -0500 To: "Richard E. Hawkins" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: convincing (n)mh to use vim rather than vi Message-ID: <20000706175726.A60909@node1.cluster.srrc.usda.gov> Mail-Followup-To: glenn, "Richard E. Hawkins" , freebsd-questions@FreeBSD.ORG References: <200007061840.OAA82733@fac13.ds.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200007061840.OAA82733@fac13.ds.psu.edu>; from hawk@fac13.ds.psu.edu on Thu, Jul 06, 2000 at 02:40:25PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jul 06, 2000 at 02:40:25PM -0400, Richard E. Hawkins wrote: > OK, I'm stumped. I've tried setting both $EDITOR and $VISUAL, as well > as first reading, then madly grepping my way through the man for nmh. > > 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. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@nola.srrc.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message