I want to include the display of my terminal in a beamer presentation.  Simply taking a screenshot, however, produces a fairly low-resolution png that looks poor in the presentation.  I would like it if I could somehow create a PDF of the terminal display, so the image looks crisp and clean in the presentation.  As a note, I'm viewing a file in VIM, which applies very nice syntax highlighting that I'd like to preserve.  This is why I don't just copy and paste the text to a word processor and save as PDF.  Is there any way to achieve what I want?
Export terminal display to PDF
terminal;vim;pdf
I would try writing the syntax-highlighted code as an HTML file, using the VimSyntax->Convert to HTML menu option. Then open the HTML in a browser and print to a PDF file. You can of course edit the HTML if you want to show just a section of the code, or use pdfcrop to isolate the region of interest.