Skip to content
Browse files

Not sure what these updates have done. Nothing seems changed.

Added return true and return false
  • Loading branch information...
1 parent 7ea1a6d commit 5e8ddad0f65665fc296b7a3655da809d82521aaa Maikel D committed Mar 22, 2013
View
48 Add-semicolon-and-linebreak.sublime-macro
@@ -1,24 +1,24 @@
-[
- {
- "args":
- {
- "extend": false,
- "to": "eol"
- },
- "command": "move_to"
- },
- {
- "args":
- {
- "characters": ";"
- },
- "command": "insert"
- },
- {
- "args":
- {
- "characters": "\n"
- },
- "command": "insert"
- }
-]
+[
+ {
+ "args":
+ {
+ "extend": false,
+ "to": "eol"
+ },
+ "command": "move_to"
+ },
+ {
+ "args":
+ {
+ "characters": ";"
+ },
+ "command": "insert"
+ },
+ {
+ "args":
+ {
+ "characters": "\n"
+ },
+ "command": "insert"
+ }
+]
View
6 Default (Windows).sublime-keymap
@@ -1,3 +1,3 @@
-[
- { "keys": ["ctrl+shift+;"], "command": "run_macro_file", "args": {"file": "Packages/Sublime-Text-2-Snippets/Add-semicolon-and-linebreak.sublime-macro"} }
-]
+[
+ { "keys": ["ctrl+shift+;"], "command": "run_macro_file", "args": {"file": "Packages/Sublime-Text-2-Snippets/Add-semicolon-and-linebreak.sublime-macro"} }
+]
View
132 README.md
@@ -1,66 +1,66 @@
-# Sublime-Text-2-Snippets
-
-A list of snippets that I frequently use in my daily life. I will have snippets for HTML, CSS, JavaScript and PHP.
-
-Please note: All the snippets are triggered by the **TAB** character.
-
-## Global
-
-#### Closure function
-Keyword: **fn**
-
- function() {
- }
-
-#### Laravel style comment
-Keyword: **/\*l**
-
- /*
- |--------------------------------------------------------------------------
- | Title
- |--------------------------------------------------------------------------
- |
- | Description
- |
- */
-
----
-
-## PHP
-
-#### Array
-Keyword: **rr**
-
- array() {
- }
-
-#### Var Dump
-Keyword: **vd**
-
- var_dump( $results );
- exit;
-
-#### Print R
-Keyword: **pr**
-
- echo '<pre>';
- print_r( $results );
- exit;
-
----
-
-## JavaScript
-
-#### Console log
-Keyword: **log**
-
- console.log();
-
----
-
-## HTML
-
-#### Twitter Bootstrap
-Keyword: **twb**
-
- Type 'twb' and press TAB to see a full list of commands available.
+# Sublime-Text-2-Snippets
+
+A list of snippets that I frequently use in my daily life. I will have snippets for HTML, CSS, JavaScript and PHP.
+
+Please note: All the snippets are triggered by the **TAB** character.
+
+## Global
+
+#### Closure function
+Keyword: **fn**
+
+ function() {
+ }
+
+#### Laravel style comment
+Keyword: **/\*l**
+
+ /*
+ |--------------------------------------------------------------------------
+ | Title
+ |--------------------------------------------------------------------------
+ |
+ | Description
+ |
+ */
+
+---
+
+## PHP
+
+#### Array
+Keyword: **rr**
+
+ array() {
+ }
+
+#### Var Dump
+Keyword: **vd**
+
+ var_dump( $results );
+ exit;
+
+#### Print R
+Keyword: **pr**
+
+ echo '<pre>';
+ print_r( $results );
+ exit;
+
+---
+
+## JavaScript
+
+#### Console log
+Keyword: **log**
+
+ console.log();
+
+---
+
+## HTML
+
+#### Twitter Bootstrap
+Keyword: **twb**
+
+ Type 'twb' and press TAB to see a full list of commands available.
View
16 global-closure-function.sublime-snippet
@@ -1,8 +1,8 @@
-<snippet>
- <content><![CDATA[
-function$1($2)${3: }{
- $4
-}
-]]></content>
- <tabTrigger>fn</tabTrigger>
-</snippet>
+<snippet>
+ <content><![CDATA[
+function$1($2)${3: }{
+ $4
+}
+]]></content>
+ <tabTrigger>fn</tabTrigger>
+</snippet>
View
26 global-laravel-style-comment.sublime-snippet
@@ -1,13 +1,13 @@
-<snippet>
- <content><![CDATA[
-/*
-|--------------------------------------------------------------------------
-| ${1:Title}
-|--------------------------------------------------------------------------
-|
-| ${2:Description}
-|
-*/
-]]></content>
- <tabTrigger>/*l</tabTrigger>
-</snippet>
+<snippet>
+ <content><![CDATA[
+/*
+|--------------------------------------------------------------------------
+| ${1:Title}
+|--------------------------------------------------------------------------
+|
+| ${2:Description}
+|
+*/
+]]></content>
+ <tabTrigger>/*l</tabTrigger>
+</snippet>
View
4 global-return-false.sublime-snippet
@@ -0,0 +1,4 @@
+<snippet>
+ <content><![CDATA[return false;$0]]></content>
+ <tabTrigger>retf</tabTrigger>
+</snippet>
View
4 global-return-true.sublime-snippet
@@ -0,0 +1,4 @@
+<snippet>
+ <content><![CDATA[return true;$0]]></content>
+ <tabTrigger>rett</tabTrigger>
+</snippet>
View
14 js-console-log.sublime-snippet
@@ -1,7 +1,7 @@
-<snippet>
- <content><![CDATA[
-console.log( $1 );
-]]></content>
- <tabTrigger>log</tabTrigger>
- <scope>source.js,source.js.embedded.html</scope>
-</snippet>
+<snippet>
+ <content><![CDATA[
+console.log( $1 );
+]]></content>
+ <tabTrigger>log</tabTrigger>
+ <scope>source.js,source.js.embedded.html</scope>
+</snippet>
View
18 php-array.sublime-snippet
@@ -1,9 +1,9 @@
-<snippet>
- <content><![CDATA[
-array(
- $1
-)
-]]></content>
- <tabTrigger>rr</tabTrigger>
- <scope>source.php</scope>
-</snippet>
+<snippet>
+ <content><![CDATA[
+array(
+ $1
+)
+]]></content>
+ <tabTrigger>rr</tabTrigger>
+ <scope>source.php</scope>
+</snippet>
View
18 php-print-r.sublime-snippet
@@ -1,9 +1,9 @@
-<snippet>
- <content><![CDATA[
-echo '<pre>';
-print_r( ${1:\$results} );
-${2:exit;}
-]]></content>
- <tabTrigger>pr</tabTrigger>
- <scope>source.php</scope>
-</snippet>
+<snippet>
+ <content><![CDATA[
+echo '<pre>';
+print_r( ${1:\$results} );
+${2:exit;}
+]]></content>
+ <tabTrigger>pr</tabTrigger>
+ <scope>source.php</scope>
+</snippet>
View
16 php-var-dump.sublime-snippet
@@ -1,8 +1,8 @@
-<snippet>
- <content><![CDATA[
-var_dump( ${1:\$results} );
-${2:exit;}
-]]></content>
- <tabTrigger>vd</tabTrigger>
- <scope>source.php</scope>
-</snippet>
+<snippet>
+ <content><![CDATA[
+var_dump( ${1:\$results} );
+${2:exit;}
+]]></content>
+ <tabTrigger>vd</tabTrigger>
+ <scope>source.php</scope>
+</snippet>

0 comments on commit 5e8ddad

Please sign in to comment.
Something went wrong with that request. Please try again.