Select and copy text within Quick Look previews

I'm a big Apple fan and my first work station was Macbook Air. Now i switched to Macbook pro and recently found a nice solution that allows you to copy text from Quick Look preview - it makes my life way more easier and handy. Here's how you can do it :
  • Open Terminal
  • Paste next command :

defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder
And that's it! Now you can find any text file, push Space button and you'll get Quick Look preview of it. Now you can select text from it and copy -> paste into another place.

In case if you want to disable this feature , you can always run next command in the Terminal :
defaults delete com.apple.finder QLEnableTextSelection; killall Finder