Skip to content

Instantly share code, notes, and snippets.

@terrydang
Last active May 25, 2016 08:35
Show Gist options
  • Save terrydang/455e53a9f84c511a48d98614b700f72a to your computer and use it in GitHub Desktop.
Save terrydang/455e53a9f84c511a48d98614b700f72a to your computer and use it in GitHub Desktop.
Sublime text 3 安装和配置 Gist 插件(OSX 10.11.5)

Sublime text 3 安装和配置 Gist 插件(OSX 10.11.5)

1. 安装 Gist

$cd /users/terry/Library/Application Support/Sublime Text 3/Packages
$git clone git://github.com/condemil/Gist

2. 配置 Gist 所需的 token ( 用于授权 github )

获取 token
  • 登录 GitHub 网站,进入个人设置的 Personnal access tokens
  • 点击 Generate new token,填写 Token description,scopes 选择 gist
  • 复制生成的 token
配置 token 到 Sublime Text 3
  • 打开 Sublime ,点击左上角菜单Sublime Text -> Preferences -> Package Setting -> Gist -> Settings-Default

  • 在打开的文件中配置:

      "token": "你的token"
    
  • 保存文件

3. 安装配置完成

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment