osx - How to restore Sublime Text settings and preferences and undo the symlink created in Dropbox? -


how can restore sublime text settings , preferences , undo symlink created in dropbox? cannot access sublime text 2 preferences on machine after creating symlink in dropbox.

these commands ran on primary machine:

cd ~/dropbox ln -s ~/'library/application support/sublime text 2' sublime-text-2-settings 

these created "sublime-text-2-settings" in dropbox root directory.

then on second machine, ran following commands:

cd ~/library/application\ support/sublime\ text\2/ rm -r packages ln -s ~/dropbox/sublime-text-2-settings packages 

this from: https://github.com/rowno/rolandwarmerdam.co.nz/blob/master/app/_posts/2013-01-09-sync-sublime-text-2-settings.md

now, sublime text 2 on both machines being rendered in total black , white color scheme, black sidebar too, it's impossible view files. also, cannot access preferences on either machine making impossible move forward.

  • how can undo symlink?
  • how can access preferences on primary machine?

i spent hours customizing preferences , adding packages , hate loose all.

resolved (by brute force).

  1. unlink symbolic link (unlink /path/to/sym/link) (on both machines)
  2. copy + paste - packages folder in ~/'library/application support/sublime text 2' sublime-text-2-settings on primary machine.
  3. reinstall sublime text on secondary machine.
  4. restart sublime on both machines.

aaand, in action!

though #3 , #4 didn't have in particular order. seems main problem packages folder got moved on primary machine , replaced symbolic link on second machine. symbolic link missing packages folder since had moved on primary machine before symbolic link created.


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -