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– Christian Brabandt Jun 30 '20 at 06:33inoremap <tab> <c-x><c-f>What's the problem? – Matt Jun 30 '20 at 07:36:h 'expandtab'. I would still recommend not to remap tab but Matt's comment should be a good answer. – statox Jun 30 '20 at 07:46