Created
December 19, 2017 05:38
-
-
Save sfengyuan/87250f8a7ae0c55ee15716f3138eb1fa to your computer and use it in GitHub Desktop.
Sync sublime text, vs code, cmder with dropbox on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Ensure the two sublime text folders are moved into drobox first. | |
:: Sublime text uses links to work. | |
mklink /j "D:\Program Files\st3\Data\Packages" "E:\Dropbox\st\Data\Packages" | |
mklink /j "D:\Program Files\st3\Data\Installed Packages" "E:\Dropbox\st\Data\Installed Packages" | |
:: Dropbox uses links to sync vs code. | |
:: In vs code, custom keymap should be done with keybindings.json, otherwise they won't be saved to dropbox. | |
mklink /j "E:\Dropbox\code\User" "%appdata%\Code\User" | |
mklink /j "E:\Dropbox\code\.vscode" "%USERPROFILE%\Code\.vscode" | |
:: Ensure the cmder config is moved into Dropbox first. | |
:: Cmder uses links to work. | |
mklink /j "D:\Program Files\cmder\config" "E:\Dropbox\cmder\config" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment