Skip to content

Instantly share code, notes, and snippets.

@ninnypants
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ninnypants/9522498 to your computer and use it in GitHub Desktop.
Save ninnypants/9522498 to your computer and use it in GitHub Desktop.
BEM child Sublime Text snippet
<snippet>
<content><![CDATA[
&__
]]></content>
<tabTrigger>&_</tabTrigger>
<scope>source.scss</scope>
</snippet>
@fregante
Copy link

This made sense when @at-root was in there but now &__ takes the same keystrokes as &_⇥. Why even go to the trouble of making it a snippet?

If you really need to save an extra keystroke, make the trigger just _

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment