#Sublime Text 3 Packages Sync
Created by shede333
in 2014年05月23日 Friday PM 17:52
Sync Local Path: /Library/Application Support/Sublime Text 3/Packages/User
可以通过点击sublime的 “Preferences -> Browse Packages...” 来打开 Packages 文件夹
Below refer:Usage - Package Control
##Usage Basic Functionality
Package Control is driven by the Command Pallete. To open the pallete, press ctrl+shift+p
(Win, Linux) or cmd+shift+p
(OS X). All Package Control commands begin with Package Control:
, so start by typing Package
.
The command pallete will now show a number of commands. Most users will be interested in the following:
###Install Package
Show a list of all available packages that are available for install. This will include all of the packages from the default channel, plus any from repositories you have added.
###Add Repository
Add a repository that is not included in the default channel. This allows users to install and automatically update packages from GitHub and BitBucket. To add a package hosted on GitHub, enter the URL in the form https://github.com/username/repo. Don’t include .git at the end! BitBucket repositories should use the format https://bitbucket.org/username/repository.
###Remove Package
This removes the package folder, and the package name from the installed_packages
list in Packages/User/Package Control.sublime-settings
. The installed_packages
list allow Package Control to automatically install packages for you if you copy your Packages/User/
folder to another machine.
By default Package Control checks for new versions on startup. This setting, plus the list of channels and repositories are managed through the Settings.
##sublime迁移、备份
点击sublime的 “Preferences -> Browse Packages...”
,打开了 Packages 文件夹,里面有个重要的文件夹 User ,这个文件夹记录你sublime的当前所有 设置+插件 ,用于迁移、备份sublime的 设置和插件 。设置包括主题配色,快捷键,其他User-Setting
比如,你在另一台电脑NewPC上安装了sublime,那么你用老电脑OldPC上的 User 文件夹,替换新电脑上对应的 User 文件夹,那么你老电脑上sublime的 设置和插件 都会迁移过来(插件会重新安装,但插件数量不会变)。注意,迁移过来 User 文件后,插件不会自动安装,你需要先安装 Package Control,安装方式参考下面,Package Control安装成功后,你其余的插件会自动安装上的,安装插件会花费一点时间的,想要知道安装进度,可以打开sublime的控制台(通过快捷键 ctrl + ` 打开控制台)。
如果NewPC 和 OldPC 的系统不一致(比如一个Linux,一个Mac),那么迁移前后的快捷键设置会不一样。
我这个git库,就是在 User 文件夹下创建的,用于随时备份、重置我的sublime
###Package Control的安装步骤
使用 ctrl+` 快捷键 或者 点击菜单栏 View > Show Console menu 来打开控制台,将 此页 里面的代码黏贴进去,然后回车,一会儿就安装完成.
参考:https://packagecontrol.io/docs/syncing
##Other
Sublime Text 插件搜索地址:https://packagecontrol.io/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。