A collection of snippets I find useful
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Kyle's Stuff.tmbundle
<li> + <a>.tmSnippet Initial Commit Aug 25, 2008
CSS Gradients [IE + Safari + Firefox].tmSnippet
Comment Heading.tmSnippet
End id:class comment.tmSnippet
README.markdown Add a bundle including everything Aug 26, 2010
Reset Styles.tmSnippet 80c Sep 20, 2010
Strip Whitespace Then Save Document.tmMacro Add strip whitespace on save Jul 12, 2010
jQuery Plugin.tmSnippet Add jQuery plugin base Aug 26, 2010
li+a (nav).tmSnippet


A collection of Textmate snippets & bundles I find useful.

Tab Triggers

  • li+a (HTML) expands into a <li><a href="#"></a></li> block
  • lin (HTML) expands into a <li class=""><a href="#"></a></li> block (useful for list navigations)
  • /c (HTML) expands into a <!-- /end --> comment (useful for ending id/class groups)
  • reset (CSS) expands into a CSS reset block I've become accustomed to using
  • gradient (CSS) expands into an Internet Explorer, Safari, and Firefox friendly CSS-Gradient syntax (and falls back gracefully)
  • jp (Javascript) expands into a best practices jQuery plugin.

Command Triggers

  • Cmd+Shift+H (CSS) expands selected text into a comment heading

Want it all?

Just install Kyle's Stuff.bundle.