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.

I'd like to change the keyboard mapping from command-line (Terminal) in Mac OS X Lion (10.7).

I can manually set it (System Preferences -> Language & Text -> Input Sources), and there's a nice option that lets me use different input sources for different documents, but I'd like to bind it to a key under zsh to easily swap between Qwerty and Dvorak layouts (I'm learning Dvorak, and having the option to switch easily would be sensational).

share|improve this question

1 Answer 1

up vote 1 down vote accepted

By default the input sources are bound to Command+Space(+Shift for reverse direction), which is the same as used by Spotlight (ask Apple why...). Go into System Preferences > Keyboard > Keyboard Shortcuts tab > Keyboard and Text Input in the listbox on the left to select a different key sequence, or select Spotlight in that listbox to disable the Spotlight binding from shadowing the normal binding.

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.