To back up settings
- Go to Prefs > General > Preferences.
- Turn on Load preferences from custom folder or URL.
- Enter the folder where you want to save the backup in the text field under Load preferences from custom folder or URL.
- Click Save Current Settings to Folder.
To erase settings
- Quit iTerm2
- In Terminal.app, run
defaults delete com.googlecode.iterm2
To restore settings
- Go to Prefs > General > Preferences.
- Turn on Load preferences from custom folder or URL.
- Enter the folder where you have saved the backup in the text field under Load preferences from custom folder or URL.
- Restart iTerm2