Sublime Forum

Change the Location of User Keybind and Settings Files

#1

I would like to change to the location of the user keymap and settings files in order to back them up and propagate changes to them. How can I specify a location other than the Packages directory?

0 Likes

#2

You can’t; Sublime has a predefined set of locations in which Package contents will be found and loaded. Is there a reason you can’t just back up the User package as a whole? Usually people do so because it allows their entire Sublime configuration to be synced between machines.

Apart from that, you could:

  1. Use a portable version, in which case although you can’t specify a path outside of Packages/User, you can control where Packages/User exists on the disk
  2. Create a symlink to the appropriate files from another location (but this may interrupt Sublime’s ability to detect that the file is changing, in which case you would need to quit and restart every time the file changes)
0 Likes

#3

Thanks, I’ll look into backing up the user directory itself.

0 Likes