Skip to content

Instantly share code, notes, and snippets.

@maicolsantos
Last active August 7, 2017 12:15
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 maicolsantos/3e6913379a3febc0a83d5b31623a7fea to your computer and use it in GitHub Desktop.
Save maicolsantos/3e6913379a3febc0a83d5b31623a7fea to your computer and use it in GitHub Desktop.
Sublime Settings

#My Snippets haha

<snippet>
<content><![CDATA[
&:after
content: '$1'
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>after</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
&:after {
content: '$1';
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>after</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.less</scope> -->
</snippet>
{
"extensions":
[
"html"
]
}
<snippet>
<content><![CDATA[
-webkit-appearance: none
-moz-appearance: none
appearance: none
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>apparence</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>apparence</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.less</scope> -->
</snippet>
<snippet>
<content><![CDATA[
&:before
content: '$1'
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>before</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
&:before {
content: '$1';
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>before</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.less</scope> -->
</snippet>
<snippet>
<content><![CDATA[
calc(~"$1")
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>calc</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
[
{"keys": ["alt+shift+f"], "command": "reindent", "args": {"single_line": false}}
]
<snippet>
<content><![CDATA[
@extend $1
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ext</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
@extend $1
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ext</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
&:extend($1);
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ext</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
<snippet>
<content><![CDATA[
&:first-child{
$1;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>first</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
<snippet>
<content><![CDATA[
&:first-child
$1
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>first</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
&:first-child{
$1;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>first</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
+flexbox($1 $2, $3, $4, $5)
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>flex</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
@include flexbox($1 $2, $3, $4, $5);
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>flex</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
.flexbox($1 $2, $3, $4, $5);
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>flex</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
<snippet>
<content><![CDATA[
<form action="#" class="form">
$1
</form>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>forms</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.html</scope> -->
</snippet>
<snippet>
<content><![CDATA[
position: absolute
width: 100%
height: 100%
top: 0
left: 0
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>full</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>full</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.less</scope> -->
</snippet>
<snippet>
<content><![CDATA[
&:hover{
${1}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>h-f</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.less</scope> -->
</snippet>
<snippet>
<content><![CDATA[
&:hover
${1}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>hover</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
&:hover{
${1}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>hover</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.less</scope> -->
</snippet>
{
"extensions":
[
]
}
<snippet>
<content><![CDATA[
@include $1
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>inc</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
<input type="checkbox" placeholder="$1">
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>inp:check</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.html</scope> -->
</snippet>
<snippet>
<content><![CDATA[
<input type="email" placeholder="$1">
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>inp:email</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.html</scope> -->
</snippet>
<snippet>
<content><![CDATA[
<input type="radio" placeholder="$1">
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>inp:radio</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.html</scope> -->
</snippet>
<snippet>
<content><![CDATA[
<input type="text" placeholder="$1">
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>inp:text</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.html</scope> -->
</snippet>
{
"extensions":
[
"coffee",
"js"
]
}
<snippet>
<content><![CDATA[
&:last-child{
$1
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>last</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
<snippet>
<content><![CDATA[
&:last-child
$1
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>last</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
&:last-child{
$1
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>last</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
@include lg() {
$1
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>lg</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
@media(@lg){
${1}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>lg</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
<snippet>
<content><![CDATA[
{{block type="core/template" template="rotadomar/$1.phtml" block_id="$2"}}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>magento</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
<snippet>
<content><![CDATA[
@include md() {
$1
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>md</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
@media(@md){
${1}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>md</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
<snippet>
<content><![CDATA[
+media($1px)
$2
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>media</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
@include media($1px) {
$2
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>media</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
<nav class="$1">
<ul>
<li><a href="#">$2</a></li>
<li><a href="#">$3</a></li>
<li><a href="#">$4</a></li>
<li><a href="#">$5</a></li>
</ul>
</nav>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>navs</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.html</scope> -->
</snippet>
<snippet>
<content><![CDATA[
@media(max-width: ${1}px){
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>mq</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Angular 2 Snippets (John Papa)",
"Angular2 HTML Syntax",
"Babel",
"Better JavaScript",
"ColorSchemeEditor",
"Emmet",
"FileDiffs",
"Jade",
"JavaScriptNext - ES6 Syntax",
"LESS",
"Package Control",
"PackageResourceViewer",
"Predawn",
"Sass",
"SCSS",
"SFTP",
"Sync Settings",
"Table Editor",
"Twig",
"TypeScript",
"WakaTime"
]
}
<snippet>
<content><![CDATA[
::-webkit-input-placeholder
color: $1
:-moz-placeholder
color: $1
::-moz-placeholder
color: $1
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>place</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
::-webkit-input-placeholder{
color: $1;
}
:-moz-placeholder {
color: $1;
}
::-moz-placeholder {
color: $1;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>place</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.less</scope> -->
</snippet>
{
"caret_extra_width": 1,
"caret_style": "phase",
"close_windows_when_empty": false,
"drag_text": false,
"draw_minimap_border": true,
"enable_tab_scrolling": false,
"ensure_newline_at_eof_on_save": true,
"font_options":
[
"no_round"
],
"font_size": 13,
"ignored_packages":
[
"JavaScript",
"Vintage"
],
"match_brackets_content": false,
"match_selection": false,
"match_tags": true,
"open_files_in_new_window": false,
"overlay_scroll_bars": "enabled",
"predawn_tabs_active_underline": true,
"preview_on_click": true,
"scroll_past_end": true,
"scroll_speed": 5.0,
"show_full_path": false,
"tab_size": 2,
"tabs_medium": true,
"theme": "predawn-DEV.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": false
}
<snippet>
<content><![CDATA[
<select name="" id="">
<option value="$1">$1</option>
</select>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>sel</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.html</scope> -->
</snippet>
<snippet>
<content><![CDATA[
@include sm() {
$1
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>sm</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
@media(@sm){
${1}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>sm</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
/*Sublime Settings*/
<snippet>
<content><![CDATA[
<button type="submit">$1</button>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>sub</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.html</scope> -->
</snippet>
<snippet>
<content><![CDATA[
@extend %transition
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>tra</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.sass</scope>
</snippet>
<snippet>
<content><![CDATA[
@extend %transition;
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>tra</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
<snippet>
<content><![CDATA[
.transition;
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>tra</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.less</scope>
</snippet>
{
"extensions":
[
"ts"
]
}
{
"api_key": "09073458-0bed-40b4-918c-597301b04d43"
}
<snippet>
<content><![CDATA[
@include xs() {
$1
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>sxs</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment