Skip to content

keybind for down-line-or-complete not working in zshrc #203

Answered by marlonrichert
wolfo asked this question in Q&A
Discussion options

You must be logged in to vote

I'd strongly prefer if tab didn't autocomplete when there are multiple results, but instead keep pressing tab (or typing) until I get the desired selection.

That’s already possible, as described in the Readme. Just add one (not both) of the following two lines to your ~/.zshrc file (depending on which type of behavior your prefer; see the linked section in the Readme for details):

# To use menu selection:
zstyle ':autocomplete:tab:*' widget-style menu-select

# To cycle completions without using menu selection:
zstyle ':autocomplete:tab:*' widget-style menu-complete

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by marlonrichert
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants
Converted from issue

This discussion was converted from issue #119 on March 08, 2021 21:05.