Sublime Forum

How do i store Snippets in a dropbox folder and load them?

#1

I want to share my snippets between 3 locations. So i want to store them in my dropbox folder and then just have Sublime load them from that location… rather then the packages/user folder.

Is this possible? if not … It needs to be. Can someone let me know how to do this… I am new to sublime and like it alot so far.

0 Likes

#2

Check this out:
en.wikipedia.org/wiki/Symbolic_link

There is a variant for each OS. On windows is mklink, on *nix is ln, you dig deeper from here :smile:

0 Likes

#3

I found this in the FAQ but cant seem to get it to actually work:

[quote]Yes. Sublime Text may be installed to any location, however it will read and write your settings to %APPDATA%\Sublime Text. You can change this to use a directory on the USB key, by running Sublime Text with the --data flag, for example:

SublimeText.exe --data “E:\Sublime Text Data”[/quote]

is the syntax for the example still true?

0 Likes

#4

I am on Linux and I keep sublime Data folder in my USB stick here: /usb/sublime_data

This is how I did:
cd /opt/sublime_text_3
ln -s /usb/sublime_data Data

So I have a symbolic link to /usb/sublime_data folder and it works.

0 Likes