Select And Copy Text Right In Quicklook

First launch Terminal app, and paste or type in the following command:

defaults write com.apple.finder QLEnableTextSelection -boolean YES;

 

Then restart the finder with the following command:

killall Finder

 

Source: http://www.cultofmac.com/216414/select-and-copy-text-right-in-quicklook-os-x-tips/