I use a lot of tools at work and at home, and im constantly tweaking them in one location or the other. It's somewhat common practice for people to use Git to version their .vim, .vimrc, and other . files, since you can host your config files on github and have the share-ability and all the other advantages that implies. Being able to version and branch my configs sounds like a grand idea, since I'm always messing about with them.
I'd like to discuss the best practice for doing this on a slightly wider scope. How would you implement it?
- Have your configfiles repo in ~/Library/Configs or similar, and symlink the appropriate files?
- How to handle preference files for Applications, ie iTerm2.
- These files are recreated every time, so you'd have to symlink 'backwards' and put a link in the repo? rather than symlinking to the repo, since it would just delete the symlink.