From owner-freebsd-questions Sun Dec 21 17:36:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA14233 for questions-outgoing; Sun, 21 Dec 1997 17:36:19 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA14228 for ; Sun, 21 Dec 1997 17:36:15 -0800 (PST) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id MAA03471; Mon, 22 Dec 1997 12:06:02 +1030 (CST) (envelope-from grog) Message-ID: <19971222120602.48912@lemis.com> Date: Mon, 22 Dec 1997 12:06:02 +1030 From: Greg Lehey To: George Vagner Cc: freebsd-questions@FreeBSD.ORG Subject: Re: elm default editor References: <199712220040.SAA25351@epcot.spdc.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199712220040.SAA25351@epcot.spdc.ti.com>; from George Vagner on Sun, Dec 21, 1997 at 06:40:50PM -0600 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, Dec 21, 1997 at 06:40:50PM -0600, George Vagner wrote: > how do i make elm use ee as the default editor instead of vi? > > i hate vi! Several ways: 1. Use the 'o' command to edit your options. Select E (editor), and type in the name of the editor you want to use. Use > to save the configuration. 2. Change ~/.elm/elmrc: # what editor to use ("none" means simulate Berkeley Mail) editor = emacs 3. Set the EDITOR environment variable: $ EDITOR=emacs; export EDITOR It's easier to do this in your .profile or whatever Greg