From owner-freebsd-newbies Thu Sep 27 9:39:57 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from koza.acecape.com (koza2.acecape.com [66.9.36.222]) by hub.freebsd.org (Postfix) with ESMTP id 9B06B37B622 for ; Thu, 27 Sep 2001 09:39:52 -0700 (PDT) Received: from networld (p64-69.acedsl.com [66.114.64.69]) by koza.acecape.com (8.10.1/8.9.3) with SMTP id f8RGdia06057; Thu, 27 Sep 2001 12:39:44 -0400 (EDT) Message-ID: <000901c14773$509f1aa0$0200a8c0@networld> From: "Russell A. Khurshudian" To: "Martin Vana" , References: <000f01c14771$7c8a4ec0$1198e693@kolej.vslib.cz> Subject: Re: how to change default editor? Date: Thu, 27 Sep 2001 12:41:53 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I believe you would set the default editor by changing your shell's "EDITOR" environment variable. If you are using (t)csh you can view your environment variables with the 'env' command and set them with setenv. The command would be 'setenv EDITOR ', where editor would be the editor of your choice (possibly vi, ee, emacs, etc..). With the BASH shell, you would do 'EDITOR=;export EDITOR'. Hope that helps. ----- Original Message ----- From: "Martin Vana" To: Sent: Thursday, September 27, 2001 12:28 PM Subject: how to change default editor? > hi, > please can you help me how to change default editor? > I want to use vim when im editing for example with > chsh command. > Thank you > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message