^J
bind to menu-complete
with select
option.Thank you,
Myk
.zshrc
bindkey | grep '\^J'
cd
, press CTRL+O
multiple times to cycle suggestions - Completes the directory name and cycles to next suggestion, works as expectedcd
, press CTRL+J
multiple times to cycle suggestions - Behaves exactly as CTRL+O
, works as expectedselect
option to completion by runningzstyle ':completion:*' menu select
cd
, press CTRL+O
multiple times to cycle suggestions - Still cycles, works as expectedcd
, press CTRL+J
multiple times to cycle suggestions - Only selects the first suggestion, does not cycle, does not work as expected^J
: ^O
, ^N
and ^I
work as expectedmenu-complete
, complete-word
, expand-or-complete
, menu-expand-or-complete
, and reverse-menu-complete
select
autoload -U compinit
zstyle ':completion:*' menu
bindkey '^J' menu-complete
bindkey '^O' menu-complete
compinit