导出 Sublime Text 配置和安装的包 [英] Exporting Sublime Text configuration and installed packages

查看:76
本文介绍了导出 Sublime Text 配置和安装的包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了大量时间来调整 Sublime Text 2 配置.现在我想与我的朋友分享我的配置(一个文件)和已安装的软件包列表.什么是最好的方法来做到这一点?手动选择 Packages 中的相关文件夹并压缩它们或其他什么?最好我想创建一个自动脚本,可以复制粘贴给我的朋友和其他人.

I have spent considerable time to tune up Sublime Text 2 configs. Now I would want to share my configurations (one file) and installed packages list with my friend. What would be the best way to do this? Manually pick related folders in Packages and zip them or something else? Preferably I'd like to create an automated script which could be copy-pasted to my friend and others.

我的朋友正在使用 Linux.我使用的是 OSX,这可能会导致一些额外的问题.

My friend is using Linux. I am using OSX, which may cause some extra problems.

推荐答案

如果您正在使用 Package Control,请发送给您的朋友 Package Control.sublime-settings.事实上,在机器之间传输设置的最简单方法是在机器之间移动 User 包.这与包装控制相结合,使得在新机器上的设置相对快速且轻松.您朋友可能遇到的唯一问题是键绑定不匹配或其他系统特定设置.这些文件具有符号some_name (platform).extension.除此之外,我不会预见任何问题(除非您使用的是 OS X 特定插件).

If you are using Package Control, send your friend Package Control.sublime-settings. In fact, the easiest way to transfer settings between machines is to move the User package between machines. This, in combination with package control, makes setting up on a new machine relatively quick and painless. The only issues your friend might have is mismatched key binding or other system specific settings. These files have the notation some_name (platform).extension. Other than that, I wouldn't forsee any issues (unless you are using OS X specific plugins).

这篇关于导出 Sublime Text 配置和安装的包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆