Skip to content
Discussion options

You must be logged in to vote

Menu selection itself is not a feature zsh-autocomplete, but rather of Zsh. zsh-autocomplete merely enables it and adds some sensible defaults.

I do not know 1) how to define Alt-key combination for the above keys

The most reliable way to find out what escape code your terminal sends for a particular key or key combo, is as follows:

  1. Run bindkey '^V' describe-key-briefly.
  2. Press CtrlV, followed by the key combo you need.
  1. what the exact menu selection command should I use

You can find a list of those and what they do in this section of the Zsh manual.

Once you know which escape code and widget to use, you can bind them in the menuselect keymap with Zsh's bindkey command by adding sta…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@volodymyrprokopyuk
Comment options

@marlonrichert
Comment options

@volodymyrprokopyuk
Comment options

@marlonrichert
Comment options

@volodymyrprokopyuk
Comment options

Answer selected by volodymyrprokopyuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #359 on October 19, 2021 08:20.