Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Github Gist plugin for Sublime Text 2
branch: master

This branch is 1 commit ahead, 112 commits behind bgreenlee:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Sublime Github

This is a plugin for the Sublime Text 2 text editor that allows you to create public or private Github Gists from the currently selected text.


cd ~/"Library/Application Support/Sublime Text 2/Packages/"
git clone

The plugin should be picked up automatically. If not, restart Sublime Text.


First, your Github username and API token needs to be set. See to see how to do this. Then:

  1. Select some text.
  2. Bring up the Command Palette (⇧⌘P by default)
  3. Start typing "Github", and select either "Private Gist from Selection" or "Public Gist from Selection"
  4. At the bottom of your editor, you'll be prompted for a description. After entering that, you'll be prompted for a filename.
  5. The url for your new gist will be copied to the clipboard.



Copyright © 2011 Brad Greenlee. See LICENSE for details.

Something went wrong with that request. Please try again.