Reputation: 163
In neovim, popup of command-mode complete is vertical, but using left
right
to selete.
Can I change popup to horizontal? or use up
down
to select? How?
up
down
to selectUpvotes: 2
Views: 1370
Reputation: 163
Found a way to use <down>
and <up>
mappings for wildoptions=pum
from https://github.com/neovim/neovim/issues/9953
if &wildoptions =~# "pum"
cnoremap <expr> <up> pumvisible() ? '<left>' : '<up>'
cnoremap <expr> <down> pumvisible() ? '<right>' : '<down>'
endif
Upvotes: 0
Reputation: 322
See :h 'wildoptions'
For the desired behaviour type :set wildoptions=
in neovim.
Upvotes: 4