How to dynamically choose smart or non-smart quotes

text;

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. . .

Best Answer

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: