How to Enable Text Selection in Quick Look [Mac]

One of my personal favorite Mac OS X features is Quick Look. This quick preview feature, which can be activated by pressing the spacebar or via right-click, lets you look at the contents of a file in Finder at a larger size. It works for documents, images, and most video formats – you can even play videos via Quick Look. This feature really saves you time because in most cases, it eliminates the need to open other programs to view files.

Unfortunately, one of the downsides to using Quick Look is the lack of text selection for documents. Instead you’re forced to open a document in TextEdit, Pages, Word, etc just to copy the text that you need to paste elsewhere. Luckily, you can quickly¬†enable text selection by pasting a single line in Terminal:

defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder

Text selection enabled in Mac Quick Look.

Now, when you use Quick Look for a text document, you will be able to select and copy text with ease.