Last active
December 4, 2016 18:26
-
-
Save dgoguerra/c3c1624c41d1a62863f1 to your computer and use it in GitHub Desktop.
Open all plain text files with Quick Look, and enable text selection in them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: https://coderwall.com/p/dlithw/use-osx-finder-quicklook-to-preview-all-plain-text-files | |
# download last release from https://github.com/whomwah/qlstephen/downloads | |
wget https://github.com/downloads/whomwah/qlstephen/QLStephen.qlgenerator.zip | |
# copy the plugin to /Library/QuickLook/ | |
unzip QLStephen.qlgenerator.zip | |
sudo mv QLStephen.qlgenerator /Library/QuickLook/ | |
# enable text selection | |
# See: https://coderwall.com/p/94rlia/copy-text-code-from-osx-quicklook-directly | |
# TODO: doesn't seem to work on El Capitan... | |
defaults write com.apple.finder QLEnableTextSelection -bool true | |
# reset quicklookd | |
qlmanage -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment