Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Limitations of menuselect



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