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.

We know how to setup Home/End/Page Up/Down keys in Terminal.app 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

3 Answers 3

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/com.apple.Terminal.plist 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 com.apple.Terminal.plist. It can be converted from binary to XML with plutil -convert xml1 ~/Library/Preferences/com.apple.Terminal.plist.

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

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.