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