I found out about printing using the :hardcopy
command, and on my Mac it opens up the output in a PDF named "0.pdf", then the next printing from that file opens "1.pdf", etc.
I can save these files, of course, but I'm wondering: Where are these files stored on disk? Is there a setting which controls it somewhere?
I haven't been able to find the output files anywhere, including checking /tmp
. Appreciate any tips in the right direction.
:set printexpr?
yields system('open -a Preview '.v:fname_in) + v:shell_error
The PDF viewer can't be made to show the file as being anywhere. All usual methods for finding where the currently open file is aren't working at all.
printexpr
setting should be used for this; so using:set printexpr?
might yield some useful information?