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.
:ls | w >> test.txt but this does not work correctly.