So i have a bunch of files in a directory. I'm editing another file which have broken links/reference to these same files, and i want to edit them.
There isn't too much so doing it manually wouldn't take long...but how do i autocomplete their filename in the current buffer? example:
examplefile.txt
to
examplefile[TAB]name.txt
Where [TAB] is just the Tab key being pressed, for the sake of illustration.
:h i_CTRL-X_CTRL-F
:h 'expandtab'
. I would still recommend not to remap tab but Matt's comment should be a good answer.