Skip to content

Instantly share code, notes, and snippets.

@Hebo
Created November 2, 2011 20:17
Show Gist options
  • Select an option

  • Save Hebo/1334759 to your computer and use it in GitHub Desktop.

Select an option

Save Hebo/1334759 to your computer and use it in GitHub Desktop.
sublime settings
{
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"font_size": 12,
"translate_tabs_to_spaces": true,
"highlight_line": true,
// SublimeLinter
"pep8_ignore": ["E501"],
"jshint_options": {
"bitwise": true,
"curly": true,
"forin": true,
"immed": true,
"latedef": true,
"newcap": true,
"nonew": true,
"trailing": true
}
}
<snippet>
<content><![CDATA[for (var ${20:i} = ${1:Things}.length; ${20:i} > 0; --${20:i}) {
${100:${1:Things}[${20:i}]}$0
}]]></content>
<tabTrigger>for</tabTrigger>
<scope>source.js</scope>
<description>for (…) {…} (Improved Native For-Loop)</description>
</snippet>
<snippet>
<content><![CDATA[function ${1:function_name}(${2:argument}) {
${0:// body...}
}]]></content>
<tabTrigger>fun</tabTrigger>
<scope>source.js</scope>
<description>Function</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment