7
3
After using vim for the better part of a year I've decided to give Sublime Text 2 a whirl.
Using vim my .vimrc
of course grew quite substantial since I constantly found small ways to modify it, I ended up putting my .vim under version control.
I've been using Sublime Text for a few weeks now, installing several plugins, and as I'm exploring plugins and configurations I get a blistering headache trying to keep my work machine (Windows) and my home machine (Linux) in sync.
So, how do I get my configuration back under (version) control?
3Warning: do not create git repositories in DropBox. – Mahmoud Al-Qudsi – 2012-04-22T16:01:21.803
@MahmoudAl-Qudsi Firstly, what does it have to do with my answer and secondly why not? – Nikita Volkov – 2012-04-22T16:03:32.220
1The OP mentioned version control as well as sync. Placing a git repository in a DropBox folder results in corruption of the git database. Same for mercurial. It'll work well for a while, but if it updates as you're saving, it'll be left in an inconsistent and irrecoverable state. – Mahmoud Al-Qudsi – 2012-04-22T16:06:08.660
I couldn't run mklink /d as a regular user, but mklink /j seems to have worked fine after I made sure that directory was not read only. – Mark E. Haase – 2012-04-24T13:14:41.333
This question has a lot more information about possible git corruption with Dropbox. Most people seem to think it's worth the risk. – AnnanFay – 2012-10-26T16:40:32.417
@MahmoudAl-Qudsi I've been using Dropbox+Git very heavily for a past year, switching between a dozen of systems and a lot of projects, and I can say that I haven't had a single bad experience with it. It's proven itself to be absolutely stable in that sense. So all the problems you've experienced with it have probably been fixed for at least a year now. – Nikita Volkov – 2012-10-27T11:31:47.077