App state being saved in iterm2.plist doesn't play well with synced settings
- iTerm2 version: 3.3.12
- OS version: MacOS 10.15.6[com.googlecode.iterm2.plist]
- Settings: com.googlecode.iterm2.plist
It's relatively common to sync iTerm configs across computers by setting the "Load preferences from custom folder or URL" setting to a directory in a git repo, then occasionally syncing with the git remote. However, iTerm appears to save some things in iterm2.plist
that shouldn't be synced across computers, such as window positions (under the NSWindow Frame iTerm Window N
keys). For users who use this particular workflow, this causes annoying churn at best, and frustrating merge conflicts at worst.
This issue proposes separating iTerm2 app state storage from user-configured settings into separate files. That way, the "Load preferences from custom folder or URL" setting could only load the preferences file from the external source, or at least the app state storage file could be gitignored.