A collection of snippets I find useful
Failed to load latest commit information.
Kyle's Stuff.tmbundle
<li> + <a>.tmSnippet
CSS Gradients [IE + Safari + Firefox].tmSnippet Fix bad syntax in gradient snippet Aug 26, 2010
Comment Heading.tmSnippet 80c Sep 20, 2010
End id:class comment.tmSnippet
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 Initial Commit Aug 25, 2008


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.