Explain by example.
I want to split my window and open file-x.txt
In the folder where I am working I also have the set of files: from file-a.txt to file-z.txt
If I type:
:sp fileTab
Instead of getting
:sp file- As I usually get in bash.
I get:
:sp file-a.txt
This is not very convenient as I need to either tap Tab ridiculous times or type really long names.
Is there a way to set the auto-complete behaviour for VIM for file names?
Thank you for your time.
The
'wildmode'setting controls the completion in the command line. TryThis should achieve the desired effect.