Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to configure keyboard shortcuts for special character on OS X? For example, one would set ALT+C to ©.

share|improve this question
    
This question: apple.stackexchange.com/q/49565/73607 on the Apple SA is similar, and has some nice answers. –  JW. Mar 27 at 13:28
add comment

3 Answers

To type © on a Mac, it's Alt+g

To configure keyboard shortcuts for special characters on OS X:

System Preferences > Language & Text > Text > Symbol & Text substitution. Use the + on the bottom of the list to add the ones you want.

EDIT 08/19/12:

According to http://www.macworld.com/article/1160500/text_substitutions.html, you can make Text Substitution universal in Macs by executing the command in Terminal:

defaults write -g WebAutomaticTextReplacementEnabled -bool true
share|improve this answer
    
I have made an edit to the answer, hope this helps. –  superuser Aug 19 '12 at 4:18
1  
Symbol & Text substitution is not working for my editor, sublime. –  Dokkat Aug 19 '12 at 4:29
1  
I'm not familiar with Sublime, but I found this article which might help in your case: macworld.com/article/1160500/text_substitutions.html –  superuser Aug 19 '12 at 4:38
    
@superuser, that link contains some nice info. Please add the defaults write and Edit > Substitutions to your answer. –  user3463 Aug 19 '12 at 6:03
    
The defaults command does the same thing as the checkbox in the Language & Text preference pane. –  Lauri Ranta Aug 19 '12 at 9:45
show 1 more comment

Create ~/Library/KeyBindings/ and save a property list like this as DefaultKeyBinding.dict:

{
    "~c" = (insertText:, "©");
}

Applying changes requires reopening applications. The custom keybindings don't work in all applications or views, but they do seem to work in Sublime Text 2.

For more information, see hcs.harvard.edu/~jrus/Site/Cocoa%20Text%20System.html and lri.me/keybindings.html.

You could also make a custom keyboard layout with Ukelele or create a private.xml in KeyRemap4MacBook.

share|improve this answer
add comment

You can trick your computer into auto-correcting some string of text into the symbol of your choice.

On Mavericks, go to: System Preferences > Keyboard > Text

I told mine to replace "theta" with "θ"

Yep, that worked.

share|improve this answer
add comment

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.