I am in vim in the .gitignore
file. I now want to add a file path that already exists on the current dir, e.g.
./app/poit/narf/auth.json
I don't want to type it though, I want to navigate to that file somehow with tabcompletion in vim and then insert its filename in the .gitignore
file.
How can I achieve this?
What I know I can do is open the editor command
:e app/poit/narf/auth.json
and I can have tabcompletion here. Yet this only gets me the text in the command window, and now I have to yank it somehow inside the buffer. I am also looking more for a more fit solution.