marlonrichert / zsh-autocomplete

🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
MIT License
5.26k stars 145 forks source link

Using different keymaps disables the visible options #530

Closed niksingh710 closed 1 year ago

niksingh710 commented 1 year ago

Failure to do so can and will result in your issue being closed without warning.

Environment

print $VENDOR $OSTYPE $SHELL $ZSH_ARGZERO $ZSH_PATCHLEVEL
print -l $_autocomplete__funcfiletrace
git -C ~zsh-autocomplete log --oneline -n1

pc linux-gnu /usr/bin/zsh zsh zsh-5.9-0-g73d3173
/home/niksingh710/.setup/shell/zsh/plugins/zsh-snap/functions/.znap.source:26
/home/niksingh710/.setup/shell/zsh/plugins/zsh-snap/functions/znap:42
/home/niksingh710/.config/shell/zsh/config:21
/home/niksingh710/.config/shell/rc:21
/home/niksingh710/.zshrc:2
d00142d (grafted, HEAD -> main, origin/main, origin/HEAD) Update VSCode settings

Steps to reproduce


zstyle ':completion:*' menu select
zmodload zsh/complist
# use the vi navigation keys in menu completion
bindkey '^j' expand-or-complete 
bindkey -M menuselect '^h' vi-backward-char
bindkey -M menuselect '^k' vi-up-line-or-history
bindkey -M menuselect '^l' vi-forward-char
bindkey -M menuselect '^j' vi-down-line-or-history

Using these zsh options. using the line zstyle ':completion:*' menu select does not show the prompt e.g cd not lilsting directories

marlonrichert commented 1 year ago

If you switch to the feature branch, does it solve the problem for you?

niksingh710 commented 1 year ago

If you switch to the feature branch, does it solve the problem for you?

Nope the result is same.

again on commenting the line zstyle '*:completion:*' menu select It worked as expected

marlonrichert commented 1 year ago

@niksingh710 The steps to reproduce you’ve provided do not include any statement to source Autcomplete. Please update your test case to be stand-alone runnable and I’ll reopen the issue.