Version control for config files is super handy! Who knew!?
All dotfiles should be modified in ~/dotfiles
, then synchronised with the home directory by running something like...
cd ~/dotfiles
stow vim
Sublime's a trickier one to synchronise. Symlinks need to be created to the appropriate folders on each operating system.
The easiest way to achieve this on Windows is using a Junction.
mklink /J "%APPDATA%\Sublime Text\Packages" "%HOMEPATH%\dotfiles\sublime"
ln -s /home/username/dotfiles/sublime /home/username/.config/sublime-text-3/Packages
ln -s /home/username/dotfiles/sublime /home/username/Library/Application\ Support/Sublime\ Text\ 3/Packages