magicant / yash

Yet another shell
http://magicant.github.io/yash/
GNU General Public License v2.0
346 stars 30 forks source link

Option to automatically enter completion menu #91

Open unrealapex opened 1 week ago

unrealapex commented 1 week ago

Is your feature request related to a problem? Please describe. One configurable option from Zsh that I miss is Zsh's setopt menu_complete option which makes Zsh enter the completion menu when completion is triggered. By default when invoking complete-next-candidate, it must be invoked again to enter the menu(pressing Tab twice).

Describe the solution you'd like An option to have complete-next-candidate enter the candidate menu when it is invoked which would save the user one key press.

Describe alternatives you've considered Use Zsh.

Additional context Below is a minimal Zshrc to see how the feature behaves in Zsh.

autoload -U compinit
zstyle ':completion:*' menu select
zmodload zsh/complist
compinit
setopt menu_complete