Jake Worth

Jake Worth

Printing Code on a Mac

Published: October 13, 2020 2 min read

  • til

A few times over the years, I’ve had to print out code that I’ve written onto physical paper. I have heard that some teams do team code reviews on paper, which sounds fun. Getting code to look good on paper can be tricky, especially for the Vim and Emacs users out there.

My solution? Open the file in TextEdit, which ships on every Mac. TextEdit displays the file in plain text, just like Vim. ⌘ + P to print it.

Do this even faster via the command line:

$ open -e your-file.txt

What are your thoughts on this? Let me know!

Join 100+ engineers who subscribe for advice, commentary, and technical deep-dives into the world of software.