Skip to content

jordanwade/sublime-text-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sublime Text Snippets

Installation

cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User # Change path if you're using Sublime Text 2
git clone [email protected]:jordanwade/sublime-text-snippets.git Snippets

Git Submodule

If you already have your Sublime Text settings in a repo (such as dotfiles), then use a Git Submodule instead:

cd path/to/dotfiles
git submodule add [email protected]:jordanwade/sublime-text-snippets.git path/to/Snippets
-> Commit the submodule addition

Usage

All snippets are prefixed to prevent clashing with Sublime Text's autocomplete.

  • CoffeeScript: cf
  • Haml: hm
  • Sass: ss

Once you type the prefix, you'll see the autocomplete list of snippets.

Updating

Simple cd into the directory for your snippets and run git pull.

Git Submodule

If you created a Git Submodule, do the following to update:

cd path/to/dotfiles
git submodule update
cd path/to/Snippets
git pull
cd -
-> Commit the submodule update

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published