sublime-text 插件推荐(持续更新)

安装

1. Windows

便携版
exe版

2. Linux

  1. curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg
  2. echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
  3. sudo pacman -Syu sublime-text

输入命令:subl 即可打开神器!

sublime 的插件安装有两种方式:

  1. 可从官网下载,
  2. package-control,推荐使用

1. package-control

ctrl + `,调出 sublime的命令行,输入如下代码:

import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

几十秒之后,关闭并重启 sublime,菜单->preferences->package control,说明安装成功,点击可得到

一切的插件安装都可通过其中的 Install package 完成,用法都很简单

2. Sync Setting

可将配置信息上传至 github,多终端同步,对于换电脑的人来说简直是福音,立刻恢复曾经的设置.
preferences -> package control -> Install Package -> Sync Setting
未完,preferences -> Package Settings -> Sync Settings -> Settings-User,填写 token 以及密钥,保存,我的配置如下:

{
    "access_token": "203f8c11bd1778b311f50211d3798821a180001a",
    "gist_id": "e1419bf6cca41dc7045441cef0f99b21"
}

Preferences > Packages Settings > Sync Settings > Sync Settings: Download
过一段时间,即可.

推荐列表

待续

你可能感兴趣的:(sublime-text 插件推荐(持续更新))