Skip to content

Instantly share code, notes, and snippets.

@durgaswaroop
Created October 22, 2018 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save durgaswaroop/4a3732086fbaa13d77335bac20e46b1f to your computer and use it in GitHub Desktop.
Save durgaswaroop/4a3732086fbaa13d77335bac20e46b1f to your computer and use it in GitHub Desktop.
Sync all dotfiles together starting with vim

Create directory hard links in Windows:

# Link .vim in the users directory to the .vim in Drive
mklink /J .vim GoogleDrive\DotFiles\.vim # Run from user home directory

# Link vim directories in vimfiles directory to corresponding folders in Drive
mklink /J "C:\Program Files (x86)\Vim\vimfiles\autoload" GoogleDrive\DotFiles\.vim\autoload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment