akalongman / sublimetext-autobackups

Sublime Text 2/3 Auto backups plugin
MIT License
71 stars 22 forks source link

Platform Independent Path to Sublime Folder #17

Open nfarrar opened 9 years ago

nfarrar commented 9 years ago

Is there a platform-independent way to save the backup files into our Sublime User directory, for example on OSX:

~/Library/Application Support/Sublime Text 3/Packages/User/AutoBackups

I can hardcode the path and the tilda expansion works correctly, but it's not portable to windows & linux.

thecotne commented 9 years ago

you can create 3 different settings file for different platforms

see http://docs.sublimetext.info/en/latest/customization/settings.html#types-of-settings