Starting vim
(8.0) with an empty .vimrc
, or as vim -u /dev/null
.
Executing:
:set nocompatible
:set wildmode=list
On the screen:
:e .config/█
I always thought that what happens when you press Tab
is the result of my statusline
or laststatus
, but changing those do not affect the result:
:e .config/
alot/
aurgetrc
aurvote
awesome/
compton.conf
:e .config/█
Notice the duplicated :e .config/
at the top.
The command line is still in the bottom, and what happens next when I type a
and press Tab
falls beyond by comprehension:
:e .config/
alot/
aurgetrc
aurvote
awesome/
compton.conf
:e .config/a
alot/ aurgetrc aurvote awesome/
:e .config/a█
It keeps the whole command line completion history for each Tab
press. Further:
:e .config/
alot/
aurgetrc
aurvote
awesome/
compton.conf
:e .config/a
alot/ aurgetrc aurvote awesome/
:e .config/au
aurgetrc aurvote
:e .config/au█
Needless to say that if I remove au
hitting Backspace
, and then press Tab
again, even more lines are added.
I expect to see command line and wild menu displaying very recent list of completion options when Tab
is pressed. How can this be done?
aurgetrc aurvote
:e .config/au█
longest,full
. However, I'd like to understand the reasoning of this behavior.