How to change the default text editor ?

Chris Peterman kyral at ubuntu.com
Thu Apr 6 01:37:54 UTC 2006


the EDITOR varible is what controls the text editor. You set it much like any 
other Environment Var. 

EDITOR = <command for editor>
export EDITOR

to have it set everytime put those in your ~/.bashrc or ~/bash_profile (can't 
remember which)

~ Chris

On Thursday 06 April 2006 00:34, Vincent Trouilliez wrote:
> Hi,
>
> I am using Dapper, I use subversion and when I went to do a commit, svn
> started vi for me to type my comments. In Breezy, it used to start nano
> instead, which is what I want to use.
> I assume their must be an environnement variable somewhere that controls
> what the default text editor is... what must I do exactly to set it to
> nano ? What file must I modify, what line to add exactly, and where in
> the file ?
>
> Thanks much in advance... :-)
>
>
> --
> Vince

-- 
~ Chris "Kyral" Peterman
Computer Science Undergraduate
Clarkson University
Associate Member of the Free Software Foundation
Ubuntu Member
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060406/90b245b6/attachment.sig>


More information about the ubuntu-users mailing list