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

Re: Menu-complete with tab, complete with alt-tab



Jesper Holmberg wrote:
>setopt MENU_COMPLETE
>
>in my .zshrc to get menu-complete bound to tab. However, it would be
>very nice to have alt-tab bound to "regular" complete (preferably with
>auto_list as well). Can this be done? If so, how?

MENU_COMPLETE doesn't change keybindings, it changes the behaviour of
the standard binding, which is expand-or-complete.  So what you want is,
instead of the setopt,

bindkey "^I" menu-complete
bindkey "\M-^I" expand-or-complete

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author