Skip to content

Recent Articles

4
Aug

How To Type Curly Quotes In Mac OS X

Mac OS X has an easy way to type “curly” quotes and apostrophes instead of "straight" versions. I used both versions in that sentence to show the difference. Here is a bigger version to make the distinction more visible:

Many people think “curly” quotes look better than "straight" ones.

You can use the following keyboard shortcuts to type a single or double curly quote:

  1. Single quote open (‘) — option ]
  2. Single quote close (’) — shift option ]
  3. Double quote open (“) — option [
  4. Double quote close (”) — shift option [

However, I think it makes more sense to use [ and ] for open and close versions instead of the shift key. I found myself constant typing “mismatched‘ quotes. I also wanted to use the shift key for double quotes since that’s how the normal keyboard button works.

  1. Single quote open (‘) — option [
  2. Single quote close (’) — option ]
  3. Double quote open (“) — option shift [
  4. Double quote close (”) — option shift ]

Since OS X supports custom key bindings, I looked for a way to fix this. The trick is to create a file called DefaultKeyBinding.dict in the KeyBindings folder inside your Library folder. You can use this file to override the default key bindings for most applications.

Here are my changes. Please feel free to copy the settings below and save them to your own computer. You may need to create the KeyBindings folder if it isn’t already there.

/*
 Updates Apple's default keybindings for curly quotes.
 See http://www.danandcheryl.com/1072

 Save this file here:
 /Users/<name>/Library/KeyBindings/DefaultKeyBinding.dict
*/
{
    "~[" = ("insertText:", "‘");
    "~]" = ("insertText:", "’");
    "~{" = ("insertText:", "“");
    "~}" = ("insertText:", "”");
}
3
Aug

Someone Cool Wants To Buy My Car

On my way to work today, while waiting at a stop light, a guy in the car next to me leaned out of his window, smiled and signaled that he wanted to talk. I took off my sunglasses, pulled my earphones out and rolled down my window.

“Want to sell your car?” he asked. I admit to being a little taken aback. My car isn’t for sale. He was in a van obviously owned by his employer with another guy driving. He’d seen my car and had the guts to ask a complete stranger waiting at an intersection if he wanted to sell the car he was driving.

“Sure,” I smiled. I don’t really want to sell my car. Not for market value anyway. It’s too much hassle to replace. But if he’s really interested, maybe I could get a good deal. I suppose he already knew how awesome an old Honda Civic can be.

“How much?” he wanted to know. “I have no idea,” I shrugged. He asked how many miles it had (about 200,000) and got my phone number as the light changed.

“I’ll call you,” he promised as we drove off in different directions. I guess I’ll find out. Meanwhile, I am taking a look around my life to see if there is something I want that I haven’t had the guts to ask for.

27
Jul

Family Pictures Summer 2010

We took the kids down to get their pictures taken recently. We ordered digital copies of the pictures this time because I’m too lazy to scan them into the computer. They turned out great.

Kid collage

Kid collage

Kid collage