I would like to have a file that contains all files that I opened with vim in the past. I know that there is the viminfo file but I want to have just a file with the filenames.
For this I would like to write the list of open buffers with autocmd VimLeave
to a file.
I tried :ls | w >> test.txt
but this does not work correctly.
I know that there is the viminfo file
Do you also know that there's:oldfiles
command? Doesn't it make the whole idea of having "an own file" useless? – Matt Nov 21 '19 at 10:17