To open a file in vim, I usually type ‘:e ‘ and then hit tab until the file I want appears.
However, I always get in a rhythm and inadvertently go ONE past the desired file. Without knowing how to move backwards, I end up tabbing all the way to the end and repeating the whole process.
Is there a way to perform the filename completion in reverse order?
Shift-Tabgoes backwards.You can also use
set wildmenuto get a list of matching file names above the status bar when you do file name completition withTab. Then you can select the file name with the arrow keys from this list.