Reputation: 18585
I have used the following options in my *.vimrc
to get the command completion:
" -- Show matching options in the airline
set wildmenu
set wildmode=list:longest,full
set showcmd
" --
When used alongside the airline plug-in, the results are odd:
How can I only keep the single line scroll bar with all the matching options?
Upvotes: 0
Views: 387
Reputation: 18585
@romainl, thanks for the contribution. For the record, the desired behaviour can be obtained with use of the following settings:
" -- Command menu in one line
set wildmenu
set wildmode=full
" --
Upvotes: 0
Reputation: 196546
What you have in that screenshot is in line with the value you set for wildmode
so… Vim does exactly what you tell it to do. If you want another behavior you will have to experiment with the different possible values.
From :help 'wildmode'
:
"list:longest" When more than one match, list all matches and
complete till longest common string.
Basically, you will get that unwanted (but explicitly requested) columnar list as long as you keep list
in your 'wildmode'
.
IMO, the only usable value is full
.
Also, this question has nothing to do with vim-airline.
Upvotes: 2