Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We know how to setup Home/End/Page Up/Down keys in using interface, but does anybody know how make it automatically (maybe shell script, or apple script) so you don't need to go again through interface options when switching to another computer?

share|improve this question
up vote 1 down vote accepted

You should be able to copy the preferences file from one machine to the other. It's at ~/Library/Preferences/ You can scp it, email it, or copy it to a flash drive—whatever works :)

That should copy all of your Terminal preferences, including things like other key bindings and themes.

share|improve this answer

You could also use a script or PlistBuddy to edit the keyMapBoundKeys dictionaries in It can be converted from binary to XML with plutil -convert xml1 ~/Library/Preferences/

share|improve this answer

You can export settings profiles (each item in the Settings list is a “settings profile” or “profile”), then import them on the other machine.

To export, you can drag a profile out of the list into Finder. To import, just open the resulting *.terminal file. There are also explicit import/export commands in the action (gear) menu at the bottom of the profile list, and you can drag these files into the list, as well.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .