• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Jeff Mikels

…biblical Christianity without conservative idolatry…

  • Home
  • All My Sermons
  • My Blog
    • Longer Articles
    • Christian Leadership
    • Spiritual Health
    • Tough Questions
    • Geekery
    • All Posts
  • About Me
    • My Books
    • My Church
    • FAQ
  • Show Search
Hide Search
Home/Geekery/HOW TO: Create Custom Versions of TextWrangler or other Mac Applications

HOW TO: Create Custom Versions of TextWrangler or other Mac Applications

I maintain two separate workflows. On the one hand, I do a lot of writing, and I like to work in plain text for the most part. As a result TextWrangler is my favorite Mac text editor for that. I have it configured to be all black background, no margins, light color text, etc. It’s perfect for distraction free writing.

I also do web programming and Text Wrangler is the best free text editor for that too. However, when I do web programming, I want syntax coloring, tab indicators, the open file sidebar, and other settings as well.

Ideally, I want to have two copies of TextWrangler with completely different preference files, different icons, etc. I want to create a custom version of my favorite text editor.

With about 20 minutes of Internet searching and 10 more minutes of tweaking, I was able to get 90% of my holy grail customized!

Here’s how to do it yourself with TextWrangler, and I think the principles should apply for creating customized versions of other apps as well.

  1. Copy TextWrangler to a new location (I put it on my desktop at first)
  2. Rename the app file to whatever you want. I chose “DarkRoom” as an homage to WriteRoom.
  3. Right click on the app icon and choose “show package contents”
  4. Double-click on the “Contents” folder
  5. Open up Info.plist using your original TextWrangler App or any other text editor.
  6. Replace all instances of “com.barebones” with “com.custom.barebones” (this changes where OS X stores the preference files on your computer)
  7. OPTIONAL: replace instances of “textwrangler” with your customized name. There is one instance in the original file of “com.barebones.textwrangler” that after step 6 will be called “com.custom.barebones.textwrangler” You can freely change that to anything you want. For mine, I changed the word textwrangler to darkroom.

FINAL OPTIONAL TWEAKS: Replace instances of “TextWrangler” with your customized name. There are hundreds of instances of TextWrangler and changing the wrong ones might break your app, however there are a few ones you can change safely without breaking things. To determine which you can change, read the field. Key string pairs look like this:

<key>CFBundleTypeName</key>
<string>TextWrangler text document</string>

You can safely change any string in the following keys:

  • CFBundleTypeName
  • CFBundleName
  • NSMenuItem
  • NSPortName

ADVANCED TWEAKS: You can also change the icons for the app by going into the “Resources” directory and replacing any one of the icons with a different icon so long as you keep the file name of the icon the same.

When you are done, you’ll be able to have two completely different instances of your app running at the same time with different preference settings and you can associate different file types with different apps.

Here’s a screenshot:

For those who want it, here is my entire plist file.

Info.plist

When you open your edited app, it will behave like a completely new installation of TextWrangler and it will use separate preferences files…

HOWEVER: Your customized app and the original TextWrangler app will use the same recent document list. That means if you have one of them set to “reopen last document” it will open the document that is currently open in the other editor. It’s a bit annoying, but I haven’t found a way to solve that problem yet.

Written by:
Jeff Mikels
Published on:
August 3, 2012
Thoughts:
No comments yet

Categories: Geekery

Previous Post: « Is Modern Worship too Simplistic?
Next Post:
LCC Weekly
September 4, 2012
»

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Articles

Dear Christian Conservative: Vote Your Conscience

Today is Super Tuesday meaning that a large number of states are having their primaries for the Presidential election. Currently, for …

Continue Reading about Dear Christian Conservative: Vote Your Conscience

Let’s Talk about Salvation: Part 2

Salvation and Forgiveness in the Gospel of John In my previous post, I considered a large number of passages in the synoptic gospels (Matthew, …

Continue Reading about Let’s Talk about Salvation: Part 2

Let’s Talk About Salvation and Forgiveness: Part 1

I've been thinking a lot about this idea recently: What would it look like if we were as eager to forgive as Jesus was? This is a tough …

Continue Reading about Let’s Talk About Salvation and Forgiveness: Part 1

Evangelical Idolatry

I've been going through a dilemma. The question on my mind is this: How do I talk about my book with people who don't know me all that …

Continue Reading about Evangelical Idolatry

Explore more

Footer

About Me

Jeff Mikels • 765-404-0807

Copyright © 2025 · Log in

  • Home
  • Blog
  • About Me
  • FAQ
  • Contact