- Using package control, install Gists
- Preferences -> Browse Packages -> Gist -> edit Gist.sublime-settings
- Follow these directions to create GitHub access token - https://github.com/condemil/Gist#generating-access-token
- Enter the token in Gist.sublime-settings
- Uncomment "gist_prefix": "Snippet" (or whatever you would like to use, and make sure to add a comma to the last uncommented config line before that)
- Save the settings
- Open a new Sublime Text file and enter the text for your gist
- Ctrl+Shift+p to open the command palette
- Type Gist and select Create Public Gist
- Enter the name of your Gist preceded by Snippet
- Hit enter
- No need to add a name so hit enter again
- Finished
Last active
August 29, 2015 14:15
-
-
Save ncronquist/afd9e7e52b3e89dfeec4 to your computer and use it in GitHub Desktop.
Snippet:How to use Gists for Sublime Text 2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment