Skip to content

Instantly share code, notes, and snippets.

View StefanoRausch's full-sized avatar

Stefano F. Rausch StefanoRausch

  • Johannesburg - RSA
View GitHub Profile
@StefanoRausch
StefanoRausch / variable-usage.sublime-snippet
Last active December 13, 2015 21:18
CodeKit : $variable usage
<snippet>
<content><![CDATA[
<!-- \$${1:variable-name} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>variable-usage</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>$variable usage</description>
@StefanoRausch
StefanoRausch / define-variable.sublime-snippet
Last active December 13, 2015 21:18
CodeKit : define $variable
<snippet>
<content><![CDATA[
<!-- \$${1:variable-name} ${2:separator} ${3:value} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>define-variable</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>$variable definition</description>
@StefanoRausch
StefanoRausch / variable-definition.sublime-snippet
Last active December 13, 2015 21:18
CodeKit : $variable definition
<snippet>
<content><![CDATA[
<!-- \$${1:variable-name} ${2:separator} ${3:value} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>variable-definition</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>$variable definition</description>
@StefanoRausch
StefanoRausch / append-file.sublime-snippet
Created February 18, 2013 07:44
CodeKit : append file
<snippet>
<content><![CDATA[
/${1:*} @codekit-append ${2:file${3:.${4:js}}} ${5:*/}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>append-file</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>@codekit append file</description>
@StefanoRausch
StefanoRausch / prepend-file.sublime-snippet
Created February 18, 2013 07:43
CodeKit : prepend file
<snippet>
<content><![CDATA[
/${1:*} @codekit-prepend ${2:file${3:.${4:js}}} ${5:*/}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>prepend-file</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>@codekit prepend file</description>
<snippet>
<content><![CDATA[
<!-- @include ${1:file${2:.${3:extension}}} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>include-file</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>@include file</description>
<snippet>
<content><![CDATA[
<!-- @import ${1:file${2:.${3:extension}}} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>import-file</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>@import file</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" : {
@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 / 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>