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.jsonI 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.jsonand 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.
How to insert a file path with tab- or autocompletion relative to the current file's dir?
autocompletion;filesystem