Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to tell OS X to use the quicklook text viewer for files with specific extensions?

For example, I use emacs org-mode for tasks lists, etc. Usually I view (and edit) these in emacs, however sometimes I browse in Finder and want to know the contents of an org file.

Similarly, this would be helpful for .conf files.

I know that I could search for custom QuickLook plugins (or create one) but it'd be easier and good enough just to use the simple text viewer.

share|improve this question
I installed QLStephen, which did successfully allow me to QuickLook my .org files. But it caused other problems. – incandescentman Feb 25 at 23:06
up vote -1 down vote accepted

Based on the sample UTImportedTypeDeclarations from qlcolorcode, I use this entry:

        <string>Org-mode Text</string>

Don't forget to run 'sudo qlmanage -r' from the Terminal(or relogin) to pick up the changes.

share|improve this answer
Worked, but I also had to touch /Applications/ – Doug Harris Dec 7 '10 at 14:48
Where am I supposed to put this code? – incandescentman Jul 31 '15 at 23:15

You should be able to apply these instructions to adding the extension to TextEdit (rather than TexShop) to get what you want.

Good luck!

share|improve this answer
Tried this, didn't take. – Doug Harris Mar 2 '10 at 14:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.