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

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind