Skip to content

Instantly share code, notes, and snippets.

View StefanoRausch's full-sized avatar

Stefano F. Rausch StefanoRausch

  • Johannesburg - RSA
View GitHub Profile
<snippet>
<content><![CDATA[
@while ${1:condition} {
${2:code}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>while-condition</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
<snippet>
<content><![CDATA[
@function ${1:name}( ${2:\$${3:parameters}} )
{
${4:code}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>function-definition</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<snippet>
<content><![CDATA[
@mixin ${1:name}${2:( ${3:\$${4:parameters}} )}
{
${5:code}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>mixin-definition</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
@StefanoRausch
StefanoRausch / template-file.sublime-snippet
Created February 14, 2013 09:02
SCSS : template file
<snippet>
<content><![CDATA[
/**
* ${1:file-comment}
*
* ${2:CSS} version ${3:3}
*
* LICENSE : MIT - Copyright ( C ) ${4:2013} ${5:Stefano F. Rausch < [email protected] >}
*
* @package ${6:Framework}${7:/${8:sub-package}}
@StefanoRausch
StefanoRausch / file-description.sublime-snippet
Created February 14, 2013 09:08
SCSS : file description
<snippet>
<content><![CDATA[
* ${0:additional-file-description}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>file-description</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>additional file description</description>
@StefanoRausch
StefanoRausch / file-is-depricated.sublime-snippet
Created February 14, 2013 09:08
SCSS : file is deprecated
<snippet>
<content><![CDATA[
* deprecated : File deprecated in Release ${0:release-version}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>file-is-depricated</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>file is deprecated</description>
@StefanoRausch
StefanoRausch / template-file.sublime-snippet
Created February 14, 2013 09:14
PHP : template file
<snippet>
<content><![CDATA[
/**
* ${1:file-name}.php
*
* PHP version 5
*
* LICENSE : MIT - Copyright (C) ${2:2013} ${3:Stefano F. Rausch < [email protected] >}
*
* package : ${4:KitFramework}${5:/${6:sub-package}}
@StefanoRausch
StefanoRausch / file-description.sublime-snippet
Created February 14, 2013 09:19
PHP : file description
<snippet>
<content><![CDATA[
* ${0:additional-file-description}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>file-description</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit, source.php</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>additional file description</description>
@StefanoRausch
StefanoRausch / file-is-depricated.sublime-snippet
Created February 14, 2013 09:20
PHP : file is deprecated
<snippet>
<content><![CDATA[
* deprecated : File deprecated in Release ${0:release-version}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>file-is-depricated</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit, source.php</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>file is deprecated</description>
@StefanoRausch
StefanoRausch / Default (OSX).sublime-keymap
Created February 14, 2013 16:26
Sublime : 2 Columns Layout Management
[
{ "keys" : [ "alt+1" ], "command" : "focus_group", "args" : { "group" : 0 } },
{ "keys" : [ "alt+2" ], "command" : "focus_group", "args" : { "group" : 1 } },
{ // workspace left
"keys" : [ "ctrl+alt+super+left" ],
"command" : "run_multiple_commands",
"args" : {