Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Does zsh have anything like readline's edit-and-execute-command ?
- X-seq: zsh-users 12839
- From: "N.J. Mann" <njm@xxxxxxxxxxx>
- To: Robin Lee Powell <rlpowell@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Does zsh have anything like readline's edit-and-execute-command ?
- Date: Wed, 7 May 2008 20:02:42 +0100
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- In-reply-to: <20080507184442.GH11527@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Robin Lee Powell <rlpowell@xxxxxxxxxxxxxxxxxx>, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080507012634.GC11527@xxxxxxxxxxxxxxxxxx> <080507002557.ZM2091@xxxxxxxxxxxxxxxxxxxxxx> <20080507173204.GG11527@xxxxxxxxxxxxxxxxxx> <20080507182802.GB5843@xxxxxxxxxxxxxxx> <20080507184442.GH11527@xxxxxxxxxxxxxxxxxx>
In message <20080507184442.GH11527@xxxxxxxxxxxxxxxxxx>,
Robin Lee Powell (rlpowell@xxxxxxxxxxxxxxxxxx) wrote:
> On Wed, May 07, 2008 at 07:28:02PM +0100, Stephane Chazelas wrote:
> > On Wed, May 07, 2008 at 10:32:04AM -0700, Robin Lee Powell wrote:
> > [...]
> > > Ah. Silly me for using "man zshzle". :P I'll go back to using
> > > "man zshall" all the time, I think.
> > [...]
> >
> > You may want to consider "info" instead. "info" has got a
> > searchable index and table of content like a book.
>
> info is nigh-unusable
Agreed! :-)
> It wouldn't have helped at all in this case, though, as I had no
> idea where in the hierarchy to look. I'm trying to get
> edit-command-line to work now, and I *still* don't know where to
> look.
I just tried the example in the book _From Bash to Z Shell_, which I
highly recommend and think those involved did a great job, and it just
worked. Okay, so I used a different key binding from that in the book
but that was to prevent it clashing with other bindings I have. The
book suggests:
autoload -U edit-command-line
zle -N edit-command-line
bindkey '\ee' edit-command-line
to make ESC-e bring up the editor. I used ^E.
What are you trying?
Cheers,
Nick.
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author