# Sublime Text 3 Packages Sync **Repository Path**: shede333/Sublime-Text-3-Packages-Sync ## Basic Information - **Project Name**: Sublime Text 3 Packages Sync - **Description**: 用于同步 Sublime Text 3 的插件、设置等等 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 7 - **Forks**: 0 - **Created**: 2014-05-23 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #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](https://sublime.wbond.net/docs/usage) ##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](https://sublime.wbond.net/browse), 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](https://github.com/username/repo). Don’t include .git at the end! BitBucket repositories should use the format [https://bitbucket.org/username/repository](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__ 来打开控制台,将 __[此页][pc_install]__ 里面的代码黏贴进去,然后回车,一会儿就安装完成. ## .gitignore 文件 参考:[https://packagecontrol.io/docs/syncing]() ##Other Sublime Text 插件搜索地址:[https://packagecontrol.io/][pc_plugin] [Package Control 的使用][pc_usage] [Package Control 的安装][pc_install] [pc_plugin]: https://packagecontrol.io/ [pc_usage]: https://packagecontrol.io/docs/usage [pc_install]: https://packagecontrol.io/installation