0

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?

3 Answers 3

1

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.

1

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.

0

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.

You must log in to answer this question.

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