def user_preferences(): path = os.path.join(sublime.packages_path( ), 'User', 'Preferences.sublime-settings') return json.loads(open(path).read())