Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

In Keynote and Pages (and other apps), I can set a preference in the Auto-correction pane to use smart quotes. However, I'm writing a bunch of slides that include code. When typing the code, I don't want to use smart quotes, as they are syntactically incorrect for the language I'm using. On the other hand, I often have descriptive text where I'd like to use the smart quotes.

I'm getting sick of bringing up the preferences pane several times in a row, just to switch my smart quotes preference back and forth. There has to be an easier way. I know that cmd-, makes getting to the preference pane easy, but then I have to click one or more mouse clicks.

Is there? Can I do something so that my smart quote choice is made as I type the quote?
Or is there a way to make the switching easier? Or can I map a different key somewhere to "smart quote"? That wouldn't be so bad -- hit the caps lock key for smart quote and the regular key for straight quotes. Oh, wait, I need to do that for apostrophe also. . .

share|improve this question

3 Answers 3

up vote 3 down vote accepted

iWork '09 apps don't seem to have an Edit > Substitutions menu, but in ones that do you can set up a custom shortcut for toggling the Smart Quotes item:

share|improve this answer

I came up with an entirely different suggestion. Turn off the automatic smart quotes altogether, and learn to type them manually instead.

On the U.S. standard keyboard layout:

Open printer's quote can be typed manually by Option-[.

Close printer's quote can be typed manually by Shift-Option-[.

Open printer's apostrophe can be typed manually by Option-].

Close printer's apostrophe can be typed manually by Shift-Option-].

So if you can train yourself to touch-type those key combinations, you can go back and forth from straight quotes to printer's quotes without needing to toggle system settings.

share|improve this answer
    
Or you can customize these for a more sensible combination: danandcheryl.com/2010/08/how-to-type-curly-quotes-in-mac-os-x –  Charlie Gorichanaz Jan 16 at 19:37

You could probably use system prefs/language & text/text/symbol and text substitution to set up shortcuts for this.

Smart stuff already has keyboard shortcuts: Option and Option + Shift plus [, Option and Option + Shift plus ] on a US layout. “ ” ‘ ’ These could be remapped with Ukelele.

share|improve this answer

Your Answer

 
discard

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.