Exporting to pdf from vim

less than 1 minute read

Export a vim file in whole or in part to postscript using :hardcopy >file.ps. Then use ps2pdf <file.ps> to convert to pdf.

Leave a Comment