Use OSX Finder Quicklook to preview all plain text files:
https://coderwall.com/p/dlithw

Copy text/code from OSX QuickLook directly:
https://coderwall.com/p/94rlia

Tags: ,