http://qs321.pair.com?node_id=548101


in reply to hardcopy printout of perl code

I can get some beautiful color syntax hilighting in vim...

Just :set popt=syntax:y and vim will print in color - if you have a color printer, of course. For more info, :help popt (short for printoptions) and :help popt-option. If you already have some options set you want to keep, set popt+=syntax:y will add the syntax option.

Vim actually claims to print in color if it detects a color printer, but I've never seen it happen.