Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Rewrite of zsh-newuser-install
- X-seq: zsh-workers 48126
- From: "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>
- To: "Marlon Richert" <marlon.richert@xxxxxxxxx>
- Cc: "Zsh hackers list" <zsh-workers@xxxxxxx>
- Subject: Re: Rewrite of zsh-newuser-install
- Date: Sat, 27 Feb 2021 13:46:21 +0000
- Archived-at: <https://zsh.org/workers/48126>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/ffc5e64f-abe5-4528-a26a-f3ab7de697ca%40www.fastmail.com>
- In-reply-to: <20210227132121.GA9308@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <B865F477-D72B-426F-9691-268C2E65EC85@dana.is> <EAEB39F8-6DEF-4BC0-A7E4-A59B16DBDF2F@gmail.com> <D2248BF1-5045-4F68-89F0-F92C903EF73D@dana.is> <20210225080519.GA22300@tarpaulin.shahaf.local2> <CAHLkEDtR6LCZy_2Ks-KATn9T3xyMmNh=ifxiHF4+KhO5uT-Cxw@mail.gmail.com> <20210227132121.GA9308@tarpaulin.shahaf.local2>
Daniel Shahaf wrote on Sat, 27 Feb 2021 13:21 +00:00:
> Here's another bit of code that might be useful:
>
> if zmodload zsh/complist 2>/dev/null || (( ${+keymaps[(r)menuselect]} )); then
> # vi mode for menu selection
> bindkey -M menuselect j down-line-or-history
> bindkey -M menuselect k up-line-or-history
> bindkey -M menuselect h backward-char
> bindkey -M menuselect l forward-char
> # Make <space> accept the completion-so-far,
> bindkey -M 'menuselect' ' ' accept-line # same binding as ^M,^J; and see above
> fi
>
> I haven't actually
(Oops. Ignore that incomplete sentence.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author