When I press the tab key to complete the name of a file in the

command mode, if there are more than one matching file names, then Vim completes the first matching file name and displays a list of all matching filenames. How do I configure Vim to only display the list of all the matching filenames and not complete the first one? You can modify the ‘wildmode’ option to configure the way Vim completes filenames in the command mode. In this case, you can set the ‘wildmode’ option to ‘list’:

    :set wildmode=list

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind