Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Start an external editor to edit the current zle buffer
- X-seq: zsh-users 9633
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Start an external editor to edit the current zle buffer
- Date: Fri, 4 Nov 2005 16:48:24 +0100
- In-reply-to: <EXCHANGE03YV7iqkWol00009d7f@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20051104132423.GY27583@xxxxxxxxxxxxx> <EXCHANGE03R9r1lRov900009d4e@xxxxxxxxxxxxxxxxxx> <20051104144356.GF27583@xxxxxxxxxxxxx> <EXCHANGE03YV7iqkWol00009d7f@xxxxxxxxxxxxxxxxxx>
On 2005-11-04 14:53:43 +0000, Peter Stephenson wrote:
> Vincent Lefevre wrote:
> > On 2005-11-04 13:49:25 +0000, Peter Stephenson wrote:
> > > See the ZLE function edit-command-line supplied with the shell. It's
> > > quite short and you might want to tweak it.
> >
> > Thanks. Is there any reason why it is not available by default and
> > not documented in the zshzle man page?
>
> Yes: it's not part of zle, it's a contributed function and like all such
> is documented in zshcontrib and needs to be loaded.
Shouldn't it become part of zle?
> > Also why does fc use $FCEDIT and not ${VISUAL:-${EDITOR:-vi}} like
> > edit-command-line (or the opposite)?
>
> FCEDIT is specific to the fc command. edit-command-line assumes you
> want to use your normal editor. You can easily change it.
Why doesn't fc assume I want to use my normal editor?
Is there any reason to have $FCEDIT different from $VISUAL or $EDITOR?
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author