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.

This is my first post at AskDifferent, hopefully it works out.

My problem:

  • i want to insert the symbol "λ" aka 'lamda' everytime i use the Option-L key. However, by default my OS Mountain Lion inserts "¬".

My question:

  • How can i change this permanently and for every application i open (i.e. any browser, MS Word, Finder, etc…). I've never used "¬" but as an engineering student i very often require "λ."

This post was very informative and in depth:

How can I expand the number of special characters I can type using my keyboard?

However i have no desire to change my overall layout – only a couple keys. It didn't really address the simple question i have.

Is there a way to do this without creating a new keyboard layout? Can i not simply change a single special character from "¬" to "λ" ? I am currently looking at the "Ukelele" application but i don't want to be creating all sorts of new stuff.

Thank You.

share|improve this question

3 Answers 3

You might want to try just defining ¬ as λ in system prefs/language & text/text/symbol and text substitutions. Normally you need to type a space or another character to get the switch, and there may be some apps it does not work in (Pages and Word have their own symbol and text substitution settings).

share|improve this answer

Is there a way to do this without creating a new keyboard layout?

You can do it by defining Service:

  1. Run Automator
  2. Choose a type for your document: Service
  3. Check Text from Library on the left
  4. Double click Get Specified Text
  5. On the right check Output replaces selected text
  6. Paste your character into text editor window of "Get Specified Text"

  7. Run System Preferences and choose Keyboard -> Keyboard Shortcuts

  8. Choose Services
  9. Find your brand new service and assign it a shortcut

Or with key bindings.

share|improve this answer

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

{
    "~l" = (insertText:, "λ");
}

After reopening applications, ⌥L should insert λ in most text views. It doesn't work in for example Terminal or Xcode though.

Other options:

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.