Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filename completion in reverse order

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?

like image 804
user85509 Avatar asked May 21 '26 10:05

user85509


1 Answers

Shift-Tab goes backwards.

You can also use set wildmenu to get a list of matching file names above the status bar when you do file name completition with Tab. Then you can select the file name with the arrow keys from this list.

like image 93
sth Avatar answered May 23 '26 23:05

sth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!