diff options
Diffstat (limited to '.emacs.d/mysnippets/text-mode')
412 files changed, 0 insertions, 2429 deletions
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/beginend b/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/beginend deleted file mode 100644 index 68303e2..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/beginend +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : v.begin(), v.end() | ||
| 2 | # -- | ||
| 3 | ${1:v}.begin(), $1.end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/class b/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/class deleted file mode 100644 index 820fc6c..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/class +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #name : class ... { ... } | ||
| 2 | # -- | ||
| 3 | class ${1:Name} | ||
| 4 | { | ||
| 5 | public: | ||
| 6 | ${1:$(yas/substr text "[^: ]*")}($2); | ||
| 7 | virtual ~${1:$(yas/substr text "[^: ]*")}(); | ||
| 8 | }; \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/ns b/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/ns deleted file mode 100644 index 0c2513f..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/ns +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : namespace ... | ||
| 2 | # -- | ||
| 3 | namespace \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/template b/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/template deleted file mode 100644 index 7e50616..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/template +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : template <typename ...> | ||
| 2 | # -- | ||
| 3 | template <typename ${T}> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/using b/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/using deleted file mode 100644 index 13d0f5d..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/c++-mode/using +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : using namespace ... | ||
| 2 | # -- | ||
| 3 | using namespace ${std}; | ||
| 4 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/c-mode/fopen b/.emacs.d/mysnippets/text-mode/cc-mode/c-mode/fopen deleted file mode 100644 index 044c743..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/c-mode/fopen +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : FILE *fp = fopen(..., ...); | ||
| 2 | # -- | ||
| 3 | FILE *${fp} = fopen(${"file"}, "${r}"); | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/c-mode/printf b/.emacs.d/mysnippets/text-mode/cc-mode/c-mode/printf deleted file mode 100644 index 055461d..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/c-mode/printf +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name : printf | ||
| 3 | # contributor : joaotavora | ||
| 4 | # -- | ||
| 5 | printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);") | ||
| 6 | }$2${1:$(if (string-match "%" text) "\);" "")} \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib deleted file mode 100644 index 9e14e22..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : private attribute ....; | ||
| 3 | # -- | ||
| 4 | /// <summary> | ||
| 5 | /// $3 | ||
| 6 | /// </summary> | ||
| 7 | private $1 $2; | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib.1 b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib.1 deleted file mode 100644 index 099cc7b..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib.1 +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : private attribute ....; public property ... ... { ... } | ||
| 3 | # -- | ||
| 4 | /// <summary> | ||
| 5 | /// $3 | ||
| 6 | /// </summary> | ||
| 7 | private $1 $2; | ||
| 8 | |||
| 9 | /// <summary> | ||
| 10 | /// $4 | ||
| 11 | /// </summary> | ||
| 12 | /// <value>$5</value> | ||
| 13 | public $1 $2 | ||
| 14 | { | ||
| 15 | get { | ||
| 16 | return this.$2; | ||
| 17 | } | ||
| 18 | set { | ||
| 19 | this.$2 = value; | ||
| 20 | } | ||
| 21 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib.2 b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib.2 deleted file mode 100644 index 566eacf..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/attrib.2 +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : private _attribute ....; public Property ... ... { ... } | ||
| 3 | # -- | ||
| 4 | /// <summary> | ||
| 5 | /// $3 | ||
| 6 | /// </summary> | ||
| 7 | private $1 ${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")}; | ||
| 8 | |||
| 9 | /// <summary> | ||
| 10 | /// ${3:Description} | ||
| 11 | /// </summary> | ||
| 12 | /// <value><c>$1</c></value> | ||
| 13 | public ${1:Type} ${2:Name} | ||
| 14 | { | ||
| 15 | get { | ||
| 16 | return this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")}; | ||
| 17 | } | ||
| 18 | set { | ||
| 19 | this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")} = value; | ||
| 20 | } | ||
| 21 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/class b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/class deleted file mode 100644 index 1cce2e8..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/class +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : class ... { ... } | ||
| 3 | # -- | ||
| 4 | ${5:public} class ${1:Name} | ||
| 5 | { | ||
| 6 | #region Ctor & Destructor | ||
| 7 | /// <summary> | ||
| 8 | /// ${3:Standard Constructor} | ||
| 9 | /// </summary> | ||
| 10 | public $1($2) | ||
| 11 | { | ||
| 12 | } | ||
| 13 | |||
| 14 | /// <summary> | ||
| 15 | /// ${4:Default Destructor} | ||
| 16 | /// </summary> | ||
| 17 | public ~$1() | ||
| 18 | { | ||
| 19 | } | ||
| 20 | #endregion | ||
| 21 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment deleted file mode 100644 index 3bd20d3..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : /// <summary> ... </summary> | ||
| 3 | # -- | ||
| 4 | /// <summary> | ||
| 5 | /// $1 | ||
| 6 | /// </summary> | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.1 b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.1 deleted file mode 100644 index 3c14ad9..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.1 +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : /// <param name="..."> ... </param> | ||
| 3 | # -- | ||
| 4 | /// <param name="$1">$2</param> | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.2 b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.2 deleted file mode 100644 index 63a6a20..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.2 +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : /// <param name="..."> ... </param> | ||
| 3 | # -- | ||
| 4 | /// <returns>$1</returns> | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.3 b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.3 deleted file mode 100644 index 394c323..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/comment.3 +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : /// <exception cref="..."> ... </exception> | ||
| 3 | # -- | ||
| 4 | /// <exception cref="$1">$2</exception> | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/method b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/method deleted file mode 100644 index e9a5906..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/method +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : public void Method { ... } | ||
| 3 | # -- | ||
| 4 | /// <summary> | ||
| 5 | /// ${5:Description} | ||
| 6 | /// </summary>${2:$(if (string= (upcase text) "VOID") "" (format "%s%s%s" "\n/// <returns><c>" text "</c></returns>"))} | ||
| 7 | ${1:public} ${2:void} ${3:MethodName}($4) | ||
| 8 | { | ||
| 9 | $0 | ||
| 10 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/namespace b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/namespace deleted file mode 100644 index af7c928..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/namespace +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : namespace .. { ... } | ||
| 3 | # -- | ||
| 4 | namespace $1 | ||
| 5 | { | ||
| 6 | $0 | ||
| 7 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/prop b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/prop deleted file mode 100644 index df9df91..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/prop +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : property ... ... { ... } | ||
| 3 | # -- | ||
| 4 | /// <summary> | ||
| 5 | /// $5 | ||
| 6 | /// </summary> | ||
| 7 | /// <value>$6</value> | ||
| 8 | $1 $2 $3 | ||
| 9 | { | ||
| 10 | get { | ||
| 11 | return this.$4; | ||
| 12 | } | ||
| 13 | set { | ||
| 14 | this.$4 = value; | ||
| 15 | } | ||
| 16 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/region b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/region deleted file mode 100644 index 83f9a24..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/region +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : #region ... #endregion | ||
| 3 | # -- | ||
| 4 | #region $1 | ||
| 5 | $0 | ||
| 6 | #endregion | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using deleted file mode 100644 index 704637e..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : using ...; | ||
| 3 | # -- | ||
| 4 | using $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using.1 b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using.1 deleted file mode 100644 index e9f0bb0..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using.1 +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : using System; | ||
| 3 | # -- | ||
| 4 | using System; | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using.2 b/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using.2 deleted file mode 100644 index 0a3c07d..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/csharp-mode/using.2 +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : using System....; | ||
| 3 | # -- | ||
| 4 | using System.$1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/do b/.emacs.d/mysnippets/text-mode/cc-mode/do deleted file mode 100644 index 5f7a313..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/do +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : do { ... } while (...) | ||
| 2 | # -- | ||
| 3 | do | ||
| 4 | { | ||
| 5 | $0 | ||
| 6 | } while (${1:condition}); \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/for b/.emacs.d/mysnippets/text-mode/cc-mode/for deleted file mode 100644 index c4cade6..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/for +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : for (...; ...; ...) { ... } | ||
| 2 | # -- | ||
| 3 | for (${1:int i = 0}; ${2:i < N}; ${3:++i}) | ||
| 4 | { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/if b/.emacs.d/mysnippets/text-mode/cc-mode/if deleted file mode 100644 index c3fe10d..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/if +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : if (...) { ... } | ||
| 2 | # -- | ||
| 3 | if (${1:condition}) | ||
| 4 | { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/inc b/.emacs.d/mysnippets/text-mode/cc-mode/inc deleted file mode 100644 index ae33328..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/inc +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : #include "..." | ||
| 2 | # -- | ||
| 3 | #include "$1" | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/inc.1 b/.emacs.d/mysnippets/text-mode/cc-mode/inc.1 deleted file mode 100644 index 66326cd..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/inc.1 +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : #include <...> | ||
| 2 | # -- | ||
| 3 | #include <$1> | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/main b/.emacs.d/mysnippets/text-mode/cc-mode/main deleted file mode 100644 index 9249049..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/main +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name: int main(argc, argv) { ... } | ||
| 2 | # -- | ||
| 3 | int main(int argc, char *argv[]) | ||
| 4 | { | ||
| 5 | $0 | ||
| 6 | return 0; | ||
| 7 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/objc-mode/prop b/.emacs.d/mysnippets/text-mode/cc-mode/objc-mode/prop deleted file mode 100644 index 4d585db..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/objc-mode/prop +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | #name : foo { ... } ; setFoo { ... } | ||
| 2 | # -- | ||
| 3 | - (${1:id})${2:foo} | ||
| 4 | { | ||
| 5 | return $2; | ||
| 6 | } | ||
| 7 | |||
| 8 | - (void)set${2:$(capitalize text)}:($1)aValue | ||
| 9 | { | ||
| 10 | [$2 autorelease]; | ||
| 11 | $2 = [aValue retain]; | ||
| 12 | } | ||
| 13 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/once b/.emacs.d/mysnippets/text-mode/cc-mode/once deleted file mode 100644 index 1b63c39..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/once +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #name : #ifndef XXX; #define XXX; #endif | ||
| 2 | # -- | ||
| 3 | #ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_} | ||
| 4 | #define $1 | ||
| 5 | |||
| 6 | $0 | ||
| 7 | |||
| 8 | #endif /* $1 */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/cc-mode/struct b/.emacs.d/mysnippets/text-mode/cc-mode/struct deleted file mode 100644 index f50dabf..0000000 --- a/.emacs.d/mysnippets/text-mode/cc-mode/struct +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : struct ... { ... } | ||
| 2 | # -- | ||
| 3 | struct ${1:name} | ||
| 4 | { | ||
| 5 | $0 | ||
| 6 | }; \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/bg b/.emacs.d/mysnippets/text-mode/css-mode/bg deleted file mode 100644 index d731807..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/bg +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : background-color: ... | ||
| 2 | # -- | ||
| 3 | background-color: #${1:DDD}; \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/bg.1 b/.emacs.d/mysnippets/text-mode/css-mode/bg.1 deleted file mode 100644 index d31f540..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/bg.1 +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : background-image: ... | ||
| 2 | # -- | ||
| 3 | background-image: url($1); \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/bor b/.emacs.d/mysnippets/text-mode/css-mode/bor deleted file mode 100644 index eb3a2b4..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/bor +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : border size style color | ||
| 2 | # -- | ||
| 3 | border: ${1:1px} ${2:solid} #${3:999}; \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/cl b/.emacs.d/mysnippets/text-mode/css-mode/cl deleted file mode 100644 index 4fc7a8d..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/cl +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : clear: ... | ||
| 3 | # -- | ||
| 4 | clear: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/disp.block b/.emacs.d/mysnippets/text-mode/css-mode/disp.block deleted file mode 100644 index f74ea3c..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/disp.block +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : display: block | ||
| 3 | # -- | ||
| 4 | display: block; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/disp.inline b/.emacs.d/mysnippets/text-mode/css-mode/disp.inline deleted file mode 100644 index 30275a8..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/disp.inline +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : display: inline | ||
| 3 | # -- | ||
| 4 | display: inline; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/disp.none b/.emacs.d/mysnippets/text-mode/css-mode/disp.none deleted file mode 100644 index 80632a5..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/disp.none +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : display: none | ||
| 3 | # -- | ||
| 4 | display: none; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/ff b/.emacs.d/mysnippets/text-mode/css-mode/ff deleted file mode 100644 index a7352cf..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/ff +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : font-family: ... | ||
| 3 | # -- | ||
| 4 | font-family: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/fs b/.emacs.d/mysnippets/text-mode/css-mode/fs deleted file mode 100644 index c28cdbb..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/fs +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : font-size: ... | ||
| 3 | # -- | ||
| 4 | font-size: ${12px}; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/mar.bottom b/.emacs.d/mysnippets/text-mode/css-mode/mar.bottom deleted file mode 100644 index 9672f60..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/mar.bottom +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : margin-bottom: ... | ||
| 3 | # -- | ||
| 4 | margin-bottom: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/mar.left b/.emacs.d/mysnippets/text-mode/css-mode/mar.left deleted file mode 100644 index 414353e..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/mar.left +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : margin-left: ... | ||
| 3 | # -- | ||
| 4 | margin-left: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/mar.mar b/.emacs.d/mysnippets/text-mode/css-mode/mar.mar deleted file mode 100644 index 13354db..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/mar.mar +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : margin: ... | ||
| 3 | # -- | ||
| 4 | margin: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/mar.margin b/.emacs.d/mysnippets/text-mode/css-mode/mar.margin deleted file mode 100644 index 97de70c..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/mar.margin +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : margin top right bottom left | ||
| 3 | # -- | ||
| 4 | margin: ${top} ${right} ${bottom} ${left}; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/mar.right b/.emacs.d/mysnippets/text-mode/css-mode/mar.right deleted file mode 100644 index 47a4973..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/mar.right +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : margin-right: ... | ||
| 3 | # -- | ||
| 4 | margin-right: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/mar.top b/.emacs.d/mysnippets/text-mode/css-mode/mar.top deleted file mode 100644 index c805754..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/mar.top +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : margin-top: ... | ||
| 3 | # -- | ||
| 4 | margin-top: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/pad.bottom b/.emacs.d/mysnippets/text-mode/css-mode/pad.bottom deleted file mode 100644 index 3b9495e..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/pad.bottom +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : padding-bottom: ... | ||
| 3 | # -- | ||
| 4 | padding-bottom: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/pad.left b/.emacs.d/mysnippets/text-mode/css-mode/pad.left deleted file mode 100644 index ecae515..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/pad.left +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : padding-left: ... | ||
| 3 | # -- | ||
| 4 | padding-left: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/pad.pad b/.emacs.d/mysnippets/text-mode/css-mode/pad.pad deleted file mode 100644 index ee3a682..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/pad.pad +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : padding: ... | ||
| 3 | # -- | ||
| 4 | padding: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/pad.padding b/.emacs.d/mysnippets/text-mode/css-mode/pad.padding deleted file mode 100644 index c1009d3..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/pad.padding +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : padding: top right bottom left | ||
| 3 | # -- | ||
| 4 | padding: ${top} ${right} ${bottom} ${left}; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/pad.right b/.emacs.d/mysnippets/text-mode/css-mode/pad.right deleted file mode 100644 index 98a9e12..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/pad.right +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : padding-right: ... | ||
| 3 | # -- | ||
| 4 | padding-right: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/css-mode/pad.top b/.emacs.d/mysnippets/text-mode/css-mode/pad.top deleted file mode 100644 index 34987f6..0000000 --- a/.emacs.d/mysnippets/text-mode/css-mode/pad.top +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : rejeep <johan.rejeep@gmail.com> | ||
| 2 | #name : padding-top: ... | ||
| 3 | # -- | ||
| 4 | padding-top: $1; | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/.read_me b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/.read_me deleted file mode 100644 index 9e6e532..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/.read_me +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | TITLE: Emacs Idiom Template Set. Version 1. 2009-02-22 | ||
| 2 | |||
| 3 | DESCRIPTION: Some useful templates for emacs lisp. This template set is based on useful elisp idioms on common tasks. | ||
| 4 | |||
| 5 | LICENSING: GPL version 3. | ||
| 6 | |||
| 7 | AUTHOR: Xah Lee | ||
| 8 | |||
| 9 | Home Page: latest version at: | ||
| 10 | • Emacs Lisp Idiom Templates | ||
| 11 | http://xahlee.org/emacs/elisp_idiom_templates.html | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/defun b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/defun deleted file mode 100644 index 0105d20..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/defun +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | #name : function template | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | (defun $1 () | ||
| 5 | "thisandthat." | ||
| 6 | (interactive) | ||
| 7 | (let (var1) | ||
| 8 | (setq var1 some) | ||
| 9 | $0 | ||
| 10 | ) | ||
| 11 | ) \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/dired.process_marked b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/dired.process_marked deleted file mode 100644 index 1b42597..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/dired.process_marked +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | #name : process marked files in dired | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | ;; idiom for processing a list of files in dired's marked files | ||
| 5 | |||
| 6 | ;; suppose myProcessFile is your function that takes a file path | ||
| 7 | ;; and do some processing on the file | ||
| 8 | |||
| 9 | (defun dired-myProcessFile () | ||
| 10 | "apply myProcessFile function to marked files in dired." | ||
| 11 | (interactive) | ||
| 12 | (require 'dired) | ||
| 13 | (mapc 'myProcessFile (dired-get-marked-files)) | ||
| 14 | ) | ||
| 15 | |||
| 16 | ;; to use it, type M-x dired-myProcessFile | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/file.process b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/file.process deleted file mode 100644 index abd1a33..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/file.process +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | #name : a function that process a file | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | (defun doThisFile (fpath) | ||
| 5 | "Process the file at path FPATH ..." | ||
| 6 | (let () | ||
| 7 | ;; create temp buffer without undo record or font lock. (more efficient) | ||
| 8 | ;; first space in temp buff name is necessary | ||
| 9 | (set-buffer (get-buffer-create " myTemp")) | ||
| 10 | (insert-file-contents fpath nil nil nil t) | ||
| 11 | |||
| 12 | ;; process it ... | ||
| 13 | ;; (goto-char 0) ; move to begining of file's content (in case it was open) | ||
| 14 | ;; ... do something here | ||
| 15 | ;; (write-file fpath) ;; write back to the file | ||
| 16 | |||
| 17 | (kill-buffer " myTemp"))) | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/file.read-lines b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/file.read-lines deleted file mode 100644 index b4a1942..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/file.read-lines +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | #name : read lines of a file | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | (defun read-lines (filePath) | ||
| 5 | "Return a list of lines in FILEPATH." | ||
| 6 | (with-temp-buffer | ||
| 7 | (insert-file-contents filePath) | ||
| 8 | (split-string | ||
| 9 | (buffer-string) "\n" t)) ) | ||
| 10 | |||
| 11 | ;; process all lines | ||
| 12 | (mapc | ||
| 13 | (lambda (aLine) | ||
| 14 | (message aLine) ; do your stuff here | ||
| 15 | ) | ||
| 16 | (read-lines "inputFilePath") | ||
| 17 | ) \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/find-replace b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/find-replace deleted file mode 100644 index cefcf51..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/find-replace +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | #name : find and replace on region | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | (defun replace-html-chars-region (start end) | ||
| 5 | "Replace “<” to “<” and other chars in HTML. | ||
| 6 | This works on the current region." | ||
| 7 | (interactive "r") | ||
| 8 | (save-restriction | ||
| 9 | (narrow-to-region start end) | ||
| 10 | (goto-char (point-min)) | ||
| 11 | (while (search-forward "&" nil t) (replace-match "&" nil t)) | ||
| 12 | (goto-char (point-min)) | ||
| 13 | (while (search-forward "<" nil t) (replace-match "<" nil t)) | ||
| 14 | (goto-char (point-min)) | ||
| 15 | (while (search-forward ">" nil t) (replace-match ">" nil t)) | ||
| 16 | ) | ||
| 17 | ) | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/grabstring b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/grabstring deleted file mode 100644 index 55600b1..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/grabstring +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : grab buffer substring | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | (setq $0 (buffer-substring-no-properties myStartPos myEndPos)) | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/grabthing b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/grabthing deleted file mode 100644 index 772b8dc..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/grabthing +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : grab word under cursor | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | (setq $0 (thing-at-point 'symbol)) | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/traverse_dir b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/traverse_dir deleted file mode 100644 index 2859cbd..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/traverse_dir +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : traversing a directory | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | ;; apply a function to all files in a dir | ||
| 5 | (require 'find-lisp) | ||
| 6 | (mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$")) | ||
diff --git a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/word-or-region b/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/word-or-region deleted file mode 100644 index 66a59e4..0000000 --- a/.emacs.d/mysnippets/text-mode/emacs-lisp-mode/word-or-region +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | #name : Command that works on region or word | ||
| 2 | #contributor : Xah Lee | ||
| 3 | # -- | ||
| 4 | ;; example of a command that works on current word or text selection | ||
| 5 | (defun down-case-word-or-region () | ||
| 6 | "Lower case the current word or text selection." | ||
| 7 | (interactive) | ||
| 8 | (let (pos1 pos2 meat) | ||
| 9 | (if (and transient-mark-mode mark-active) | ||
| 10 | (setq pos1 (region-beginning) | ||
| 11 | pos2 (region-end)) | ||
| 12 | (setq pos1 (car (bounds-of-thing-at-point 'symbol)) | ||
| 13 | pos2 (cdr (bounds-of-thing-at-point 'symbol)))) | ||
| 14 | |||
| 15 | ; now, pos1 and pos2 are the starting and ending positions | ||
| 16 | ; of the current word, or current text selection if exists | ||
| 17 | |||
| 18 | ;; put your code here. | ||
| 19 | $0 | ||
| 20 | ;; Some example of things you might want to do | ||
| 21 | (downcase-region pos1 pos2) ; example of a func that takes region as args | ||
| 22 | (setq meat (buffer-substring-no-properties pos1 pos2)) ; grab the text. | ||
| 23 | (delete-region pos1 pos2) ; get rid of it | ||
| 24 | (insert "newText") ; insert your new text | ||
| 25 | |||
| 26 | ) | ||
| 27 | ) | ||
diff --git a/.emacs.d/mysnippets/text-mode/email b/.emacs.d/mysnippets/text-mode/email deleted file mode 100644 index 1ac7f94..0000000 --- a/.emacs.d/mysnippets/text-mode/email +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : (user's email) | ||
| 2 | # -- | ||
| 3 | `(replace-regexp-in-string "@" "@NOSPAM." user-mail-address)` \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/after b/.emacs.d/mysnippets/text-mode/erlang-mode/after deleted file mode 100644 index 264e201..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/after +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : after ... -> | ||
| 2 | # -- | ||
| 3 | after | ||
| 4 | $1 -> $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/begin b/.emacs.d/mysnippets/text-mode/erlang-mode/begin deleted file mode 100644 index 7b48494..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/begin +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : begin ... end | ||
| 2 | # -- | ||
| 3 | begin | ||
| 4 | $0 | ||
| 5 | end | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/beh b/.emacs.d/mysnippets/text-mode/erlang-mode/beh deleted file mode 100644 index 4975b26..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/beh +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : -behaviour(...). | ||
| 2 | # -- | ||
| 3 | -behaviour(${1:gen_server}). | ||
| 4 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/case b/.emacs.d/mysnippets/text-mode/erlang-mode/case deleted file mode 100644 index 5bed114..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/case +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : case ... of ... end | ||
| 2 | # -- | ||
| 3 | case $1 of | ||
| 4 | $0 | ||
| 5 | end | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/compile b/.emacs.d/mysnippets/text-mode/erlang-mode/compile deleted file mode 100644 index ae3a4d8..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/compile +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : -compile(...). | ||
| 2 | # -- | ||
| 3 | -compile([${1:export_all}]). | ||
| 4 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/def b/.emacs.d/mysnippets/text-mode/erlang-mode/def deleted file mode 100644 index 6fb92f1..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/def +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : -define(...,...). | ||
| 2 | # -- | ||
| 3 | -define($1,$2). | ||
| 4 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/exp b/.emacs.d/mysnippets/text-mode/erlang-mode/exp deleted file mode 100644 index 67f56da..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/exp +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : -export([]). | ||
| 2 | #contributor : hitesh <hitesh.jasani@gmail.com> | ||
| 3 | # -- | ||
| 4 | -export([${1:start/0}]). | ||
| 5 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/fun b/.emacs.d/mysnippets/text-mode/erlang-mode/fun deleted file mode 100644 index 77f8293..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/fun +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : fun (...) -> ... end | ||
| 2 | # -- | ||
| 3 | fun ($1) -> $0 end | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/if b/.emacs.d/mysnippets/text-mode/erlang-mode/if deleted file mode 100644 index 45674c4..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/if +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : if ... -> ... ; true -> ... end | ||
| 2 | # -- | ||
| 3 | if | ||
| 4 | $1 -> $2; | ||
| 5 | true -> $0 | ||
| 6 | end | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/ifdef b/.emacs.d/mysnippets/text-mode/erlang-mode/ifdef deleted file mode 100644 index ea89ecf..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/ifdef +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : -ifdef(...). ... -endif. | ||
| 2 | # -- | ||
| 3 | -ifdef($1). | ||
| 4 | $0 | ||
| 5 | -endif. | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/ifndef b/.emacs.d/mysnippets/text-mode/erlang-mode/ifndef deleted file mode 100644 index dcd67a7..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/ifndef +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : -ifndef(...). ... -endif. | ||
| 2 | # -- | ||
| 3 | -ifndef($1). | ||
| 4 | $0 | ||
| 5 | -endif. | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/imp b/.emacs.d/mysnippets/text-mode/erlang-mode/imp deleted file mode 100644 index c035ddd..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/imp +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : -import([]). | ||
| 2 | #contributor : hitesh <hitesh.jasani@gmail.com> | ||
| 3 | # -- | ||
| 4 | -import(${1:lists}, [${2:map/2, sum/1}]). | ||
| 5 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/inc b/.emacs.d/mysnippets/text-mode/erlang-mode/inc deleted file mode 100644 index f7b2161..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/inc +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : -include("..."). | ||
| 2 | # -- | ||
| 3 | -include("$1"). | ||
| 4 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/inc.lib b/.emacs.d/mysnippets/text-mode/erlang-mode/inc.lib deleted file mode 100644 index 09a6723..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/inc.lib +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : -include_lib("..."). | ||
| 2 | # -- | ||
| 3 | -include_lib("$1"). | ||
| 4 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/loop b/.emacs.d/mysnippets/text-mode/erlang-mode/loop deleted file mode 100644 index 0205802..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/loop +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #name : loop(...) -> receive _ -> loop(...) end. | ||
| 2 | # -- | ||
| 3 | ${1:loop}($2) -> | ||
| 4 | receive | ||
| 5 | ${3:_} -> | ||
| 6 | $1($2) | ||
| 7 | end. | ||
| 8 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/mod b/.emacs.d/mysnippets/text-mode/erlang-mode/mod deleted file mode 100644 index 7275d39..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/mod +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : -module(). | ||
| 2 | #contributor : hitesh <hitesh.jasani@gmail.com> | ||
| 3 | # -- | ||
| 4 | -module(${1:`(file-name-nondirectory | ||
| 5 | (file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}). | ||
| 6 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/rcv b/.emacs.d/mysnippets/text-mode/erlang-mode/rcv deleted file mode 100644 index 804fb3f..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/rcv +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : receive ... -> ... end | ||
| 2 | # -- | ||
| 3 | receive | ||
| 4 | $1 -> $0 | ||
| 5 | end | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/rcv.after b/.emacs.d/mysnippets/text-mode/erlang-mode/rcv.after deleted file mode 100644 index 51046df..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/rcv.after +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : receive after ... -> ... end | ||
| 2 | # -- | ||
| 3 | receive | ||
| 4 | after | ||
| 5 | $1 -> $0 | ||
| 6 | end | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/rec b/.emacs.d/mysnippets/text-mode/erlang-mode/rec deleted file mode 100644 index 0d67834..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/rec +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : -record(...,{...}). | ||
| 2 | # -- | ||
| 3 | -record($1,{$2}). | ||
| 4 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/try b/.emacs.d/mysnippets/text-mode/erlang-mode/try deleted file mode 100644 index fa5c9c2..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/try +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name : try ... of ... catch after end | ||
| 2 | # -- | ||
| 3 | try $1 of | ||
| 4 | $0 | ||
| 5 | catch | ||
| 6 | after | ||
| 7 | end | ||
diff --git a/.emacs.d/mysnippets/text-mode/erlang-mode/undef b/.emacs.d/mysnippets/text-mode/erlang-mode/undef deleted file mode 100644 index 7ab5dd4..0000000 --- a/.emacs.d/mysnippets/text-mode/erlang-mode/undef +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : -undef(...). | ||
| 2 | # -- | ||
| 3 | -undef($1). | ||
| 4 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/au b/.emacs.d/mysnippets/text-mode/f90-mode/au deleted file mode 100644 index 1f0af73..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/au +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : automatic | ||
| 3 | # -- | ||
| 4 | automatic $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/bd b/.emacs.d/mysnippets/text-mode/f90-mode/bd deleted file mode 100644 index 8840102..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/bd +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : block data | ||
| 3 | # -- | ||
| 4 | block data $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/c b/.emacs.d/mysnippets/text-mode/f90-mode/c deleted file mode 100644 index c7182e4..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/c +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : continue | ||
| 3 | # -- | ||
| 4 | continue $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/ch b/.emacs.d/mysnippets/text-mode/f90-mode/ch deleted file mode 100644 index 7e6b4cb..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/ch +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : character | ||
| 3 | # -- | ||
| 4 | character $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/cx b/.emacs.d/mysnippets/text-mode/f90-mode/cx deleted file mode 100644 index 8feb41e..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/cx +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : complex | ||
| 3 | # -- | ||
| 4 | complex $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/dc b/.emacs.d/mysnippets/text-mode/f90-mode/dc deleted file mode 100644 index 1992b1b..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/dc +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : double complex | ||
| 3 | # -- | ||
| 4 | double complex $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/do b/.emacs.d/mysnippets/text-mode/f90-mode/do deleted file mode 100644 index 2c117fd..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/do +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : do while (...) end do | ||
| 3 | # -- | ||
| 4 | do while (${1:condition}) | ||
| 5 | $0 | ||
| 6 | end do | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/dp b/.emacs.d/mysnippets/text-mode/f90-mode/dp deleted file mode 100644 index ad014b7..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/dp +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : double precision | ||
| 3 | # -- | ||
| 4 | double precision $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/eq b/.emacs.d/mysnippets/text-mode/f90-mode/eq deleted file mode 100644 index 0c6d09f..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/eq +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : equivalence | ||
| 3 | # -- | ||
| 4 | equivalence $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/ib b/.emacs.d/mysnippets/text-mode/f90-mode/ib deleted file mode 100644 index 9275a12..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/ib +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : implicit byte | ||
| 3 | # -- | ||
| 4 | implicit byte $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/ic b/.emacs.d/mysnippets/text-mode/f90-mode/ic deleted file mode 100644 index 79842ea..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/ic +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : implicit complex | ||
| 3 | # -- | ||
| 4 | implicit complex $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/ich b/.emacs.d/mysnippets/text-mode/f90-mode/ich deleted file mode 100644 index 53c7f81..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/ich +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : implicit character | ||
| 3 | # -- | ||
| 4 | implicit character $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/if b/.emacs.d/mysnippets/text-mode/f90-mode/if deleted file mode 100644 index b4fb526..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/if +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : if then end if | ||
| 3 | # -- | ||
| 4 | if ( ${1:condition} ) then | ||
| 5 | $0 | ||
| 6 | end if | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/ii b/.emacs.d/mysnippets/text-mode/f90-mode/ii deleted file mode 100644 index 4b1fee5..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/ii +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : implicit integer | ||
| 3 | # -- | ||
| 4 | implicit integer $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/il b/.emacs.d/mysnippets/text-mode/f90-mode/il deleted file mode 100644 index 8658af5..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/il +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : implicit logical | ||
| 3 | # -- | ||
| 4 | implicit logical $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/in b/.emacs.d/mysnippets/text-mode/f90-mode/in deleted file mode 100644 index 0c1d5e1..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/in +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : implicit none | ||
| 3 | # -- | ||
| 4 | implicit none | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/inc b/.emacs.d/mysnippets/text-mode/f90-mode/inc deleted file mode 100644 index dd649c4..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/inc +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : include | ||
| 3 | # -- | ||
| 4 | include $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/intr b/.emacs.d/mysnippets/text-mode/f90-mode/intr deleted file mode 100644 index 147fffd..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/intr +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : intrinsic | ||
| 3 | # -- | ||
| 4 | intrinsic $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/ir b/.emacs.d/mysnippets/text-mode/f90-mode/ir deleted file mode 100644 index fb37082..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/ir +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : implicit real | ||
| 3 | # -- | ||
| 4 | implicit real $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/l b/.emacs.d/mysnippets/text-mode/f90-mode/l deleted file mode 100644 index 8605d69..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/l +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : logical | ||
| 3 | # -- | ||
| 4 | logical $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/pa b/.emacs.d/mysnippets/text-mode/f90-mode/pa deleted file mode 100644 index 1b1b503..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/pa +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : parameter | ||
| 3 | # -- | ||
| 4 | parameter $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/pr b/.emacs.d/mysnippets/text-mode/f90-mode/pr deleted file mode 100644 index e0f8baa..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/pr +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : program ... end program ... | ||
| 3 | # -- | ||
| 4 | program ${1:name} | ||
| 5 | $0 | ||
| 6 | end program ${1:name} | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/re b/.emacs.d/mysnippets/text-mode/f90-mode/re deleted file mode 100644 index 08c7ba0..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/re +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : read (*,*) | ||
| 3 | # -- | ||
| 4 | read (${1:*},${2:*}) $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/st b/.emacs.d/mysnippets/text-mode/f90-mode/st deleted file mode 100644 index 23ae7d0..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/st +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : structure | ||
| 3 | # -- | ||
| 4 | structure $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/su b/.emacs.d/mysnippets/text-mode/f90-mode/su deleted file mode 100644 index d3857b8..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/su +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : subroutine | ||
| 3 | # -- | ||
| 4 | subroutine $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/f90-mode/wr b/.emacs.d/mysnippets/text-mode/f90-mode/wr deleted file mode 100644 index 1ac3eb9..0000000 --- a/.emacs.d/mysnippets/text-mode/f90-mode/wr +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor: Li Zhu <http://www.zhuli.name> | ||
| 2 | #name : write (*,*) | ||
| 3 | # -- | ||
| 4 | write (${1:*},${2:*}) $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/body b/.emacs.d/mysnippets/text-mode/html-mode/body deleted file mode 100644 index c924f8c..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <body>...</body> | ||
| 3 | # -- | ||
| 4 | <body$1> | ||
| 5 | $0 | ||
| 6 | </body> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/br b/.emacs.d/mysnippets/text-mode/html-mode/br deleted file mode 100644 index 3492098..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/br +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <br /> | ||
| 3 | # -- | ||
| 4 | <br /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/code b/.emacs.d/mysnippets/text-mode/html-mode/code deleted file mode 100644 index 6f558ec..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/code +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <code>...</code> | ||
| 3 | # -- | ||
| 4 | <code> | ||
| 5 | $0 | ||
| 6 | </code> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/code.class b/.emacs.d/mysnippets/text-mode/html-mode/code.class deleted file mode 100644 index b910eb7..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/code.class +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <code class="...">...</code> | ||
| 3 | # -- | ||
| 4 | <code class="$1"> | ||
| 5 | $0 | ||
| 6 | </code> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/dd b/.emacs.d/mysnippets/text-mode/html-mode/dd deleted file mode 100644 index 8120b13..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/dd +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Rodrigo Setti <rodrigosetti@gmail.com> | ||
| 2 | #name : <dd> ... </dd> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <dd>$1</dd> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/div b/.emacs.d/mysnippets/text-mode/html-mode/div deleted file mode 100644 index 1c9c0c8..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/div +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : <div...>...</div> | ||
| 2 | # -- | ||
| 3 | <div${1: id="${2:some_id}"}${3: class="${4:some_class}"}>$0</div> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/div.class b/.emacs.d/mysnippets/text-mode/html-mode/div.class deleted file mode 100644 index 11c12d6..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/div.class +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <div class="...">...</div> | ||
| 3 | # -- | ||
| 4 | <div class="$1"> | ||
| 5 | $0 | ||
| 6 | </div> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/div.id b/.emacs.d/mysnippets/text-mode/html-mode/div.id deleted file mode 100644 index ccde64d..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/div.id +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <div id="...">...</div> | ||
| 3 | # -- | ||
| 4 | <div id="$1"> | ||
| 5 | $0 | ||
| 6 | </div> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/div.id-class b/.emacs.d/mysnippets/text-mode/html-mode/div.id-class deleted file mode 100644 index bce8920..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/div.id-class +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <div id="..." class="...">...</div> | ||
| 3 | # -- | ||
| 4 | <div id="$1" class="$2"> | ||
| 5 | $0 | ||
| 6 | </div> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/dl b/.emacs.d/mysnippets/text-mode/html-mode/dl deleted file mode 100644 index be11bb5..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/dl +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Rodrigo Setti <rodrigosetti@gmail.com> | ||
| 2 | #name : <dl> ... </dl> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <dl> | ||
| 6 | $0 | ||
| 7 | </dl> | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/dl.id b/.emacs.d/mysnippets/text-mode/html-mode/dl.id deleted file mode 100644 index 16aba53..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/dl.id +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Rodrigo Setti <rodrigosetti@gmail.com> | ||
| 2 | #name : <dl> ... </dl> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <dl id="$1"> | ||
| 6 | $0 | ||
| 7 | </dl> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/doctype b/.emacs.d/mysnippets/text-mode/html-mode/doctype deleted file mode 100644 index a60dfb6..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/doctype +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : Doctype HTML 4.01 Strict | ||
| 2 | #group : meta | ||
| 3 | # -- | ||
| 4 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhml1 b/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhml1 deleted file mode 100644 index 5d95e07..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhml1 +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : DocType XHTML 1.0 frameset | ||
| 2 | #group : meta | ||
| 3 | # -- | ||
| 4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_1 b/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_1 deleted file mode 100644 index fec46d7..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_1 +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : DocType XHTML 1.1 | ||
| 2 | #group : meta | ||
| 3 | # -- | ||
| 4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_strict b/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_strict deleted file mode 100644 index 20d95d3..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_strict +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : DocType XHTML 1.0 Strict | ||
| 2 | #group : meta | ||
| 3 | # -- | ||
| 4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_transitional b/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_transitional deleted file mode 100644 index c5255fc..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/doctype.xhtml1_transitional +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : DocType XHTML 1.0 Transitional | ||
| 2 | #group : meta | ||
| 3 | # -- | ||
| 4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/dov b/.emacs.d/mysnippets/text-mode/html-mode/dov deleted file mode 100644 index e8341ea..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/dov +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | #name : <dov...>...</dov> | ||
| 2 | # -- | ||
| 3 | a mirror up here $3 | ||
| 4 | |||
| 5 | |||
| 6 | <dov ${1:id="${2:some_id and here comes another nested field: ${3:nested_shit}}"}> | ||
| 7 | $0 | ||
| 8 | </dov> | ||
| 9 | <dov $1> | ||
| 10 | actually some other shit and $3 | ||
| 11 | </dov> | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/dt b/.emacs.d/mysnippets/text-mode/html-mode/dt deleted file mode 100644 index f385cec..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/dt +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Rodrigo Setti <rodrigosetti@gmail.com> | ||
| 2 | #name : <dt> ... </dt> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <dt>$1</dt> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/form b/.emacs.d/mysnippets/text-mode/html-mode/form deleted file mode 100644 index f1c066d..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/form +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name :<form method="..." id="..." action="..."></form> | ||
| 3 | # -- | ||
| 4 | <form method="$1" id="$2" action="$3"> | ||
| 5 | $0 | ||
| 6 | </form> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/h1 b/.emacs.d/mysnippets/text-mode/html-mode/h1 deleted file mode 100644 index 414e457..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/h1 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <h1>...</h1> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h1>$1</h1> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/h2 b/.emacs.d/mysnippets/text-mode/html-mode/h2 deleted file mode 100644 index 3722a29..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/h2 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <h2>...</h2> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h2>$1</h2> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/h3 b/.emacs.d/mysnippets/text-mode/html-mode/h3 deleted file mode 100644 index a1eaab1..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/h3 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <h3>...</h3> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h3>$1</h3> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/h4 b/.emacs.d/mysnippets/text-mode/html-mode/h4 deleted file mode 100644 index df71628..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/h4 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <h4>...</h4> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h4>$1</h4> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/h5 b/.emacs.d/mysnippets/text-mode/html-mode/h5 deleted file mode 100644 index 0109822..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/h5 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <h5>...</h5> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h5>$1</h5> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/h6 b/.emacs.d/mysnippets/text-mode/html-mode/h6 deleted file mode 100644 index 21c718f..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/h6 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <h6>...</h6> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h6>$1</h6> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/head b/.emacs.d/mysnippets/text-mode/html-mode/head deleted file mode 100644 index d639a73..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/head +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <head>...</head> | ||
| 3 | # -- | ||
| 4 | <head> | ||
| 5 | $0 | ||
| 6 | </head> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/hr b/.emacs.d/mysnippets/text-mode/html-mode/hr deleted file mode 100644 index c2c330c..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/hr +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <hr /> | ||
| 3 | # -- | ||
| 4 | <hr /> | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/href b/.emacs.d/mysnippets/text-mode/html-mode/href deleted file mode 100644 index 121d589..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/href +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <a href="...">...</a> | ||
| 3 | # -- | ||
| 4 | <a href="$1">$2</a> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/html b/.emacs.d/mysnippets/text-mode/html-mode/html deleted file mode 100644 index 958aa6d..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/html +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <html>...</html> | ||
| 3 | # -- | ||
| 4 | <html> | ||
| 5 | $0 | ||
| 6 | </html> | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/html.xmlns b/.emacs.d/mysnippets/text-mode/html-mode/html.xmlns deleted file mode 100644 index 7dd7ee4..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/html.xmlns +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <html xmlns="...">...</html> | ||
| 3 | # -- | ||
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}"> | ||
| 5 | $0 | ||
| 6 | </html> | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/img b/.emacs.d/mysnippets/text-mode/html-mode/img deleted file mode 100644 index 897f605..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/img +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <img src="..." class="..." alt="..." /> | ||
| 3 | # -- | ||
| 4 | <img src="$1" class="$2" alt="$3" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/input b/.emacs.d/mysnippets/text-mode/html-mode/input deleted file mode 100644 index c79ba87..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/input +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <input ... /> | ||
| 3 | # -- | ||
| 4 | <input type="$1" name="$2" value="$3" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/li b/.emacs.d/mysnippets/text-mode/html-mode/li deleted file mode 100644 index c5139fa..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/li +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <li>...</li> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <li>$1</li> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/li.class b/.emacs.d/mysnippets/text-mode/html-mode/li.class deleted file mode 100644 index 90f0c65..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/li.class +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <li class="...">...</li> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <li class="$1">$2</li> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/link.stylesheet b/.emacs.d/mysnippets/text-mode/html-mode/link.stylesheet deleted file mode 100644 index 6c9de74..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/link.stylesheet +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <link stylesheet="..." /> | ||
| 3 | # -- | ||
| 4 | <link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/link.stylesheet-ie b/.emacs.d/mysnippets/text-mode/html-mode/link.stylesheet-ie deleted file mode 100644 index 4f6a776..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/link.stylesheet-ie +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <!--[if IE]><link stylesheet="..." /><![endif]--> | ||
| 3 | # -- | ||
| 4 | <!--[if IE]> | ||
| 5 | <link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" /> | ||
| 6 | <![endif]--> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/mailto b/.emacs.d/mysnippets/text-mode/html-mode/mailto deleted file mode 100644 index 419f2a5..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/mailto +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <a href="mailto:...@...">...</a> | ||
| 3 | # -- | ||
| 4 | <a href="mailto:$1@$2">$0</a> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/meta b/.emacs.d/mysnippets/text-mode/html-mode/meta deleted file mode 100644 index 30319ef..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/meta +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #group : meta | ||
| 3 | #name : <meta name="..." content="..." /> | ||
| 4 | # -- | ||
| 5 | <meta name="${1:generator}" content="${2:content}" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/meta.http-equiv b/.emacs.d/mysnippets/text-mode/html-mode/meta.http-equiv deleted file mode 100644 index c059a44..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/meta.http-equiv +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <meta http-equiv="..." content="..." /> | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <meta name="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/ol b/.emacs.d/mysnippets/text-mode/html-mode/ol deleted file mode 100644 index 58899fa..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/ol +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <ol>...</ol> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <ol> | ||
| 6 | $0 | ||
| 7 | </ol> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/ol.class b/.emacs.d/mysnippets/text-mode/html-mode/ol.class deleted file mode 100644 index b091f08..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/ol.class +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <ol class="...">...</ol> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <ol class="$1"> | ||
| 6 | $0 | ||
| 7 | </ol> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/ol.id b/.emacs.d/mysnippets/text-mode/html-mode/ol.id deleted file mode 100644 index 13c7c06..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/ol.id +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <ol id="...">...</ol> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <ol id="$1"> | ||
| 6 | $0 | ||
| 7 | </ol> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/p b/.emacs.d/mysnippets/text-mode/html-mode/p deleted file mode 100644 index 649d9a2..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/p +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <p>...</p> | ||
| 3 | # -- | ||
| 4 | <p>$1</p> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/pre b/.emacs.d/mysnippets/text-mode/html-mode/pre deleted file mode 100644 index bfebb3c..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/pre +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <pre>...</pre> | ||
| 3 | # -- | ||
| 4 | <pre> | ||
| 5 | $0 | ||
| 6 | </pre> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/quote b/.emacs.d/mysnippets/text-mode/html-mode/quote deleted file mode 100644 index 65ded74..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/quote +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <blockquote>...</blockquote> | ||
| 3 | # -- | ||
| 4 | <blockquote> | ||
| 5 | $1 | ||
| 6 | </blockquote> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/script.javascript b/.emacs.d/mysnippets/text-mode/html-mode/script.javascript deleted file mode 100644 index bf0c3b5..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/script.javascript +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name :<script type="text/javascript">...</script> | ||
| 3 | # -- | ||
| 4 | <script type="text/javascript"> | ||
| 5 | $0 | ||
| 6 | </script> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/script.javascript-src b/.emacs.d/mysnippets/text-mode/html-mode/script.javascript-src deleted file mode 100644 index b64c4dc..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/script.javascript-src +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name :<script type="text/javascript" src="..."></script> | ||
| 3 | # -- | ||
| 4 | <script type="text/javascript" src="$1"></script> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/span b/.emacs.d/mysnippets/text-mode/html-mode/span deleted file mode 100644 index 149758d..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/span +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <span>...</span> | ||
| 3 | # -- | ||
| 4 | <span>$1</span> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/span.class b/.emacs.d/mysnippets/text-mode/html-mode/span.class deleted file mode 100644 index 2d5ee55..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/span.class +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <span class="...">...</span> | ||
| 3 | # -- | ||
| 4 | <span class="$1">$2</span> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/span.id b/.emacs.d/mysnippets/text-mode/html-mode/span.id deleted file mode 100644 index 30a81bc..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/span.id +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <span id="...">...</span> | ||
| 3 | # -- | ||
| 4 | <span id="$1">$2</span> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/style b/.emacs.d/mysnippets/text-mode/html-mode/style deleted file mode 100644 index 300bead..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/style +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <style type="text/css" media="...">...</style> | ||
| 3 | # -- | ||
| 4 | <style type="text/css" media="${1:screen}"> | ||
| 5 | $0 | ||
| 6 | </style> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/table b/.emacs.d/mysnippets/text-mode/html-mode/table deleted file mode 100644 index 561614f..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/table +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <table ...>...</table> | ||
| 3 | #group : table | ||
| 4 | # -- | ||
| 5 | <table width="$1" cellspacing="$2" cellpadding="$3" border="$4"> | ||
| 6 | $0 | ||
| 7 | </table> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/td b/.emacs.d/mysnippets/text-mode/html-mode/td deleted file mode 100644 index 4f494eb..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/td +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <td>...</td> | ||
| 3 | #group : table | ||
| 4 | # -- | ||
| 5 | <td$1>$2</td> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/textarea b/.emacs.d/mysnippets/text-mode/html-mode/textarea deleted file mode 100644 index 058498f..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/textarea +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <textarea ...></textarea> | ||
| 3 | # -- | ||
| 4 | <textarea name="$1" id="$2" rows="$3" cols="$4" tabindex="$5"></textarea> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/th b/.emacs.d/mysnippets/text-mode/html-mode/th deleted file mode 100644 index 3b5fab1..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/th +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <th>...</th> | ||
| 3 | #group : table | ||
| 4 | # -- | ||
| 5 | <th$1>$2</th> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/title b/.emacs.d/mysnippets/text-mode/html-mode/title deleted file mode 100644 index 21794cd..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/title +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <title>...</title> | ||
| 3 | # -- | ||
| 4 | <title>$1</title> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/tr b/.emacs.d/mysnippets/text-mode/html-mode/tr deleted file mode 100644 index 3878a1c..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/tr +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <tr>...</tr> | ||
| 3 | #group : table | ||
| 4 | # -- | ||
| 5 | <tr> | ||
| 6 | $0 | ||
| 7 | </tr> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/ul b/.emacs.d/mysnippets/text-mode/html-mode/ul deleted file mode 100644 index 981e6e7..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/ul +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <ul>...</ul> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <ul> | ||
| 6 | $0 | ||
| 7 | </ul> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/ul.class b/.emacs.d/mysnippets/text-mode/html-mode/ul.class deleted file mode 100644 index c1e3e91..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/ul.class +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <ul class="...">...</ul> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <ul class="$1"> | ||
| 6 | $0 | ||
| 7 | </ul> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/html-mode/ul.id b/.emacs.d/mysnippets/text-mode/html-mode/ul.id deleted file mode 100644 index ababf37..0000000 --- a/.emacs.d/mysnippets/text-mode/html-mode/ul.id +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Jimmy Wu <frozenthrone88@gmail.com> | ||
| 2 | #name : <ul id="...">...</ul> | ||
| 3 | #group : list | ||
| 4 | # -- | ||
| 5 | <ul id="$1"> | ||
| 6 | $0 | ||
| 7 | </ul> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/latex-mode/begin b/.emacs.d/mysnippets/text-mode/latex-mode/begin deleted file mode 100644 index dc42d2f..0000000 --- a/.emacs.d/mysnippets/text-mode/latex-mode/begin +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #contributor : Rodrigo Setti <rodrigosetti@gmail.com> | ||
| 2 | #name : \begin{environment} ... \end{environment} | ||
| 3 | # -- | ||
| 4 | |||
| 5 | \begin{${1:environment}} | ||
| 6 | $0 | ||
| 7 | \end{$1} | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/+ b/.emacs.d/mysnippets/text-mode/markdown-mode/+ deleted file mode 100644 index 0407169..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/+ +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : Unordered List | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | + ${1:Text} | ||
| 5 | +$0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/- b/.emacs.d/mysnippets/text-mode/markdown-mode/- deleted file mode 100644 index 9d5c51d..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/- +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : Unordered List | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | - ${1:Text} | ||
| 5 | -$0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/_ b/.emacs.d/mysnippets/text-mode/markdown-mode/_ deleted file mode 100644 index 50ab476..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/_ +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : Emphasis | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | _${1:Text}_ $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/__ b/.emacs.d/mysnippets/text-mode/markdown-mode/__ deleted file mode 100644 index b6304f3..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/__ +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : Strong | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | **${1:Text}** $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/` b/.emacs.d/mysnippets/text-mode/markdown-mode/` deleted file mode 100644 index ae58211..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/` +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : Inline Code | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | \`${1:Code}\` $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/h1.1 b/.emacs.d/mysnippets/text-mode/markdown-mode/h1.1 deleted file mode 100644 index 8bb7ea2..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/h1.1 +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Header 1 (#) | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | # ${1:Header 1} # | ||
| 5 | |||
| 6 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/h1.2 b/.emacs.d/mysnippets/text-mode/markdown-mode/h1.2 deleted file mode 100644 index d2e7b5b..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/h1.2 +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name : Header 1 (=) | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | ${1:Header 1} | ||
| 5 | ${1:$(make-string (string-width text) ?\=)} | ||
| 6 | |||
| 7 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/h2.1 b/.emacs.d/mysnippets/text-mode/markdown-mode/h2.1 deleted file mode 100644 index bfee3fc..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/h2.1 +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Header 2 (##) | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | ## ${1:Header 1} ## | ||
| 5 | |||
| 6 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/h2.2 b/.emacs.d/mysnippets/text-mode/markdown-mode/h2.2 deleted file mode 100644 index af06045..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/h2.2 +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name : Header 2 (-) | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | ${1:Header 2} | ||
| 5 | ${1:$(make-string (string-width text) ?\-)} | ||
| 6 | |||
| 7 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/h3 b/.emacs.d/mysnippets/text-mode/markdown-mode/h3 deleted file mode 100644 index 44a6104..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/h3 +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Header 3 | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | ### ${1:Header 3} ### | ||
| 5 | |||
| 6 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/h4 b/.emacs.d/mysnippets/text-mode/markdown-mode/h4 deleted file mode 100644 index 315140a..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/h4 +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Header 4 | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | #### ${1:Header 4} #### | ||
| 5 | |||
| 6 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/h5 b/.emacs.d/mysnippets/text-mode/markdown-mode/h5 deleted file mode 100644 index f50a785..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/h5 +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Header 5 | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | ##### ${1:Header 5} ##### | ||
| 5 | |||
| 6 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/h6 b/.emacs.d/mysnippets/text-mode/markdown-mode/h6 deleted file mode 100644 index 1cdfebb..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/h6 +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Header 6 | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | ###### ${1:Header 6} ###### | ||
| 5 | |||
| 6 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/hr.1 b/.emacs.d/mysnippets/text-mode/markdown-mode/hr.1 deleted file mode 100644 index 5fbe4f4..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/hr.1 +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name : Horizontal Rule (-) | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | |||
| 5 | ---------- | ||
| 6 | |||
| 7 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/hr.2 b/.emacs.d/mysnippets/text-mode/markdown-mode/hr.2 deleted file mode 100644 index 2d4de22..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/hr.2 +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name : Horizontal Rule (*) | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | |||
| 5 | ******* | ||
| 6 | |||
| 7 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/img b/.emacs.d/mysnippets/text-mode/markdown-mode/img deleted file mode 100644 index 69ee77d..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/img +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : Image | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 |  $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/link b/.emacs.d/mysnippets/text-mode/markdown-mode/link deleted file mode 100644 index dd7f99b..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/link +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : Link | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | [${1:Link Text}](${2:URL} $3) $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/ol b/.emacs.d/mysnippets/text-mode/markdown-mode/ol deleted file mode 100644 index e715669..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/ol +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : Ordered List | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | ${1:1}. ${2:Text} | ||
| 5 | ${1:$(number-to-string (1+ (string-to-number text)))}. $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/rimg b/.emacs.d/mysnippets/text-mode/markdown-mode/rimg deleted file mode 100644 index caafb60..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/rimg +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : Referenced Image | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | ![${1:Alt Text}][$2] $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/rlb b/.emacs.d/mysnippets/text-mode/markdown-mode/rlb deleted file mode 100644 index 681d9f0..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/rlb +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : Reference Label | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | [${1:Reference}]: ${2:URL} $3 | ||
| 5 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/markdown-mode/rlink b/.emacs.d/mysnippets/text-mode/markdown-mode/rlink deleted file mode 100644 index e35a0c0..0000000 --- a/.emacs.d/mysnippets/text-mode/markdown-mode/rlink +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : Reference Link | ||
| 2 | #contributor: Peng Deng <dengpeng@gmail.com> | ||
| 3 | # -- | ||
| 4 | [${1:Link Text}][$2] $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/body b/.emacs.d/mysnippets/text-mode/nxml-mode/body deleted file mode 100644 index ddcf0cf..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <body>...</body> | ||
| 3 | # -- | ||
| 4 | <body$1> | ||
| 5 | $0 | ||
| 6 | </body> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/br b/.emacs.d/mysnippets/text-mode/nxml-mode/br deleted file mode 100644 index ba35773..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/br +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <br /> | ||
| 3 | # -- | ||
| 4 | <br /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/code b/.emacs.d/mysnippets/text-mode/nxml-mode/code deleted file mode 100644 index b7c43fd..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/code +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <code>...</code> | ||
| 3 | # -- | ||
| 4 | <code> | ||
| 5 | $0 | ||
| 6 | </code> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/div b/.emacs.d/mysnippets/text-mode/nxml-mode/div deleted file mode 100644 index 90fbc2e..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/div +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <div...>...</div> | ||
| 3 | # -- | ||
| 4 | <div$1>$0</div> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/doctype b/.emacs.d/mysnippets/text-mode/nxml-mode/doctype deleted file mode 100644 index 3fdcf17..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/doctype +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : DocType XHTML 1.1 | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/doctype.xhtml1_strict b/.emacs.d/mysnippets/text-mode/nxml-mode/doctype.xhtml1_strict deleted file mode 100644 index eca5860..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/doctype.xhtml1_strict +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : DocType XHTML 1.0 Strict | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/doctype.xhtml1_transitional b/.emacs.d/mysnippets/text-mode/nxml-mode/doctype.xhtml1_transitional deleted file mode 100644 index fba232a..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/doctype.xhtml1_transitional +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : DocType XHTML 1.0 Transitional | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/form b/.emacs.d/mysnippets/text-mode/nxml-mode/form deleted file mode 100644 index 252253e..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/form +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name :<form method="..." action="..."></form> | ||
| 3 | # -- | ||
| 4 | <form method="$1" action="$2"> | ||
| 5 | $0 | ||
| 6 | </form> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/h1 b/.emacs.d/mysnippets/text-mode/nxml-mode/h1 deleted file mode 100644 index bc72fd6..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/h1 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <h1>...</h1> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h1>$1</h1> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/h2 b/.emacs.d/mysnippets/text-mode/nxml-mode/h2 deleted file mode 100644 index b790e56..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/h2 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <h2>...</h2> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h2>$1</h2> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/h3 b/.emacs.d/mysnippets/text-mode/nxml-mode/h3 deleted file mode 100644 index 7dfd9d7..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/h3 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <h3>...</h3> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h3>$1</h3> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/h4 b/.emacs.d/mysnippets/text-mode/nxml-mode/h4 deleted file mode 100644 index b782998..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/h4 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <h4>...</h4> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h4>$1</h4> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/h5 b/.emacs.d/mysnippets/text-mode/nxml-mode/h5 deleted file mode 100644 index 13a51a1..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/h5 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <h5>...</h5> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h5>$1</h5> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/h6 b/.emacs.d/mysnippets/text-mode/nxml-mode/h6 deleted file mode 100644 index b2f0c55..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/h6 +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <h6>...</h6> | ||
| 3 | #group : header | ||
| 4 | # -- | ||
| 5 | <h6>$1</h6> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/head b/.emacs.d/mysnippets/text-mode/nxml-mode/head deleted file mode 100644 index 91347b9..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/head +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <head>...</head> | ||
| 3 | # -- | ||
| 4 | <head> | ||
| 5 | $0 | ||
| 6 | </head> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/hr b/.emacs.d/mysnippets/text-mode/nxml-mode/hr deleted file mode 100644 index a17e1db..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/hr +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <hr /> | ||
| 3 | # -- | ||
| 4 | <hr /> | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/href b/.emacs.d/mysnippets/text-mode/nxml-mode/href deleted file mode 100644 index 0db2fae..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/href +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <a href="...">...</a> | ||
| 3 | # -- | ||
| 4 | <a href="$1">$2</a> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/html b/.emacs.d/mysnippets/text-mode/nxml-mode/html deleted file mode 100644 index 85e09f7..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/html +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <html xmlns="...">...</html> | ||
| 3 | # -- | ||
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}"> | ||
| 5 | $0 | ||
| 6 | </html> | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/img b/.emacs.d/mysnippets/text-mode/nxml-mode/img deleted file mode 100644 index 1f4382b..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/img +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <img src="..." alt="..." /> | ||
| 3 | # -- | ||
| 4 | <img src="$1" alt="$2" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/input b/.emacs.d/mysnippets/text-mode/nxml-mode/input deleted file mode 100644 index 80c3503..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/input +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <input ... /> | ||
| 3 | # -- | ||
| 4 | <input type="$1" name="$2" value="$3" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/li b/.emacs.d/mysnippets/text-mode/nxml-mode/li deleted file mode 100644 index c952682..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/li +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <li>...</li> | ||
| 3 | # -- | ||
| 4 | <li>$1</li> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/link b/.emacs.d/mysnippets/text-mode/nxml-mode/link deleted file mode 100644 index d93b7a5..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/link +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <link stylesheet="..." /> | ||
| 3 | # -- | ||
| 4 | <link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/meta b/.emacs.d/mysnippets/text-mode/nxml-mode/meta deleted file mode 100644 index dfee1f2..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/meta +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <meta name="..." content="..." /> | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <meta name="${1:generator}" content="${2:content}" /> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/name b/.emacs.d/mysnippets/text-mode/nxml-mode/name deleted file mode 100644 index 592d0da..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/name +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <a name="..."></a> | ||
| 3 | # -- | ||
| 4 | <a name="$1"></a> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/ol b/.emacs.d/mysnippets/text-mode/nxml-mode/ol deleted file mode 100644 index 16cfe8d..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/ol +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <ol>...</ol> | ||
| 3 | # -- | ||
| 4 | <ol> | ||
| 5 | $0 | ||
| 6 | </ol> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/p b/.emacs.d/mysnippets/text-mode/nxml-mode/p deleted file mode 100644 index 6845ba5..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/p +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <p>...</p> | ||
| 3 | # -- | ||
| 4 | <p>$1</p> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/pre b/.emacs.d/mysnippets/text-mode/nxml-mode/pre deleted file mode 100644 index d70b722..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/pre +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <pre>...</pre> | ||
| 3 | # -- | ||
| 4 | <pre> | ||
| 5 | $0 | ||
| 6 | </pre> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/quote b/.emacs.d/mysnippets/text-mode/nxml-mode/quote deleted file mode 100644 index 20fed1e..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/quote +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <blockquote>...</blockquote> | ||
| 3 | # -- | ||
| 4 | <blockquote> | ||
| 5 | $1 | ||
| 6 | </blockquote> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/span b/.emacs.d/mysnippets/text-mode/nxml-mode/span deleted file mode 100644 index a0bba2a..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/span +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <span>...</span> | ||
| 3 | # -- | ||
| 4 | <span>$1</span> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/style b/.emacs.d/mysnippets/text-mode/nxml-mode/style deleted file mode 100644 index b80be1c..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/style +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <style type="text/css" media="...">...</style> | ||
| 3 | # -- | ||
| 4 | <style type="text/css" media="${1:screen}"> | ||
| 5 | $0 | ||
| 6 | </style> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/table b/.emacs.d/mysnippets/text-mode/nxml-mode/table deleted file mode 100644 index 03fd119..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/table +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <table>...</table> | ||
| 3 | # -- | ||
| 4 | <table> | ||
| 5 | $0 | ||
| 6 | </table> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/tag.1l b/.emacs.d/mysnippets/text-mode/nxml-mode/tag.1l deleted file mode 100644 index 8988635..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/tag.1l +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <tag>...</tag> | ||
| 3 | # -- | ||
| 4 | <${1:tag}>$2</$1>$0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/tag.2l b/.emacs.d/mysnippets/text-mode/nxml-mode/tag.2l deleted file mode 100644 index 08b4a26..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/tag.2l +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <tag> \n...\n</tag> | ||
| 3 | # -- | ||
| 4 | <${1:tag}> | ||
| 5 | $2 | ||
| 6 | </$1>$0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/td b/.emacs.d/mysnippets/text-mode/nxml-mode/td deleted file mode 100644 index f4615a7..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/td +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <td>...</td> | ||
| 3 | # -- | ||
| 4 | <td$1>$2</td> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/th b/.emacs.d/mysnippets/text-mode/nxml-mode/th deleted file mode 100644 index d988b20..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/th +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <th>...</th> | ||
| 3 | # -- | ||
| 4 | <th$1>$2</th> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/title b/.emacs.d/mysnippets/text-mode/nxml-mode/title deleted file mode 100644 index 7cd238a..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/title +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <title>...</title> | ||
| 3 | # -- | ||
| 4 | <title>$1</title> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/tr b/.emacs.d/mysnippets/text-mode/nxml-mode/tr deleted file mode 100644 index c72daf2..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/tr +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <tr>...</tr> | ||
| 3 | # -- | ||
| 4 | <tr> | ||
| 5 | $0 | ||
| 6 | </tr> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/nxml-mode/ul b/.emacs.d/mysnippets/text-mode/nxml-mode/ul deleted file mode 100644 index dac5a66..0000000 --- a/.emacs.d/mysnippets/text-mode/nxml-mode/ul +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <ul>...</ul> | ||
| 3 | # -- | ||
| 4 | <ul> | ||
| 5 | $0 | ||
| 6 | </ul> \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/eval b/.emacs.d/mysnippets/text-mode/perl-mode/eval deleted file mode 100644 index c1f1e1b..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/eval +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #name : eval { ... } if ($@) { ... } | ||
| 2 | # -- | ||
| 3 | eval { | ||
| 4 | ${1:# do something risky...} | ||
| 5 | }; | ||
| 6 | if (\$@) { | ||
| 7 | ${2:# handle failure...} | ||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/for b/.emacs.d/mysnippets/text-mode/perl-mode/for deleted file mode 100644 index ec5532f..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/for +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : for (...) { ... } | ||
| 2 | # -- | ||
| 3 | for (my \$${1:var} = 0; \$$1 < ${2:expression}; \$$1++) { | ||
| 4 | ${3:# body...} | ||
| 5 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/fore b/.emacs.d/mysnippets/text-mode/perl-mode/fore deleted file mode 100644 index c878a0e..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/fore +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : foreach ... { ... } | ||
| 2 | # -- | ||
| 3 | foreach my \$${1:x} (@${2:array}) { | ||
| 4 | ${3:# body...} | ||
| 5 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/if b/.emacs.d/mysnippets/text-mode/perl-mode/if deleted file mode 100644 index 3191b97..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/if +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : if (...) { ... } | ||
| 2 | # -- | ||
| 3 | if ($1) { | ||
| 4 | $0 | ||
| 5 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/ife b/.emacs.d/mysnippets/text-mode/perl-mode/ife deleted file mode 100644 index 23f7cf6..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/ife +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name : if (...) { ... } else { ... } | ||
| 2 | # -- | ||
| 3 | if ($1) { | ||
| 4 | $2 | ||
| 5 | } else { | ||
| 6 | $3 | ||
| 7 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/ifee b/.emacs.d/mysnippets/text-mode/perl-mode/ifee deleted file mode 100644 index 7c187d1..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/ifee +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #name : if, elsif, else ... | ||
| 2 | # -- | ||
| 3 | if ($1) { | ||
| 4 | ${2:# body...} | ||
| 5 | } elsif ($3) { | ||
| 6 | ${4:# elsif...} | ||
| 7 | } else { | ||
| 8 | ${5:# else...} | ||
| 9 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/sub b/.emacs.d/mysnippets/text-mode/perl-mode/sub deleted file mode 100644 index 5ab54d7..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/sub +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : sub ... { ... } | ||
| 2 | # -- | ||
| 3 | sub ${1:function_name} { | ||
| 4 | $0 | ||
| 5 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/unless b/.emacs.d/mysnippets/text-mode/perl-mode/unless deleted file mode 100644 index baeffa2..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/unless +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : unless (...) { ... } | ||
| 2 | # -- | ||
| 3 | unless ($1) { | ||
| 4 | $0 | ||
| 5 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/while b/.emacs.d/mysnippets/text-mode/perl-mode/while deleted file mode 100644 index 9c2c470..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/while +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | #name : while (...) { ... } | ||
| 2 | # -- | ||
| 3 | while ($1) { | ||
| 4 | $0 | ||
| 5 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/xfore b/.emacs.d/mysnippets/text-mode/perl-mode/xfore deleted file mode 100644 index 58e455d..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/xfore +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : ... foreach ... | ||
| 2 | # -- | ||
| 3 | ${1:expression} foreach @${2:array}; \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/xif b/.emacs.d/mysnippets/text-mode/perl-mode/xif deleted file mode 100644 index 1d4dba8..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/xif +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : ... if ... | ||
| 2 | # -- | ||
| 3 | ${1:expression} if ${2:condition} \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/xunless b/.emacs.d/mysnippets/text-mode/perl-mode/xunless deleted file mode 100644 index f456db3..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/xunless +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : ... unless ... | ||
| 2 | # -- | ||
| 3 | ${1:expression} unless ${2:condition} \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/perl-mode/xwhile b/.emacs.d/mysnippets/text-mode/perl-mode/xwhile deleted file mode 100644 index 2515586..0000000 --- a/.emacs.d/mysnippets/text-mode/perl-mode/xwhile +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : ... while ... | ||
| 2 | # -- | ||
| 3 | ${1:expression} while ${2:condition}; \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/php-mode/ife b/.emacs.d/mysnippets/text-mode/php-mode/ife deleted file mode 100644 index eca1f01..0000000 --- a/.emacs.d/mysnippets/text-mode/php-mode/ife +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #name : php if (...) { ... } else { ... } | ||
| 2 | # -- | ||
| 3 | if (${1:condition}) | ||
| 4 | { | ||
| 5 | $0 | ||
| 6 | } | ||
| 7 | else | ||
| 8 | { | ||
| 9 | |||
| 10 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/php-mode/ppf b/.emacs.d/mysnippets/text-mode/php-mode/ppf deleted file mode 100644 index e526c42..0000000 --- a/.emacs.d/mysnippets/text-mode/php-mode/ppf +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : php public function | ||
| 2 | # -- | ||
| 3 | public function ${1:name}() | ||
| 4 | { | ||
| 5 | $0 | ||
| 6 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/php-mode/ppg b/.emacs.d/mysnippets/text-mode/php-mode/ppg deleted file mode 100644 index b648335..0000000 --- a/.emacs.d/mysnippets/text-mode/php-mode/ppg +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : php public function | ||
| 2 | # -- | ||
| 3 | public function get${1:name}() | ||
| 4 | { | ||
| 5 | return $this->$0; | ||
| 6 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/php-mode/pps b/.emacs.d/mysnippets/text-mode/php-mode/pps deleted file mode 100644 index 4eb0fad..0000000 --- a/.emacs.d/mysnippets/text-mode/php-mode/pps +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : php public function | ||
| 2 | # -- | ||
| 3 | public function set${1:name}(${2:value}) | ||
| 4 | { | ||
| 5 | $this->$0$2 = $2; | ||
| 6 | } | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/__ b/.emacs.d/mysnippets/text-mode/python-mode/__ deleted file mode 100644 index a67dc49..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/__ +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : __...__ | ||
| 2 | # -- | ||
| 3 | __${init}__ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/class b/.emacs.d/mysnippets/text-mode/python-mode/class deleted file mode 100644 index 72f339b..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/class +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | # -*- coding: utf-8 -*- | ||
| 2 | # name: class | ||
| 3 | # contributor: Orestis Markou | ||
| 4 | # contributor: Nishio Hirokazu | ||
| 5 | # contributor: Yasser González Fernández <yglez@uh.cu> | ||
| 6 | # -- | ||
| 7 | class ${1:ClassName}(${2:object}): | ||
| 8 | """$3 | ||
| 9 | """ | ||
| 10 | |||
| 11 | def __init__(self, $4): | ||
| 12 | """$5 | ||
| 13 | ${4:$ | ||
| 14 | (let* ((indent | ||
| 15 | (concat "\n" (make-string (current-column) 32))) | ||
| 16 | (args | ||
| 17 | (mapconcat | ||
| 18 | '(lambda (x) | ||
| 19 | (if (not (string= (nth 0 x) "")) | ||
| 20 | (concat "- " (char-to-string 96) (nth 0 x) | ||
| 21 | (char-to-string 96) ":"))) | ||
| 22 | (mapcar | ||
| 23 | '(lambda (x) | ||
| 24 | (mapcar | ||
| 25 | (lambda (x) | ||
| 26 | (replace-regexp-in-string "[[:blank:]]*$" "" | ||
| 27 | (replace-regexp-in-string "^[[:blank:]]*" "" x))) x)) | ||
| 28 | (mapcar '(lambda (x) (split-string x "=")) | ||
| 29 | (split-string text ","))) | ||
| 30 | indent))) | ||
| 31 | (if (string= args "") | ||
| 32 | (make-string 3 34) | ||
| 33 | (mapconcat | ||
| 34 | 'identity | ||
| 35 | (list "" "Arguments:" args (make-string 3 34)) | ||
| 36 | indent))) | ||
| 37 | } | ||
| 38 | ${4:$ | ||
| 39 | (mapconcat | ||
| 40 | '(lambda (x) | ||
| 41 | (if (not (string= (nth 0 x) "")) | ||
| 42 | (concat "self._" (nth 0 x) " = " (nth 0 x)))) | ||
| 43 | (mapcar | ||
| 44 | '(lambda (x) | ||
| 45 | (mapcar | ||
| 46 | '(lambda (x) | ||
| 47 | (replace-regexp-in-string "[[:blank:]]*$" "" | ||
| 48 | (replace-regexp-in-string "^[[:blank:]]*" "" x))) | ||
| 49 | x)) | ||
| 50 | (mapcar '(lambda (x) (split-string x "=")) | ||
| 51 | (split-string text ","))) | ||
| 52 | (concat "\n" (make-string (current-column) 32))) | ||
| 53 | } | ||
| 54 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/def b/.emacs.d/mysnippets/text-mode/python-mode/def deleted file mode 100644 index f82f791..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/def +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | # -*- coding: utf-8 -*- | ||
| 2 | # name: def | ||
| 3 | # contributor: Orestis Markou | ||
| 4 | # contributor: Yasser González Fernández <yglez@uh.cu> | ||
| 5 | # -- | ||
| 6 | def ${1:name}($2): | ||
| 7 | """$3 | ||
| 8 | ${2:$ | ||
| 9 | (let* | ||
| 10 | ((indent | ||
| 11 | (concat "\n" (make-string (current-column) 32))) | ||
| 12 | (args | ||
| 13 | (mapconcat | ||
| 14 | '(lambda (x) | ||
| 15 | (if (not (string= (nth 0 x) "")) | ||
| 16 | (concat "- " (char-to-string 96) (nth 0 x) | ||
| 17 | (char-to-string 96) ":"))) | ||
| 18 | (mapcar | ||
| 19 | '(lambda (x) | ||
| 20 | (mapcar | ||
| 21 | '(lambda (x) | ||
| 22 | (replace-regexp-in-string "[[:blank:]]*$" "" | ||
| 23 | (replace-regexp-in-string "^[[:blank:]]*" "" x))) | ||
| 24 | x)) | ||
| 25 | (mapcar '(lambda (x) (split-string x "=")) | ||
| 26 | (split-string text ","))) | ||
| 27 | indent))) | ||
| 28 | (if (string= args "") | ||
| 29 | (make-string 3 34) | ||
| 30 | (mapconcat | ||
| 31 | 'identity | ||
| 32 | (list "" "Arguments:" args (make-string 3 34)) | ||
| 33 | indent))) | ||
| 34 | } | ||
| 35 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/defm b/.emacs.d/mysnippets/text-mode/python-mode/defm deleted file mode 100644 index dc25827..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/defm +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | # -*- coding: utf-8 -*- | ||
| 2 | # name: defm | ||
| 3 | # contributor: Yasser Gonz¨¢lez Fern¨¢ndez <yglez@uh.cu> | ||
| 4 | # -- | ||
| 5 | def ${1:name}(self, $2): | ||
| 6 | """$3 | ||
| 7 | ${2:$ | ||
| 8 | (let* ((indent | ||
| 9 | (concat "\n" (make-string (current-column) 32))) | ||
| 10 | (args | ||
| 11 | (mapconcat | ||
| 12 | '(lambda (x) | ||
| 13 | (if (not (string= (nth 0 x) "")) | ||
| 14 | (concat "- " (char-to-string 96) (nth 0 x) | ||
| 15 | (char-to-string 96) ":"))) | ||
| 16 | (mapcar | ||
| 17 | '(lambda (x) | ||
| 18 | (mapcar | ||
| 19 | '(lambda (x) | ||
| 20 | (replace-regexp-in-string "[[:blank:]]*$" "" | ||
| 21 | (replace-regexp-in-string "^[[:blank:]]*" "" x))) | ||
| 22 | x)) | ||
| 23 | (mapcar '(lambda (x) (split-string x "=")) | ||
| 24 | (split-string text ","))) | ||
| 25 | indent))) | ||
| 26 | (if (string= args "") | ||
| 27 | (make-string 3 34) | ||
| 28 | (mapconcat | ||
| 29 | 'identity | ||
| 30 | (list "" "Arguments:" args (make-string 3 34)) | ||
| 31 | indent))) | ||
| 32 | } | ||
| 33 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/for b/.emacs.d/mysnippets/text-mode/python-mode/for deleted file mode 100644 index 84f3ddd..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/for +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : for ... in ... : ... | ||
| 2 | # -- | ||
| 3 | for ${var} in ${collection}: | ||
| 4 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/ifmain b/.emacs.d/mysnippets/text-mode/python-mode/ifmain deleted file mode 100644 index 6224923..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/ifmain +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : if __name__ == '__main__': ... | ||
| 2 | # -- | ||
| 3 | if __name__ == '__main__': | ||
| 4 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/mprop b/.emacs.d/mysnippets/text-mode/python-mode/mprop deleted file mode 100644 index 8a17317..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/mprop +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | #contributor : Simeon Simeonov <blackmore@pichove.org> | ||
| 2 | #name : @property foo ... getter & setter & deleter | ||
| 3 | #expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil)) | ||
| 4 | # -- | ||
| 5 | @property | ||
| 6 | def ${1:foo}(self): | ||
| 7 | """ | ||
| 8 | """ | ||
| 9 | return self._$1 | ||
| 10 | |||
| 11 | @$1.setter | ||
| 12 | def $1(self, value): | ||
| 13 | """ | ||
| 14 | """ | ||
| 15 | self._$1 = value | ||
| 16 | |||
| 17 | @$1.deleter | ||
| 18 | def $1(self): | ||
| 19 | """ | ||
| 20 | """ | ||
| 21 | pass | ||
| 22 | |||
| 23 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/mpropg b/.emacs.d/mysnippets/text-mode/python-mode/mpropg deleted file mode 100644 index eb60b49..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/mpropg +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | #contributor : Simeon Simeonov <blackmore@pichove.org> | ||
| 2 | #name : @property foo ... getter | ||
| 3 | #expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil)) | ||
| 4 | # -- | ||
| 5 | @property | ||
| 6 | def ${1:foo}(self): | ||
| 7 | """ | ||
| 8 | """ | ||
| 9 | return self._$1 | ||
| 10 | |||
| 11 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/mpropsg b/.emacs.d/mysnippets/text-mode/python-mode/mpropsg deleted file mode 100644 index 0665f5e..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/mpropsg +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | #contributor : Simeon Simeonov <blackmore@pichove.org> | ||
| 2 | #name : @property foo ... getter & setter | ||
| 3 | #expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil)) | ||
| 4 | # -- | ||
| 5 | @property | ||
| 6 | def ${1:foo}(self): | ||
| 7 | """ | ||
| 8 | """ | ||
| 9 | return self._$1 | ||
| 10 | |||
| 11 | @$1.setter | ||
| 12 | def $1(self, value): | ||
| 13 | """ | ||
| 14 | """ | ||
| 15 | self._$1 = value | ||
| 16 | |||
| 17 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/prop b/.emacs.d/mysnippets/text-mode/python-mode/prop deleted file mode 100644 index 107730a..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/prop +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | # contributor: Mads D. Kristensen <madsdk@gmail.com> | ||
| 2 | # name: prop | ||
| 3 | # -- | ||
| 4 | def ${1:foo}(): | ||
| 5 | doc = """${2:Doc string}""" | ||
| 6 | def fget(self): | ||
| 7 | return self._$1 | ||
| 8 | def fset(self, value): | ||
| 9 | self._$1 = value | ||
| 10 | def fdel(self): | ||
| 11 | del self._$1 | ||
| 12 | return locals() | ||
| 13 | $1 = property(**$1()) | ||
| 14 | |||
| 15 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/propg b/.emacs.d/mysnippets/text-mode/python-mode/propg deleted file mode 100644 index 7e994b6..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/propg +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #contributor : Julio Carlos Menendez <godinblack@gmail.com> | ||
| 2 | #name : _get_foo ... foo=property(...) | ||
| 3 | # -- | ||
| 4 | def _get_${1:foo}(self): | ||
| 5 | return self._$1 | ||
| 6 | |||
| 7 | $1 = property(_get_$1) | ||
| 8 | |||
| 9 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/propsg b/.emacs.d/mysnippets/text-mode/python-mode/propsg deleted file mode 100644 index e09d82a..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/propsg +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | #contributor : Julio Carlos Menendez <godinblack@gmail.com> | ||
| 2 | #name : _get_foo ... _set_foo ... foo=property(...) | ||
| 3 | # -- | ||
| 4 | def _set_${1:foo}(self, value): | ||
| 5 | self._$1 = value | ||
| 6 | |||
| 7 | def _get_$1(self): | ||
| 8 | return self._$1 | ||
| 9 | |||
| 10 | $1 = property(_get_$1, _set_$1) | ||
| 11 | |||
| 12 | $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/pscript b/.emacs.d/mysnippets/text-mode/python-mode/pscript deleted file mode 100644 index 8fdb376..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/pscript +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | #contributor : Simeon Simeonov <blackmore@pichove.org> | ||
| 2 | #name : script setup | ||
| 3 | #expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil)) | ||
| 4 | # -- | ||
| 5 | #!/usr/bin/env python | ||
| 6 | # -*- coding: utf-8 -*- | ||
| 7 | |||
| 8 | def main(): | ||
| 9 | $0 | ||
| 10 | |||
| 11 | if __name__ == '__main__': | ||
| 12 | main() | ||
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/while b/.emacs.d/mysnippets/text-mode/python-mode/while deleted file mode 100644 index 704dd7c..0000000 --- a/.emacs.d/mysnippets/text-mode/python-mode/while +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : while ... : ... | ||
| 2 | # -- | ||
| 3 | while ${condition}: | ||
| 4 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/rst-mode/chap b/.emacs.d/mysnippets/text-mode/rst-mode/chap deleted file mode 100644 index 6474c00..0000000 --- a/.emacs.d/mysnippets/text-mode/rst-mode/chap +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Chapter title | ||
| 2 | # -- | ||
| 3 | ${1:Chapter} | ||
| 4 | ${1:$(make-string (string-width text) ?\=)} | ||
| 5 | |||
| 6 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/rst-mode/sec b/.emacs.d/mysnippets/text-mode/rst-mode/sec deleted file mode 100644 index 76087ed..0000000 --- a/.emacs.d/mysnippets/text-mode/rst-mode/sec +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Section title | ||
| 2 | # -- | ||
| 3 | ${1:Section} | ||
| 4 | ${1:$(make-string (string-width text) ?\-)} | ||
| 5 | |||
| 6 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/rst-mode/tit b/.emacs.d/mysnippets/text-mode/rst-mode/tit deleted file mode 100644 index cac2e77..0000000 --- a/.emacs.d/mysnippets/text-mode/rst-mode/tit +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name : Document title | ||
| 2 | # -- | ||
| 3 | ${1:$(make-string (string-width text) ?\=)} | ||
| 4 | ${1:Title} | ||
| 5 | ${1:$(make-string (string-width text) ?\=)} | ||
| 6 | |||
| 7 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/# b/.emacs.d/mysnippets/text-mode/ruby-mode/# deleted file mode 100644 index 33581c8..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/# +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : # => | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | # => \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/=b b/.emacs.d/mysnippets/text-mode/ruby-mode/=b deleted file mode 100644 index 22a013f..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/=b +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : =begin rdoc ... =end | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | =begin rdoc | ||
| 5 | $0 | ||
| 6 | =end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/Comp b/.emacs.d/mysnippets/text-mode/ruby-mode/Comp deleted file mode 100644 index 03f2b35..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/Comp +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #name : include Comparable; def <=> ... end | ||
| 2 | #group : definitions | ||
| 3 | # -- | ||
| 4 | include Comparable | ||
| 5 | |||
| 6 | def <=> other | ||
| 7 | $0 | ||
| 8 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/all b/.emacs.d/mysnippets/text-mode/ruby-mode/all deleted file mode 100644 index a98a9f4..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/all +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : all? { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | all? { |${e}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/am b/.emacs.d/mysnippets/text-mode/ruby-mode/am deleted file mode 100644 index 7675a97..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/am +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : alias_method new, old | ||
| 2 | #group : definitions | ||
| 3 | # -- | ||
| 4 | alias_method :${new_name}, :${old_name} \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/any b/.emacs.d/mysnippets/text-mode/ruby-mode/any deleted file mode 100644 index d0b6dd2..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/any +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : any? { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | any? { |${e}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/app b/.emacs.d/mysnippets/text-mode/ruby-mode/app deleted file mode 100644 index 19bf60a..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/app +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : if __FILE__ == $PROGRAM_NAME ... end | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | if __FILE__ == $PROGRAM_NAME | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/bm b/.emacs.d/mysnippets/text-mode/ruby-mode/bm deleted file mode 100644 index 4789f64..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/bm +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : Benchmark.bmbm(...) do ... end | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | Benchmark.bmbm(${1:10}) do |x| | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/case b/.emacs.d/mysnippets/text-mode/ruby-mode/case deleted file mode 100644 index 40c3529..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/case +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #name : case ... end | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | case ${1:object} | ||
| 5 | when ${2:condition} | ||
| 6 | $0 | ||
| 7 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/cla b/.emacs.d/mysnippets/text-mode/ruby-mode/cla deleted file mode 100644 index 81ccf45..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/cla +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : class << self ... end | ||
| 2 | #group : definitions | ||
| 3 | # -- | ||
| 4 | class << ${self} | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/classify b/.emacs.d/mysnippets/text-mode/ruby-mode/classify deleted file mode 100644 index 2378afa..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/classify +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : classify { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | classify { |${e}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/cls b/.emacs.d/mysnippets/text-mode/ruby-mode/cls deleted file mode 100644 index da28fb7..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/cls +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | #name : class ... end | ||
| 2 | #contributor : hitesh <hitesh.jasani@gmail.com> | ||
| 3 | #group : definitions | ||
| 4 | # -- | ||
| 5 | class ${1:`(let ((fn (capitalize (file-name-nondirectory | ||
| 6 | (file-name-sans-extension | ||
| 7 | (or (buffer-file-name) | ||
| 8 | (buffer-name (current-buffer)))))))) | ||
| 9 | (cond | ||
| 10 | ((string-match "_" fn) (replace-match "" nil nil fn)) | ||
| 11 | (t fn)))`} | ||
| 12 | $0 | ||
| 13 | end | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/collect b/.emacs.d/mysnippets/text-mode/ruby-mode/collect deleted file mode 100644 index 934014a..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/collect +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : collect { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | collect { |${e}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/dee b/.emacs.d/mysnippets/text-mode/ruby-mode/dee deleted file mode 100644 index 56d0a18..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/dee +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : deep_copy(...) | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | Marshal.load(Marshal.dump($0)) \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/deli b/.emacs.d/mysnippets/text-mode/ruby-mode/deli deleted file mode 100644 index 843b154..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/deli +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : delete_if { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | delete_if { |${e} $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/det b/.emacs.d/mysnippets/text-mode/ruby-mode/det deleted file mode 100644 index 6a17da9..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/det +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : detect { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | detect { |${e}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/dow b/.emacs.d/mysnippets/text-mode/ruby-mode/dow deleted file mode 100644 index 3b65271..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/dow +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : downto(...) { |n| ... } | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | downto(${0}) { |${n}| | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/ea b/.emacs.d/mysnippets/text-mode/ruby-mode/ea deleted file mode 100644 index 9cdf8dc..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/ea +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : each { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | each { |${e}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/eac b/.emacs.d/mysnippets/text-mode/ruby-mode/eac deleted file mode 100644 index f0d9cb1..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/eac +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : each_cons(...) { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | each_cons(${1:2}) { |${group}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/eai b/.emacs.d/mysnippets/text-mode/ruby-mode/eai deleted file mode 100644 index 5b0ed67..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/eai +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : each_index { |i| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | each_index { |${i}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/eav b/.emacs.d/mysnippets/text-mode/ruby-mode/eav deleted file mode 100644 index 558e5b4..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/eav +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : each_value { |val| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | each_value { |${val}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/eawi b/.emacs.d/mysnippets/text-mode/ruby-mode/eawi deleted file mode 100644 index edf8418..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/eawi +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : each_with_index { |e, i| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | each_with_index { |${e}, ${i}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/forin b/.emacs.d/mysnippets/text-mode/ruby-mode/forin deleted file mode 100644 index 36b4387..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/forin +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : for ... in ...; ... end | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | for ${1:element} in ${2:collection} | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/if b/.emacs.d/mysnippets/text-mode/ruby-mode/if deleted file mode 100644 index 077b097..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/if +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : if ... end | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | if ${1:condition} | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/ife b/.emacs.d/mysnippets/text-mode/ruby-mode/ife deleted file mode 100644 index e57d395..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/ife +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #name : if ... else ... end | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | if ${1:condition} | ||
| 5 | $2 | ||
| 6 | else | ||
| 7 | $3 | ||
| 8 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/inject b/.emacs.d/mysnippets/text-mode/ruby-mode/inject deleted file mode 100644 index 37932e5..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/inject +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : inject(...) { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | inject(${1:0}) { |${2:injection}, ${3:element}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/mm b/.emacs.d/mysnippets/text-mode/ruby-mode/mm deleted file mode 100644 index 3f62b10..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/mm +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : def method_missing ... end | ||
| 2 | #group : definitions | ||
| 3 | # -- | ||
| 4 | def method_missing(method, *args) | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/r b/.emacs.d/mysnippets/text-mode/ruby-mode/r deleted file mode 100644 index 2e7b797..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/r +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : attr_reader ... | ||
| 2 | #group : definitions | ||
| 3 | # -- | ||
| 4 | attr_reader : \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/rb b/.emacs.d/mysnippets/text-mode/ruby-mode/rb deleted file mode 100644 index 74d26dd..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/rb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : /usr/bin/ruby -wKU | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | #!/usr/bin/ruby -wKU | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/reject b/.emacs.d/mysnippets/text-mode/ruby-mode/reject deleted file mode 100644 index c2501bc..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/reject +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : reject { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | reject { |${1:element}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/req b/.emacs.d/mysnippets/text-mode/ruby-mode/req deleted file mode 100644 index 3e001ec..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/req +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : require "..." | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | require "$0" \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/rreq b/.emacs.d/mysnippets/text-mode/ruby-mode/rreq deleted file mode 100644 index 0b9c6a4..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/rreq +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : require File.join(File.dirname(__FILE__), ...) | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | require File.join(File.dirname(__FILE__), $0) \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/rw b/.emacs.d/mysnippets/text-mode/ruby-mode/rw deleted file mode 100644 index a364675..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/rw +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : attr_accessor ... | ||
| 2 | #group : definitions | ||
| 3 | # -- | ||
| 4 | attr_accessor : \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/select b/.emacs.d/mysnippets/text-mode/ruby-mode/select deleted file mode 100644 index 78bca8f..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/select +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : select { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | select { |${1:element}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/tim b/.emacs.d/mysnippets/text-mode/ruby-mode/tim deleted file mode 100644 index 0da115f..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/tim +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : times { |n| ... } | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | times { |${n}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/until b/.emacs.d/mysnippets/text-mode/ruby-mode/until deleted file mode 100644 index 476966a..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/until +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : until ... end | ||
| 2 | #group: control structure | ||
| 3 | # -- | ||
| 4 | until ${condition} | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/upt b/.emacs.d/mysnippets/text-mode/ruby-mode/upt deleted file mode 100644 index 6fc6810..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/upt +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : upto(...) { |n| ... } | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | upto(${n}) { |${i}| | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/w b/.emacs.d/mysnippets/text-mode/ruby-mode/w deleted file mode 100644 index 9edbfcb..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/w +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : attr_writer ... | ||
| 2 | #group : definitions | ||
| 3 | # -- | ||
| 4 | attr_writer : \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/when b/.emacs.d/mysnippets/text-mode/ruby-mode/when deleted file mode 100644 index 9b06f21..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/when +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : when ... end | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | when ${condition} | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/while b/.emacs.d/mysnippets/text-mode/ruby-mode/while deleted file mode 100644 index 4c9ad35..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/while +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #name : while ... end | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | while ${condition} | ||
| 5 | $0 | ||
| 6 | end \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/y b/.emacs.d/mysnippets/text-mode/ruby-mode/y deleted file mode 100644 index 0ddf0f9..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/y +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : :yields: arguments (rdoc) | ||
| 2 | #group : general | ||
| 3 | # -- | ||
| 4 | :yields: $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/zip b/.emacs.d/mysnippets/text-mode/ruby-mode/zip deleted file mode 100644 index 56f4266..0000000 --- a/.emacs.d/mysnippets/text-mode/ruby-mode/zip +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #name : zip(...) { |...| ... } | ||
| 2 | #group : collections | ||
| 3 | # -- | ||
| 4 | zip(${enums}) { |${row}| $0 } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/act b/.emacs.d/mysnippets/text-mode/scala-mode/act deleted file mode 100644 index fce52fc..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/act +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def act = { ..} | ||
| 3 | # -- | ||
| 4 | def act = { | ||
| 5 | loop { | ||
| 6 | react { | ||
| 7 | $0 | ||
| 8 | } | ||
| 9 | } | ||
| 10 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/act.arg b/.emacs.d/mysnippets/text-mode/scala-mode/act.arg deleted file mode 100644 index fc6df9e..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/act.arg +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def act(arg: T) = { ..} | ||
| 3 | # -- | ||
| 4 | def act(${1:arg}: ${2:type}) = { | ||
| 5 | loop { | ||
| 6 | react { | ||
| 7 | $0 | ||
| 8 | } | ||
| 9 | } | ||
| 10 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/actor b/.emacs.d/mysnippets/text-mode/scala-mode/actor deleted file mode 100644 index d38a183..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/actor +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val a = actor { ..} | ||
| 3 | # -- | ||
| 4 | val a = actor { | ||
| 5 | loop { | ||
| 6 | react { | ||
| 7 | $0 | ||
| 8 | } | ||
| 9 | } | ||
| 10 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ano b/.emacs.d/mysnippets/text-mode/scala-mode/ano deleted file mode 100644 index b949801..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ano +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : (args) => ... | ||
| 3 | # -- | ||
| 4 | ($1) => ${2:body} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/app b/.emacs.d/mysnippets/text-mode/scala-mode/app deleted file mode 100644 index b89bab9..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/app +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : object name extends Application | ||
| 3 | # -- | ||
| 4 | object ${1:name} extends Application { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/arr.new b/.emacs.d/mysnippets/text-mode/scala-mode/arr.new deleted file mode 100644 index e3297ca..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/arr.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : Array[T](..) | ||
| 3 | # -- | ||
| 4 | Array[${1:value}](${2:args}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/arr.val-new b/.emacs.d/mysnippets/text-mode/scala-mode/arr.val-new deleted file mode 100644 index 4de4720..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/arr.val-new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val a = Array[T](..) | ||
| 3 | # -- | ||
| 4 | val ${1:arr} = Array[${2:value}](${3:args}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/asof b/.emacs.d/mysnippets/text-mode/scala-mode/asof deleted file mode 100644 index 3b2b209..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/asof +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : asInstanceOf[T] | ||
| 3 | # -- | ||
| 4 | asInstanceOf[${1:type}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ass b/.emacs.d/mysnippets/text-mode/scala-mode/ass deleted file mode 100644 index 653dcef..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ass +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : assert(x === y) | ||
| 3 | # -- | ||
| 4 | assert(${1:x} === ${2:y}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ass.true b/.emacs.d/mysnippets/text-mode/scala-mode/ass.true deleted file mode 100644 index 923c518..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ass.true +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : assert(true) | ||
| 3 | # -- | ||
| 4 | assert(true) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/at.author b/.emacs.d/mysnippets/text-mode/scala-mode/at.author deleted file mode 100644 index 82fe4cc..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/at.author +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : @author name | ||
| 3 | # -- | ||
| 4 | @author ${1:name} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/at.param b/.emacs.d/mysnippets/text-mode/scala-mode/at.param deleted file mode 100644 index 72b6e79..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/at.param +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : @param name description | ||
| 3 | # -- | ||
| 4 | @param ${1:name} ${2:description} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/at.return b/.emacs.d/mysnippets/text-mode/scala-mode/at.return deleted file mode 100644 index 9c3f41c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/at.return +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : @return description | ||
| 3 | # -- | ||
| 4 | @return ${1:description} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/at.version b/.emacs.d/mysnippets/text-mode/scala-mode/at.version deleted file mode 100644 index 1158ce2..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/at.version +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : @version number | ||
| 3 | # -- | ||
| 4 | @version ${1:0.1} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/bang b/.emacs.d/mysnippets/text-mode/scala-mode/bang deleted file mode 100644 index a547da8..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/bang +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : actor ! message | ||
| 3 | # -- | ||
| 4 | ${1:actor} ! ${2:message} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/case b/.emacs.d/mysnippets/text-mode/scala-mode/case deleted file mode 100644 index 13d6aec..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/case +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : case pattern => | ||
| 3 | # -- | ||
| 4 | case ${1:pattern} => $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/case.match-all b/.emacs.d/mysnippets/text-mode/scala-mode/case.match-all deleted file mode 100644 index 028bf5f..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/case.match-all +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : case _ => | ||
| 3 | # -- | ||
| 4 | case _ => $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cast b/.emacs.d/mysnippets/text-mode/scala-mode/cast deleted file mode 100644 index 3b2b209..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cast +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : asInstanceOf[T] | ||
| 3 | # -- | ||
| 4 | asInstanceOf[${1:type}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cc b/.emacs.d/mysnippets/text-mode/scala-mode/cc deleted file mode 100644 index 7ed1142..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cc +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : case class T(arg: A) | ||
| 3 | # -- | ||
| 4 | case class ${1:name}(${2:arg}: ${3:type}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cl b/.emacs.d/mysnippets/text-mode/scala-mode/cl deleted file mode 100644 index 1fd712c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cl +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : class T { .. } | ||
| 3 | # -- | ||
| 4 | class ${1:name} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs b/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs deleted file mode 100644 index 402dec7..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : abstract class T { .. } | ||
| 3 | # -- | ||
| 4 | abstract class ${1:name} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs-arg b/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs-arg deleted file mode 100644 index fe29524..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs-arg +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : abstract class T(args) { .. } | ||
| 3 | # -- | ||
| 4 | abstract class ${1:name}(${2:args}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cl.arg b/.emacs.d/mysnippets/text-mode/scala-mode/cl.arg deleted file mode 100644 index f82460f..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cl.arg +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : class T(args) { .. } | ||
| 3 | # -- | ||
| 4 | class ${1:name}(${2:args}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/clof b/.emacs.d/mysnippets/text-mode/scala-mode/clof deleted file mode 100644 index 955726c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/clof +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : classOf[T] | ||
| 3 | # -- | ||
| 4 | classOf[${1:type}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/co b/.emacs.d/mysnippets/text-mode/scala-mode/co deleted file mode 100644 index 75b1f3b..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/co +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : case object T | ||
| 3 | # -- | ||
| 4 | case object ${1:name} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cons b/.emacs.d/mysnippets/text-mode/scala-mode/cons deleted file mode 100644 index a48e4ff..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cons +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : element1 :: element2 | ||
| 3 | # -- | ||
| 4 | ${1:element1} :: ${2:element2} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cons.nil b/.emacs.d/mysnippets/text-mode/scala-mode/cons.nil deleted file mode 100644 index c288f93..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cons.nil +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : element1 :: Nil | ||
| 3 | # -- | ||
| 4 | ${1:element1} :: Nil $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg b/.emacs.d/mysnippets/text-mode/scala-mode/def.arg deleted file mode 100644 index 7765bbf..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f(arg: T) = ... | ||
| 3 | # -- | ||
| 4 | def ${1:name}(${2:args}) = $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-body b/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-body deleted file mode 100644 index e6e278e..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f(arg: T) = {...} | ||
| 3 | # -- | ||
| 4 | def ${1:name}(${2:args}) = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret b/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret deleted file mode 100644 index dddb9ce..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f(arg: T): R = ... | ||
| 3 | # -- | ||
| 4 | def ${1:name}(${2:args}): ${3:Unit} = $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret-body b/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret-body deleted file mode 100644 index 862f7fd..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret-body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f(arg: T): R = {...} | ||
| 3 | # -- | ||
| 4 | def ${1:name}(${2:args}): ${3:Unit} = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.body b/.emacs.d/mysnippets/text-mode/scala-mode/def.body deleted file mode 100644 index 858908c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f = {...} | ||
| 3 | # -- | ||
| 4 | def ${1:name} = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.ret b/.emacs.d/mysnippets/text-mode/scala-mode/def.ret deleted file mode 100644 index e5483fb..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.ret +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f: R = ... | ||
| 3 | # -- | ||
| 4 | def ${1:name}: ${2:Unit} = $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.ret-body b/.emacs.d/mysnippets/text-mode/scala-mode/def.ret-body deleted file mode 100644 index f342e04..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.ret-body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f: R = {...} | ||
| 3 | # -- | ||
| 4 | def ${1:name}: ${3:Unit} = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.simple b/.emacs.d/mysnippets/text-mode/scala-mode/def.simple deleted file mode 100644 index 4814c73..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.simple +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f = ... | ||
| 3 | # -- | ||
| 4 | def ${1:name} = $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.class b/.emacs.d/mysnippets/text-mode/scala-mode/doc.class deleted file mode 100644 index 60442f1..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.class +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** cls/trt/obj name */ | ||
| 3 | # -- | ||
| 4 | /** | ||
| 5 | * `(scala-mode-find-clstrtobj-name-doc)` | ||
| 6 | * ${1:description} | ||
| 7 | * $0 | ||
| 8 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.def b/.emacs.d/mysnippets/text-mode/scala-mode/doc.def deleted file mode 100644 index 8a3d614..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.def +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** method name */ | ||
| 3 | # -- | ||
| 4 | /** | ||
| 5 | * `(scala-mode-def-and-args-doc)` | ||
| 6 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file b/.emacs.d/mysnippets/text-mode/scala-mode/doc.file deleted file mode 100644 index 7da4289..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** file name */ | ||
| 3 | # -- | ||
| 4 | /** | ||
| 5 | * `(scala-mode-file-doc)` | ||
| 6 | * $0 | ||
| 7 | * @author ${1:name} | ||
| 8 | * @version ${2:0.1} | ||
| 9 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala b/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala deleted file mode 100644 index 6719348..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** scala file */ | ||
| 3 | # -- | ||
| 4 | /* __ *\ | ||
| 5 | ** ________ ___ / / ___ Scala $3 ** | ||
| 6 | ** / __/ __// _ | / / / _ | (c) 2005-`(format-time-string "%Y")` , LAMP/EPFL ** | ||
| 7 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** | ||
| 8 | ** /____/\___/_/ |_/____/_/ | | ** | ||
| 9 | ** |/ ** | ||
| 10 | \* */ | ||
| 11 | /** | ||
| 12 | * $0 | ||
| 13 | * @author ${1:name} | ||
| 14 | * @version ${2:0.1} | ||
| 15 | * $Id$ | ||
| 16 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala-api b/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala-api deleted file mode 100644 index 4a762f5..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala-api +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** scala api file */ | ||
| 3 | # -- | ||
| 4 | /* __ *\ | ||
| 5 | ** ________ ___ / / ___ Scala API ** | ||
| 6 | ** / __/ __// _ | / / / _ | (c) 2005-`(format-time-string "%Y")`, LAMP/EPFL ** | ||
| 7 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** | ||
| 8 | ** /____/\___/_/ |_/____/_/ | | ** | ||
| 9 | ** |/ ** | ||
| 10 | \* */ | ||
| 11 | /** | ||
| 12 | * $0 | ||
| 13 | * @author ${1:name} | ||
| 14 | * @version ${2:0.1} | ||
| 15 | * $Id$ | ||
| 16 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.scaladoc b/.emacs.d/mysnippets/text-mode/scala-mode/doc.scaladoc deleted file mode 100644 index 038428c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.scaladoc +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** ... */ | ||
| 3 | # -- | ||
| 4 | /** | ||
| 5 | * ${1:description} | ||
| 6 | * $0 | ||
| 7 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/expect b/.emacs.d/mysnippets/text-mode/scala-mode/expect deleted file mode 100644 index 94c742c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/expect +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : expect(value) { ..} | ||
| 3 | # -- | ||
| 4 | expect(${1:reply}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ext b/.emacs.d/mysnippets/text-mode/scala-mode/ext deleted file mode 100644 index e256317..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ext +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : extends T | ||
| 3 | # -- | ||
| 4 | extends $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/for.extract b/.emacs.d/mysnippets/text-mode/scala-mode/for.extract deleted file mode 100644 index 60f1155..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/for.extract +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : x <- xs | ||
| 3 | # -- | ||
| 4 | ${1:x} <- ${2:xs} \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/for.if b/.emacs.d/mysnippets/text-mode/scala-mode/for.if deleted file mode 100644 index f44c544..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/for.if +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : for (x <- xs if guard) { ... } | ||
| 3 | # -- | ||
| 4 | for (${1:x} <- ${2:xs} if ${3:guard}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/for.loop b/.emacs.d/mysnippets/text-mode/scala-mode/for.loop deleted file mode 100644 index 050d5e8..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/for.loop +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : for (x <- xs) { ... } | ||
| 3 | # -- | ||
| 4 | for (${1:x} <- ${2:xs}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/for.multi b/.emacs.d/mysnippets/text-mode/scala-mode/for.multi deleted file mode 100644 index c512067..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/for.multi +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : for {x <- xs \ y <- ys} { yield } | ||
| 3 | # -- | ||
| 4 | for { | ||
| 5 | ${1:x} <- ${2:xs} | ||
| 6 | ${3:x} <- ${4:xs} | ||
| 7 | } { | ||
| 8 | yield $0 | ||
| 9 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/foreach b/.emacs.d/mysnippets/text-mode/scala-mode/foreach deleted file mode 100644 index cafdd00..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/foreach +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : foreach(x => ..) | ||
| 3 | # -- | ||
| 4 | foreach(${1:x} => ${2:body}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/hmap.new b/.emacs.d/mysnippets/text-mode/scala-mode/hmap.new deleted file mode 100644 index dd564a0..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/hmap.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : new HashMap[K, V] | ||
| 3 | # -- | ||
| 4 | new HashMap[${1:key}, ${2:value}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/hmap.val-new b/.emacs.d/mysnippets/text-mode/scala-mode/hmap.val-new deleted file mode 100644 index 2f4a3c2..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/hmap.val-new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val m = new HashMap[K, V] | ||
| 3 | # -- | ||
| 4 | val ${1:m} = new HashMap[${2:key}, ${3:value}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/hset.new b/.emacs.d/mysnippets/text-mode/scala-mode/hset.new deleted file mode 100644 index d1be3ee..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/hset.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : new HashSet[K] | ||
| 3 | # -- | ||
| 4 | new HashSet[${1:key}] $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/hset.val-new b/.emacs.d/mysnippets/text-mode/scala-mode/hset.val-new deleted file mode 100644 index ba792a2..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/hset.val-new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val m = new HashSet[K] | ||
| 3 | # -- | ||
| 4 | val ${1:m} = new HashSet[${2:key}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/if b/.emacs.d/mysnippets/text-mode/scala-mode/if deleted file mode 100644 index 24891c0..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/if +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : if (cond) { .. } | ||
| 3 | # -- | ||
| 4 | if (${1:condition}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/if.else b/.emacs.d/mysnippets/text-mode/scala-mode/if.else deleted file mode 100644 index ebff471..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/if.else +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : if (cond) { .. } else { .. } | ||
| 3 | # -- | ||
| 4 | if (${1:condition}) { | ||
| 5 | $2 | ||
| 6 | } else { | ||
| 7 | $0 | ||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/imp b/.emacs.d/mysnippets/text-mode/scala-mode/imp deleted file mode 100644 index cf5efa1..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/imp +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : import .. | ||
| 3 | # -- | ||
| 4 | import $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/intercept b/.emacs.d/mysnippets/text-mode/scala-mode/intercept deleted file mode 100644 index 4725eaa..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/intercept +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : intercept(classOf[T]) { ..} | ||
| 3 | # -- | ||
| 4 | intercept(classOf[${1:Exception]}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/isof b/.emacs.d/mysnippets/text-mode/scala-mode/isof deleted file mode 100644 index a3538c8..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/isof +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : isInstanceOf[T] | ||
| 3 | # -- | ||
| 4 | isInstanceOf[${1:type}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ls.new b/.emacs.d/mysnippets/text-mode/scala-mode/ls.new deleted file mode 100644 index 7a28e61..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ls.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : List(..) | ||
| 3 | # -- | ||
| 4 | List(${1:args}, ${2:args}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ls.val-new b/.emacs.d/mysnippets/text-mode/scala-mode/ls.val-new deleted file mode 100644 index 37138f0..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ls.val-new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val l = List(..) | ||
| 3 | # -- | ||
| 4 | val ${1:l} = List(${2:args}, ${3:args}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/main b/.emacs.d/mysnippets/text-mode/scala-mode/main deleted file mode 100644 index ad314b3..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/main +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name: def main(args: Array[String]) = { ... } | ||
| 3 | # -- | ||
| 4 | def main(args: Array[String]) = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/map b/.emacs.d/mysnippets/text-mode/scala-mode/map deleted file mode 100644 index 17322a5..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/map +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : map(x => ..) | ||
| 3 | # -- | ||
| 4 | map(${1:x} => ${2:body}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/map.new b/.emacs.d/mysnippets/text-mode/scala-mode/map.new deleted file mode 100644 index 21c95fb..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/map.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : Map(key -> value) | ||
| 3 | # -- | ||
| 4 | Map(${1:key} -> ${2:value}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/match b/.emacs.d/mysnippets/text-mode/scala-mode/match deleted file mode 100644 index e85fac1..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/match +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : cc match { .. } | ||
| 3 | # -- | ||
| 4 | ${1:cc} match { | ||
| 5 | case ${2:pattern} => $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/match.can b/.emacs.d/mysnippets/text-mode/scala-mode/match.can deleted file mode 100644 index 77d475b..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/match.can +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : can match { case Full(res) => .. } | ||
| 3 | # -- | ||
| 4 | ${1:option} match { | ||
| 5 | case Full(res) => $0 | ||
| 6 | |||
| 7 | case Empty => | ||
| 8 | |||
| 9 | case Failure(msg, _, _) => | ||
| 10 | |||
| 11 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/match.option b/.emacs.d/mysnippets/text-mode/scala-mode/match.option deleted file mode 100644 index 5b098f1..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/match.option +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : option match { case None => .. } | ||
| 3 | # -- | ||
| 4 | ${1:option} match { | ||
| 5 | case None => $0 | ||
| 6 | case Some(res) => | ||
| 7 | |||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/mix b/.emacs.d/mysnippets/text-mode/scala-mode/mix deleted file mode 100644 index 5261e32..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/mix +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : trait T { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ob b/.emacs.d/mysnippets/text-mode/scala-mode/ob deleted file mode 100644 index efbc82e..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ob +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : object name extends T | ||
| 3 | # -- | ||
| 4 | object ${1:name} extends ${2:type} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pac b/.emacs.d/mysnippets/text-mode/scala-mode/pac deleted file mode 100644 index ed32216..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pac +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : package .. | ||
| 3 | # -- | ||
| 4 | package $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pr.newline b/.emacs.d/mysnippets/text-mode/scala-mode/pr.newline deleted file mode 100644 index 77088cb..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pr.newline +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : println(..) | ||
| 3 | # -- | ||
| 4 | println(${1:obj}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pr.simple b/.emacs.d/mysnippets/text-mode/scala-mode/pr.simple deleted file mode 100644 index 3a73f9d..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pr.simple +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : print(..) | ||
| 3 | # -- | ||
| 4 | print(${1:obj}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pr.string b/.emacs.d/mysnippets/text-mode/scala-mode/pr.string deleted file mode 100644 index 9c06ef7..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pr.string +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : println("..") | ||
| 3 | # -- | ||
| 4 | println("${1:msg}") $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pr.trace b/.emacs.d/mysnippets/text-mode/scala-mode/pr.trace deleted file mode 100644 index 9a0579c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pr.trace +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : println("obj: " + obj) | ||
| 3 | # -- | ||
| 4 | println("${1:obj}: " + ${1:obj}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pri b/.emacs.d/mysnippets/text-mode/scala-mode/pri deleted file mode 100644 index 643ef2c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pri +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : private | ||
| 3 | # -- | ||
| 4 | private $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pri.param b/.emacs.d/mysnippets/text-mode/scala-mode/pri.param deleted file mode 100644 index e53638a..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pri.param +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : private[this] | ||
| 3 | # -- | ||
| 4 | private[${1:this}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pro b/.emacs.d/mysnippets/text-mode/scala-mode/pro deleted file mode 100644 index e4b7b59..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pro +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : protected | ||
| 3 | # -- | ||
| 4 | protected $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pro.param b/.emacs.d/mysnippets/text-mode/scala-mode/pro.param deleted file mode 100644 index 712b050..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pro.param +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : protected[this] | ||
| 3 | # -- | ||
| 4 | protected[${1:this}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/suite b/.emacs.d/mysnippets/text-mode/scala-mode/suite deleted file mode 100644 index a65cea7..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/suite +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : class T extends Suite { .. } | ||
| 3 | # -- | ||
| 4 | import org.scalatest._ | ||
| 5 | |||
| 6 | class ${1:name} extends Suite { | ||
| 7 | $0 | ||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/test b/.emacs.d/mysnippets/text-mode/scala-mode/test deleted file mode 100644 index c4d13f6..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/test +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : @Test def testX = ... | ||
| 3 | # -- | ||
| 4 | //@Test | ||
| 5 | def test${1:name} = { | ||
| 6 | $0 | ||
| 7 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/throw b/.emacs.d/mysnippets/text-mode/scala-mode/throw deleted file mode 100644 index f9a4932..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/throw +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : throw new Exception | ||
| 3 | # -- | ||
| 4 | throw new ${1:Exception}(${2:msg}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tr b/.emacs.d/mysnippets/text-mode/scala-mode/tr deleted file mode 100644 index 68d8162..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tr +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : trait T { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext b/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext deleted file mode 100644 index 2b82154..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : trait T extends C { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} extends ${2:class} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext-with b/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext-with deleted file mode 100644 index 8edb409..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext-with +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : trait T1 extends C with T2 { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} extends ${2:class} with ${3:trait} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tr.with b/.emacs.d/mysnippets/text-mode/scala-mode/tr.with deleted file mode 100644 index 19801eb..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tr.with +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : trait T1 with T2 { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} with ${2:trait} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/try b/.emacs.d/mysnippets/text-mode/scala-mode/try deleted file mode 100644 index 0c33f10..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/try +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : try { .. } catch { case e => ..} | ||
| 3 | # -- | ||
| 4 | try { | ||
| 5 | $0 | ||
| 6 | } catch { | ||
| 7 | case ${1:e}: ${2:Exception} => | ||
| 8 | ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n} | ||
| 9 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/try.catch-finally b/.emacs.d/mysnippets/text-mode/scala-mode/try.catch-finally deleted file mode 100644 index f146a20..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/try.catch-finally +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : try { .. } catch { case e => ..} finally { ..} | ||
| 3 | # -- | ||
| 4 | try { | ||
| 5 | $0 | ||
| 6 | } catch { | ||
| 7 | case ${1:e}: ${2:Exception} => | ||
| 8 | ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n} | ||
| 9 | } finally { | ||
| 10 | |||
| 11 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/try.finally b/.emacs.d/mysnippets/text-mode/scala-mode/try.finally deleted file mode 100644 index 63625f2..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/try.finally +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : try { .. } finally { .. } | ||
| 3 | # -- | ||
| 4 | try { | ||
| 5 | |||
| 6 | } finally { | ||
| 7 | $0 | ||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tup.arrow b/.emacs.d/mysnippets/text-mode/scala-mode/tup.arrow deleted file mode 100644 index 4e7ad69..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tup.arrow +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : element1 -> element2 | ||
| 3 | # -- | ||
| 4 | ${1:element1} -> ${2:element2} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tup.paren b/.emacs.d/mysnippets/text-mode/scala-mode/tup.paren deleted file mode 100644 index 4bff202..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tup.paren +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : (element1, element2) | ||
| 3 | # -- | ||
| 4 | (${1:element1}, ${2:element2}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/val b/.emacs.d/mysnippets/text-mode/scala-mode/val deleted file mode 100644 index 3067cd4..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/val +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val name = .. | ||
| 3 | # -- | ||
| 4 | val ${1:name} = ${2:obj} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/val.new b/.emacs.d/mysnippets/text-mode/scala-mode/val.new deleted file mode 100644 index 35a0c6a..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/val.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val name = new .. | ||
| 3 | # -- | ||
| 4 | val ${1:name} = new ${2:obj} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/val.ret b/.emacs.d/mysnippets/text-mode/scala-mode/val.ret deleted file mode 100644 index 4bf4f10..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/val.ret +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val name: T = .. | ||
| 3 | # -- | ||
| 4 | val ${1:name}: ${2:T} = ${3:obj} $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/var b/.emacs.d/mysnippets/text-mode/scala-mode/var deleted file mode 100644 index 662d6c8..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/var +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : var name = .. | ||
| 3 | # -- | ||
| 4 | var ${1:name} = ${2:obj} $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/var.new b/.emacs.d/mysnippets/text-mode/scala-mode/var.new deleted file mode 100644 index d681c4a..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/var.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : var name = new .. | ||
| 3 | # -- | ||
| 4 | var ${1:name} = new ${2:obj} $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/var.ret b/.emacs.d/mysnippets/text-mode/scala-mode/var.ret deleted file mode 100644 index 9d0ac3a..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/var.ret +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : var name: T = .. | ||
| 3 | # -- | ||
| 4 | var ${1:name}: ${2:T} = ${3:obj} $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/whi b/.emacs.d/mysnippets/text-mode/scala-mode/whi deleted file mode 100644 index 082c139..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/whi +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : while(cond) { .. } | ||
| 3 | # -- | ||
| 4 | while (${1:condition}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/with b/.emacs.d/mysnippets/text-mode/scala-mode/with deleted file mode 100644 index 6bd94e4..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/with +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : with T | ||
| 3 | # -- | ||
| 4 | with $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/snippet-mode/field b/.emacs.d/mysnippets/text-mode/snippet-mode/field deleted file mode 100644 index bdaf0d4..0000000 --- a/.emacs.d/mysnippets/text-mode/snippet-mode/field +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | # name : ${ ... } field | ||
| 2 | # contributor : joaotavora | ||
| 3 | # key : $f | ||
| 4 | # -- | ||
| 5 | \${${1:${2:n}:}$3${4:\$(${5:lisp-fn})}\}$0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/snippet-mode/mirror b/.emacs.d/mysnippets/text-mode/snippet-mode/mirror deleted file mode 100644 index 1c32eeb..0000000 --- a/.emacs.d/mysnippets/text-mode/snippet-mode/mirror +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | # name : ${n:$(...)} mirror | ||
| 2 | # key : $m | ||
| 3 | # contributor : joaotavora | ||
| 4 | # -- | ||
| 5 | \${${2:n}:${4:\$(${5:reflection-fn})}\}$0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/snippet-mode/vars b/.emacs.d/mysnippets/text-mode/snippet-mode/vars deleted file mode 100644 index ea5a8c7..0000000 --- a/.emacs.d/mysnippets/text-mode/snippet-mode/vars +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | # name : Snippet header | ||
| 2 | # contributor : joaotavora | ||
| 3 | # -- | ||
| 4 | # name : $1${2: | ||
| 5 | # key : ${3:expand-key}}${4: | ||
| 6 | # group : ${5:group}} | ||
| 7 | # contributor : $6 | ||
| 8 | # -- | ||
| 9 | $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/sql-mode/column b/.emacs.d/mysnippets/text-mode/sql-mode/column deleted file mode 100644 index 90e4963..0000000 --- a/.emacs.d/mysnippets/text-mode/sql-mode/column +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : , ColumnName ColumnType NOT NULL... | ||
| 3 | # -- | ||
| 4 | , ${1:Name} ${2:Type} ${3:NOT NULL} | ||
diff --git a/.emacs.d/mysnippets/text-mode/sql-mode/constraint b/.emacs.d/mysnippets/text-mode/sql-mode/constraint deleted file mode 100644 index 989e508..0000000 --- a/.emacs.d/mysnippets/text-mode/sql-mode/constraint +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : CONSTRAINT [..] PRIMARY KEY ... | ||
| 3 | # -- | ||
| 4 | CONSTRAINT [${1:PK_Name}] PRIMARY KEY ${2:CLUSTERED} ([${3:ColumnName}]) | ||
diff --git a/.emacs.d/mysnippets/text-mode/sql-mode/constraint.1 b/.emacs.d/mysnippets/text-mode/sql-mode/constraint.1 deleted file mode 100644 index 98d89f0..0000000 --- a/.emacs.d/mysnippets/text-mode/sql-mode/constraint.1 +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : CONSTRAINT [..] FOREIGN KEY ... | ||
| 3 | # -- | ||
| 4 | CONSTRAINT [${1:FK_Name}] FOREIGN KEY ${2:CLUSTERED} ([${3:ColumnName}]) | ||
diff --git a/.emacs.d/mysnippets/text-mode/sql-mode/create b/.emacs.d/mysnippets/text-mode/sql-mode/create deleted file mode 100644 index a34624d..0000000 --- a/.emacs.d/mysnippets/text-mode/sql-mode/create +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : create table ... | ||
| 3 | # -- | ||
| 4 | CREATE TABLE [${1:dbo}].[${2:TableName}] | ||
| 5 | ( | ||
| 6 | ${3:Id} ${4:INT IDENTITY(1,1)} ${5:NOT NULL} | ||
| 7 | $0 | ||
| 8 | CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3]) | ||
| 9 | ) | ||
| 10 | GO | ||
diff --git a/.emacs.d/mysnippets/text-mode/sql-mode/create.1 b/.emacs.d/mysnippets/text-mode/sql-mode/create.1 deleted file mode 100644 index 1323daf..0000000 --- a/.emacs.d/mysnippets/text-mode/sql-mode/create.1 +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : create procedure ... | ||
| 3 | # -- | ||
| 4 | CREATE PROCEDURE [${1:dbo}].[${2:Name}] | ||
| 5 | ( | ||
| 6 | $3 $4 = ${5:NULL} ${6:OUTPUT} | ||
| 7 | ) | ||
| 8 | AS | ||
| 9 | BEGIN | ||
| 10 | $0 | ||
| 11 | END | ||
| 12 | GO | ||
diff --git a/.emacs.d/mysnippets/text-mode/sql-mode/references b/.emacs.d/mysnippets/text-mode/sql-mode/references deleted file mode 100644 index f2e4eab..0000000 --- a/.emacs.d/mysnippets/text-mode/sql-mode/references +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
| 2 | #name : REFERENCES ... | ||
| 3 | # -- | ||
| 4 | REFERENCES ${1:TableName}([${2:ColumnName}]) | ||
diff --git a/.emacs.d/mysnippets/text-mode/time b/.emacs.d/mysnippets/text-mode/time deleted file mode 100644 index d744f1a..0000000 --- a/.emacs.d/mysnippets/text-mode/time +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #name : (current time) | ||
| 2 | # -- | ||
| 3 | `(current-time-string)` \ No newline at end of file | ||
