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

Re: Rewrite of zsh-newuser-install



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