Home Download Buy Blog Forum Support

Sublime Portable + Dropbox

Sublime Portable + Dropbox

Postby edanm on Thu Jul 01, 2010 2:15 pm

Hey everyone,

Does anyone have any tips and tricks for using Sublime with Dropbox?
What I did now was just to dump the portable version of Sublime with all my settings into my Dropbox, and then use it from all my computers.

I'm actually kind of worried that I'll have problems with things like the Project MRU list, since all the directories will be switched each time I switch the computer I'm using. Anyone have any experience with this?

Thanks,
Edan
edanm
 
Posts: 131
Joined: Thu Mar 04, 2010 11:05 pm

Re: Sublime Portable + Dropbox

Postby EJ12N on Tue Jul 06, 2010 5:50 pm

sync all the %appdata%/sublime text/packages folder. All settings and plugins will be on all your computers but, tabs and sessions will be independent for each computer... This is the "best" way in my opinion since the path for working files are *most of the time* going to be different across different computers. This way you can have for example your work computer with work files and your laptop with some other project but sharing same settings/plugins :)

you can use this .bat file to sync packages folder.

Code: Select all
ren "%appdata%\Sublime Text\Packages" "Packages.ORIG"
mklink /D "%appdata%\Sublime Text\Packages" "C:\.DropBox\My Dropbox\SublimeTextPackages"


change the dropbox path to match yours of course.
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Sublime Portable + Dropbox

Postby edanm on Wed Jul 07, 2010 8:37 am

Where is the information on the current tabs/etc. actually kept? I thought it was kept in the Packages folder.

Also, where is plugin-specific information kept? For example, where does the ProjectMRU keep its files?

Thanks!
edanm
 
Posts: 131
Joined: Thu Mar 04, 2010 11:05 pm

Re: Sublime Portable + Dropbox

Postby gpfsmurf on Wed Jul 07, 2010 7:11 pm

edanm wrote:where does the ProjectMRU keep its files?

In its own folder: sublime.packagesPath() + "/ProjectMRU/ProjectMRU.db"
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: Sublime Portable + Dropbox

Postby Esente on Tue Aug 17, 2010 5:11 am

If you use Forum Build with Selective Sync, you can tell DropBox to ignore Data/Options and Data/Packages/User/Session. It works for me, but I don't have MRU plugins so I can't tell.
Esente
 
Posts: 26
Joined: Mon Aug 16, 2010 7:20 pm

Re: Sublime Portable + Dropbox

Postby Kensai on Tue Aug 17, 2010 1:13 pm

I use ST on Dropbox as my environment for prose only and it works flawlessly. My data is all up on Dropbox, too, so it always comes up with the exact tabs and positions I had last used. Of course, I'm not using anything fancy like you guys do (coding is more than a bit beyond me), but it seems to load up a bit snappier than it does from HD on my machines, and certainly faster than from USB drive. Not sure how that's possible, but it sure is nice.

Kensai
Kensai
 
Posts: 33
Joined: Mon Aug 24, 2009 8:19 pm


Return to General Discussion

Who is online

Users browsing this forum: demetris, Exabot [Bot] and 18 guests