Skip to content

Instantly share code, notes, and snippets.

@cemerson
Created March 24, 2014 09:50
Show Gist options
  • Save cemerson/9737374 to your computer and use it in GitHub Desktop.
Save cemerson/9737374 to your computer and use it in GitHub Desktop.
Sublime Text: Editing Snippets
Sublime Text 3 stores its packages in .sublime-package zip files, so unlike ST2 you can't just go to the Packages folder and see everything. However, there is an excellent plugin called PackageResourceViewer (available via Package Control) that can, among other things, extract files or whole packages to the Packages directory.
Once you've installed the plugin, hit CtrlShiftP to open the command palette, and type prv to get the Package Resource Viewer: options. Select Package Resource Viewer: Open Resource, navigate down the list to LaTeX, then open the section-..-(section).sublime-snippet file. You should now be able to edit this file and save it, which will create a new file Packages/LaTeX/section-..-(section).sublime-snippet that you can open directly via the file menu if you need to alter it again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment