Filename completion in VimVim have filename completion, to test it try to write :e<tab> I have been annoyed for some time that Vim tries to complete to a filename instead of completing to the longest possible part of the filename (like bash). Preferably I would like it to behave like bash, so <tab><tab> shows a list of possible completions. So I googled and found this article. I now use these options: This way vim will autocomplete filenames to the longest possible, and if there is more than one match, it will also show the different matches in the status bar. You can then use the arrows to select the match or you can continue typing the rest of the filename.
|