Changing default editor in mutt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, there is of course the mutt specific way of doing things,
the effect of doing things the way I described is that nearly any program which spawns an editor will spawn your favorite one by default if you set those variables,
so you don't have to learn how to do it in each program.
I do this so I get ed instead of vi or pico in things like mutt, lynx, trn etc.
Sorry for the confusion there.
Regards
Aaron
On Tue, Jul 16, 2002 at 05:27:59PM -0400, Alex Snow wrote:
> Thanks, I just wrote a .muttrc file from the described vars in the mutt
> docs.
> -------------------------------
> Alex Snow
> Email: alex_snow at gmx.net
> BBS: telnet://bbs1.dyndns.org
> web: http://web.alex-snow.dhs.org
> The Computer Repair Guy:
> If It Ain't Broke, I'll mess With It Till It Is!
> ----- Original Message -----
> From: "Aaron Howell" <aaron at kitten.net.au>
> To: <speakup at braille.uwo.ca>
> Sent: Tuesday, July 16, 2002 5:25 PM
> Subject: Re: Changing default editor in mutt
> 
> 
> > Mutt honors the EDITOR environment variable,
> > So if you want your default editor to be say, vi, then you would do
> > export EDITOR=vi
> > export VISUAL=vi
> > the visual is for some older programs which check that variable before
> they check editor (short for visual editor).
> > You can of course add those two lines to your .bash_profile.
> > (obviously if you're using some derivitive of csh instead of bash, you'd
> use setenv instead of export.)
> > Note that in the above, EDITOR and VISUAL are in upper case, the rest is
> lower.
> > That should get mutt using your favorite editor (oh, you could specify a
> pathname after the = sign if you need to).
> > Regards
> > Aaron
> > On Tue, Jul 16, 2002 at 10:45:37AM -0400, Alex Snow wrote:
> > > Hi All,
> > >
> > > How can one change the default editor in mutt?
> > > -------------------------------
> > > Alex Snow
> > > Email: alex_snow at gmx.net
> > > BBS: telnet://bbs1.dyndns.org
> > > web: http://web.alex-snow.dhs.org
> > > The Computer Repair Guy:
> > > If It Ain't Broke, I'll mess With It Till It Is!
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup at braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> > --
> >      +----------------------------------------------------------+
> >     /             |\      _,,,---,,_                           /|
> >    /              /,`.-'`'    -.  ;-;;,_                      / |
> >   /              |,4-  ) )-,_. ,\ (  `'-'                    /  |
> >  /             '---''(_/--'  `-'\_)                         /   |
> > +----------------------------------------------------------+    |
> > | Aaron Howell                  Kitten Internet            |    |
> > | aaron at kitten.net.au           Internet consultancy,      |    |
> > | Phone: +61-417-625550         System administration,     |    |
> > | fax: +61-7-36010099           system design/integration. |    |
> > | icq: 6715521                  http://www.kitten.net.au   |    |
> > |                                                          |    |
> > |                                                          |    +
> > |                                                          |   /
> > |                                                          |  /
> > |                                                          | /
> > |                                                          |/
> > +----------------------------------------------------------+
> >
> >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
     +----------------------------------------------------------+
    /             |\      _,,,---,,_                           /|
   /              /,`.-'`'    -.  ;-;;,_                      / |
  /              |,4-  ) )-,_. ,\ (  `'-'                    /  |
 /             '---''(_/--'  `-'\_)                         /   |
+----------------------------------------------------------+    |
| Aaron Howell                  Kitten Internet            |    |
| aaron at kitten.net.au           Internet consultancy,      |    |
| Phone: +61-417-625550         System administration,     |    |
| fax: +61-7-36010099           system design/integration. |    |
| icq: 6715521                  http://www.kitten.net.au   |    |
|                                                          |    |
|                                                          |    +
|                                                          |   /
|                                                          |  /
|                                                          | /
|                                                          |/
+----------------------------------------------------------+







[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux