Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Limitations of menuselect
- X-seq: zsh-workers 31096
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Olivier Teuliere <ipkiss@xxxxxxxxx>
- Subject: Re: Limitations of menuselect
- Date: Sat, 02 Mar 2013 00:59:37 +0100
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1362182378; bh=z5t+6JHGAdv0TgsbKCtVFJxHneFwyN/WIFoR66x14H0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:cc:In-reply-to:From:References:To:Subject:MIME-Version:Content-Type:Content-ID:Date:Message-ID; b=RpQ8rqnKamzcselINQkkgtwqyorDkYg1qGeVblMv4zPJy6V8syqy3W3RMv7Dduc4YiMb6drtzyUKSoSOsGYOMJrWhG25FnS/TxVzltC4obxTYLsymcliHqwyfPDElop259ntFJxM40loN5KfSjFrRnQvIXJc76Nd0Sd0Nar4WUM=
- In-reply-to: <CAKuJizHT3YX_xB-t7pxoKHs_q3z-KbJCrdwfHjBNTPL-znqbvQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKuJizHT3YX_xB-t7pxoKHs_q3z-KbJCrdwfHjBNTPL-znqbvQ@mail.gmail.com>
On 25 Feb, Olivier Teuliere wrote:
> 4) When moving the selection in the menu, the inserted text changes.
> But for some reason, the accept-line widget only closes the menu,
> without accepting the line. So to really accept the line I have to
> call accept-line again (basically, I have to hit Enter twice).
Actually, you can achieve this by simply binding to .accept-line:
bindkey -M menuselect '^M' .accept-line
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author