From f48317e7c5ecdbb7680d0ea2c595cfda0342c3bb Mon Sep 17 00:00:00 2001 From: Joao Tavora Date: Mon, 31 Oct 2011 12:32:34 +0000 Subject: [PATCH] Add explicit "# key" directive to legacy snippet collection before deprecating filenames-as-triggers --- snippets/c++-mode/beginend | 1 + snippets/c++-mode/class | 1 + snippets/c++-mode/ns | 1 + snippets/c++-mode/template | 1 + snippets/c++-mode/using | 1 + snippets/c-mode/fopen | 1 + snippets/c-mode/printf | 1 + snippets/cc-mode/do | 1 + snippets/cc-mode/for | 1 + snippets/cc-mode/if | 1 + snippets/cc-mode/inc | 1 + snippets/cc-mode/inc.1 | 1 + snippets/cc-mode/main | 1 + snippets/cc-mode/once | 1 + snippets/cc-mode/struct | 1 + snippets/csharp-mode/attrib | 1 + snippets/csharp-mode/attrib.1 | 1 + snippets/csharp-mode/attrib.2 | 1 + snippets/csharp-mode/class | 1 + snippets/csharp-mode/comment | 1 + snippets/csharp-mode/comment.1 | 1 + snippets/csharp-mode/comment.2 | 1 + snippets/csharp-mode/comment.3 | 1 + snippets/csharp-mode/method | 1 + snippets/csharp-mode/namespace | 1 + snippets/csharp-mode/prop | 1 + snippets/csharp-mode/region | 1 + snippets/csharp-mode/using | 1 + snippets/csharp-mode/using.1 | 1 + snippets/csharp-mode/using.2 | 1 + snippets/css-mode/bg | 1 + snippets/css-mode/bg.1 | 1 + snippets/css-mode/bor | 1 + snippets/css-mode/cl | 1 + snippets/css-mode/disp.block | 1 + snippets/css-mode/disp.inline | 1 + snippets/css-mode/disp.none | 1 + snippets/css-mode/ff | 1 + snippets/css-mode/fs | 1 + snippets/css-mode/mar.bottom | 1 + snippets/css-mode/mar.left | 1 + snippets/css-mode/mar.mar | 1 + snippets/css-mode/mar.margin | 1 + snippets/css-mode/mar.right | 1 + snippets/css-mode/mar.top | 1 + snippets/css-mode/pad.bottom | 1 + snippets/css-mode/pad.left | 1 + snippets/css-mode/pad.pad | 1 + snippets/css-mode/pad.padding | 1 + snippets/css-mode/pad.right | 1 + snippets/css-mode/pad.top | 1 + snippets/emacs-lisp-mode/x-dired.process_marked.yasnippet | 1 + snippets/emacs-lisp-mode/x-file.process.yasnippet | 1 + snippets/emacs-lisp-mode/x-file.read-lines.yasnippet | 1 + snippets/emacs-lisp-mode/x-find-replace.yasnippet | 1 + snippets/emacs-lisp-mode/x-grabstring.yasnippet | 1 + snippets/emacs-lisp-mode/x-grabthing.yasnippet | 1 + snippets/emacs-lisp-mode/x-traverse_dir.yasnippet | 1 + snippets/emacs-lisp-mode/x-word-or-region.yasnippet | 1 + snippets/erlang-mode/after | 1 + snippets/erlang-mode/begin | 1 + snippets/erlang-mode/beh | 1 + snippets/erlang-mode/case | 1 + snippets/erlang-mode/compile | 1 + snippets/erlang-mode/def | 1 + snippets/erlang-mode/exp | 1 + snippets/erlang-mode/fun | 1 + snippets/erlang-mode/if | 1 + snippets/erlang-mode/ifdef | 1 + snippets/erlang-mode/ifndef | 1 + snippets/erlang-mode/imp | 1 + snippets/erlang-mode/inc | 1 + snippets/erlang-mode/inc.lib | 1 + snippets/erlang-mode/loop | 1 + snippets/erlang-mode/mod | 1 + snippets/erlang-mode/rcv | 1 + snippets/erlang-mode/rcv.after | 1 + snippets/erlang-mode/rec | 1 + snippets/erlang-mode/try | 1 + snippets/erlang-mode/undef | 1 + snippets/f90-mode/au | 1 + snippets/f90-mode/bd | 1 + snippets/f90-mode/c | 1 + snippets/f90-mode/ch | 1 + snippets/f90-mode/cx | 1 + snippets/f90-mode/dc | 1 + snippets/f90-mode/do | 1 + snippets/f90-mode/dp | 1 + snippets/f90-mode/eq | 1 + snippets/f90-mode/ib | 1 + snippets/f90-mode/ic | 1 + snippets/f90-mode/ich | 1 + snippets/f90-mode/if | 1 + snippets/f90-mode/ii | 1 + snippets/f90-mode/il | 1 + snippets/f90-mode/in | 1 + snippets/f90-mode/inc | 1 + snippets/f90-mode/intr | 1 + snippets/f90-mode/ir | 1 + snippets/f90-mode/l | 1 + snippets/f90-mode/pa | 1 + snippets/f90-mode/pr | 1 + snippets/f90-mode/re | 1 + snippets/f90-mode/st | 1 + snippets/f90-mode/su | 1 + snippets/f90-mode/wr | 1 + snippets/html-mode/b.yasnippet | 1 + snippets/html-mode/body | 1 + snippets/html-mode/br | 1 + snippets/html-mode/code | 1 + snippets/html-mode/code.class | 1 + snippets/html-mode/div | 1 + snippets/html-mode/div.class | 1 + snippets/html-mode/div.id | 1 + snippets/html-mode/div.id-class | 1 + snippets/html-mode/dov | 1 + snippets/html-mode/form | 1 + snippets/html-mode/head | 1 + snippets/html-mode/header/h1 | 1 + snippets/html-mode/header/h2 | 1 + snippets/html-mode/header/h3 | 1 + snippets/html-mode/header/h4 | 1 + snippets/html-mode/header/h5 | 1 + snippets/html-mode/header/h6 | 1 + snippets/html-mode/hr | 1 + snippets/html-mode/href | 1 + snippets/html-mode/html | 1 + snippets/html-mode/html.xmlns | 1 + snippets/html-mode/i.yasnippet | 1 + snippets/html-mode/img | 1 + snippets/html-mode/input | 1 + snippets/html-mode/link.stylesheet | 1 + snippets/html-mode/link.stylesheet-ie | 1 + snippets/html-mode/list/dd | 1 + snippets/html-mode/list/dl | 1 + snippets/html-mode/list/dl.id | 1 + snippets/html-mode/list/dt | 1 + snippets/html-mode/list/li | 1 + snippets/html-mode/list/li.class | 1 + snippets/html-mode/list/ol | 1 + snippets/html-mode/list/ol.class | 1 + snippets/html-mode/list/ol.id | 1 + snippets/html-mode/list/ul | 1 + snippets/html-mode/list/ul.class | 1 + snippets/html-mode/list/ul.id | 1 + snippets/html-mode/mailto | 1 + snippets/html-mode/meta/doctype | 1 + snippets/html-mode/meta/doctype.xhml1 | 1 + snippets/html-mode/meta/doctype.xhtml1_1 | 1 + snippets/html-mode/meta/doctype.xhtml1_strict | 1 + snippets/html-mode/meta/doctype.xhtml1_transitional | 1 + snippets/html-mode/meta/meta | 1 + snippets/html-mode/meta/meta.http-equiv | 1 + snippets/html-mode/p | 1 + snippets/html-mode/pre | 1 + snippets/html-mode/q.yasnippet | 1 + snippets/html-mode/quote | 1 + snippets/html-mode/script.javascript | 1 + snippets/html-mode/script.javascript-src | 1 + snippets/html-mode/span | 1 + snippets/html-mode/span.class | 1 + snippets/html-mode/span.id | 1 + snippets/html-mode/style | 1 + snippets/html-mode/table/table | 1 + snippets/html-mode/table/td | 1 + snippets/html-mode/table/th | 1 + snippets/html-mode/table/tr | 1 + snippets/html-mode/textarea | 1 + snippets/html-mode/title | 1 + snippets/latex-mode/begin | 1 + snippets/markdown-mode/+ | 1 + snippets/markdown-mode/- | 1 + snippets/markdown-mode/_ | 1 + snippets/markdown-mode/__ | 1 + snippets/markdown-mode/` | 1 + snippets/markdown-mode/h1.1 | 1 + snippets/markdown-mode/h1.2 | 1 + snippets/markdown-mode/h2.1 | 1 + snippets/markdown-mode/h2.2 | 1 + snippets/markdown-mode/h3 | 1 + snippets/markdown-mode/h4 | 1 + snippets/markdown-mode/h5 | 1 + snippets/markdown-mode/h6 | 1 + snippets/markdown-mode/hr.1 | 1 + snippets/markdown-mode/hr.2 | 1 + snippets/markdown-mode/img | 1 + snippets/markdown-mode/link | 1 + snippets/markdown-mode/ol | 1 + snippets/markdown-mode/rimg | 1 + snippets/markdown-mode/rlb | 1 + snippets/markdown-mode/rlink | 1 + snippets/nxml-mode/body | 1 + snippets/nxml-mode/br | 1 + snippets/nxml-mode/code | 1 + snippets/nxml-mode/div | 1 + snippets/nxml-mode/form | 1 + snippets/nxml-mode/head | 1 + snippets/nxml-mode/header/h1 | 1 + snippets/nxml-mode/header/h2 | 1 + snippets/nxml-mode/header/h3 | 1 + snippets/nxml-mode/header/h4 | 1 + snippets/nxml-mode/header/h5 | 1 + snippets/nxml-mode/header/h6 | 1 + snippets/nxml-mode/hr | 1 + snippets/nxml-mode/href | 1 + snippets/nxml-mode/html | 1 + snippets/nxml-mode/img | 1 + snippets/nxml-mode/input | 1 + snippets/nxml-mode/li | 1 + snippets/nxml-mode/link | 1 + snippets/nxml-mode/meta/doctype | 1 + snippets/nxml-mode/meta/doctype.xhtml1_strict | 1 + snippets/nxml-mode/meta/doctype.xhtml1_transitional | 1 + snippets/nxml-mode/meta/meta | 1 + snippets/nxml-mode/name | 1 + snippets/nxml-mode/ol | 1 + snippets/nxml-mode/p | 1 + snippets/nxml-mode/pre | 1 + snippets/nxml-mode/quote | 1 + snippets/nxml-mode/span | 1 + snippets/nxml-mode/style | 1 + snippets/nxml-mode/table | 1 + snippets/nxml-mode/tag.1l | 1 + snippets/nxml-mode/tag.2l | 1 + snippets/nxml-mode/td | 1 + snippets/nxml-mode/th | 1 + snippets/nxml-mode/title | 1 + snippets/nxml-mode/tr | 1 + snippets/nxml-mode/ul | 1 + snippets/objc-mode/prop | 1 + snippets/perl-mode/eval | 1 + snippets/perl-mode/for | 1 + snippets/perl-mode/fore | 1 + snippets/perl-mode/if | 1 + snippets/perl-mode/ife | 1 + snippets/perl-mode/ifee | 1 + snippets/perl-mode/sub | 1 + snippets/perl-mode/unless | 1 + snippets/perl-mode/while | 1 + snippets/perl-mode/xfore | 1 + snippets/perl-mode/xif | 1 + snippets/perl-mode/xunless | 1 + snippets/perl-mode/xwhile | 1 + snippets/python-mode/__ | 1 + snippets/python-mode/class | 1 + snippets/python-mode/def | 1 + snippets/python-mode/defm | 1 + snippets/python-mode/for | 1 + snippets/python-mode/ifmain | 1 + snippets/python-mode/prop | 1 + snippets/python-mode/propg | 1 + snippets/python-mode/propsg | 1 + snippets/python-mode/while | 1 + snippets/rst-mode/chap | 1 + snippets/rst-mode/sec | 1 + snippets/rst-mode/tit | 1 + snippets/ruby-mode/collections/all | 1 + snippets/ruby-mode/collections/any | 1 + snippets/ruby-mode/collections/classify | 1 + snippets/ruby-mode/collections/collect | 1 + snippets/ruby-mode/collections/deli | 1 + snippets/ruby-mode/collections/det | 1 + snippets/ruby-mode/collections/ea | 1 + snippets/ruby-mode/collections/eac | 1 + snippets/ruby-mode/collections/eai | 1 + snippets/ruby-mode/collections/eav | 1 + snippets/ruby-mode/collections/eawi | 1 + snippets/ruby-mode/collections/inject | 1 + snippets/ruby-mode/collections/reject | 1 + snippets/ruby-mode/collections/select | 1 + snippets/ruby-mode/collections/zip | 1 + snippets/ruby-mode/control structure/forin | 1 + snippets/ruby-mode/control structure/if | 1 + snippets/ruby-mode/control structure/ife | 1 + snippets/ruby-mode/control structure/tim | 1 + snippets/ruby-mode/control structure/until | 1 + snippets/ruby-mode/control structure/upt | 1 + snippets/ruby-mode/control structure/when | 1 + snippets/ruby-mode/control structure/while | 1 + snippets/ruby-mode/definitions/Comp | 1 + snippets/ruby-mode/definitions/am | 1 + snippets/ruby-mode/definitions/cla | 1 + snippets/ruby-mode/definitions/cls | 1 + snippets/ruby-mode/definitions/mm | 1 + snippets/ruby-mode/definitions/r | 1 + snippets/ruby-mode/definitions/rw | 1 + snippets/ruby-mode/definitions/w | 1 + snippets/ruby-mode/general/# | 1 + snippets/ruby-mode/general/=b | 1 + snippets/ruby-mode/general/app | 1 + snippets/ruby-mode/general/bm | 1 + snippets/ruby-mode/general/case | 1 + snippets/ruby-mode/general/dee | 1 + snippets/ruby-mode/general/rb | 1 + snippets/ruby-mode/general/req | 1 + snippets/ruby-mode/general/rreq | 1 + snippets/ruby-mode/general/y | 1 + snippets/scala-mode/act | 1 + snippets/scala-mode/act.arg | 1 + snippets/scala-mode/actor | 1 + snippets/scala-mode/ano | 1 + snippets/scala-mode/app | 1 + snippets/scala-mode/arr.new | 1 + snippets/scala-mode/arr.val-new | 1 + snippets/scala-mode/asof | 1 + snippets/scala-mode/ass | 1 + snippets/scala-mode/ass.true | 1 + snippets/scala-mode/at.author | 1 + snippets/scala-mode/at.param | 1 + snippets/scala-mode/at.return | 1 + snippets/scala-mode/at.version | 1 + snippets/scala-mode/bang | 1 + snippets/scala-mode/case | 1 + snippets/scala-mode/case.match-all | 1 + snippets/scala-mode/cast | 1 + snippets/scala-mode/cc | 1 + snippets/scala-mode/cl | 1 + snippets/scala-mode/cl.abs | 1 + snippets/scala-mode/cl.abs-arg | 1 + snippets/scala-mode/cl.arg | 1 + snippets/scala-mode/clof | 1 + snippets/scala-mode/co | 1 + snippets/scala-mode/cons | 1 + snippets/scala-mode/cons.nil | 1 + snippets/scala-mode/def.arg | 1 + snippets/scala-mode/def.arg-body | 1 + snippets/scala-mode/def.arg-ret | 1 + snippets/scala-mode/def.arg-ret-body | 1 + snippets/scala-mode/def.body | 1 + snippets/scala-mode/def.ret | 1 + snippets/scala-mode/def.ret-body | 1 + snippets/scala-mode/def.simple | 1 + snippets/scala-mode/doc.class | 1 + snippets/scala-mode/doc.def | 1 + snippets/scala-mode/doc.file | 1 + snippets/scala-mode/doc.file-scala | 1 + snippets/scala-mode/doc.file-scala-api | 1 + snippets/scala-mode/doc.scaladoc | 1 + snippets/scala-mode/expect | 1 + snippets/scala-mode/ext | 1 + snippets/scala-mode/for.extract | 1 + snippets/scala-mode/for.loop | 1 + snippets/scala-mode/for.multi | 1 + snippets/scala-mode/foreach | 1 + snippets/scala-mode/hmap.new | 1 + snippets/scala-mode/hmap.val-new | 1 + snippets/scala-mode/hset.new | 1 + snippets/scala-mode/hset.val-new | 1 + snippets/scala-mode/if | 1 + snippets/scala-mode/imp | 1 + snippets/scala-mode/intercept | 1 + snippets/scala-mode/isof | 1 + snippets/scala-mode/ls.new | 1 + snippets/scala-mode/ls.val-new | 1 + snippets/scala-mode/main | 1 + snippets/scala-mode/map | 1 + snippets/scala-mode/map.new | 1 + snippets/scala-mode/match | 1 + snippets/scala-mode/match.can | 1 + snippets/scala-mode/match.option | 1 + snippets/scala-mode/mix | 1 + snippets/scala-mode/ob | 1 + snippets/scala-mode/pac | 1 + snippets/scala-mode/pr.newline | 1 + snippets/scala-mode/pr.simple | 1 + snippets/scala-mode/pr.string | 1 + snippets/scala-mode/pr.trace | 1 + snippets/scala-mode/pri | 1 + snippets/scala-mode/pri.param | 1 + snippets/scala-mode/pro | 1 + snippets/scala-mode/pro.param | 1 + snippets/scala-mode/suite | 1 + snippets/scala-mode/test | 1 + snippets/scala-mode/throw | 1 + snippets/scala-mode/tr | 1 + snippets/scala-mode/tr.ext | 1 + snippets/scala-mode/tr.ext-with | 1 + snippets/scala-mode/tr.with | 1 + snippets/scala-mode/try | 1 + snippets/scala-mode/try.catch-finally | 1 + snippets/scala-mode/try.finally | 1 + snippets/scala-mode/tup.arrow | 1 + snippets/scala-mode/tup.paren | 1 + snippets/scala-mode/val | 1 + snippets/scala-mode/val.new | 1 + snippets/scala-mode/val.ret | 1 + snippets/scala-mode/var | 1 + snippets/scala-mode/var.new | 1 + snippets/scala-mode/var.ret | 1 + snippets/scala-mode/whi | 1 + snippets/scala-mode/with | 1 + snippets/snippet-mode/field | 1 + snippets/snippet-mode/mirror | 1 + snippets/snippet-mode/vars | 2 ++ snippets/sql-mode/column | 1 + snippets/sql-mode/constraint | 1 + snippets/sql-mode/constraint.1 | 1 + snippets/sql-mode/create | 1 + snippets/sql-mode/create.1 | 1 + snippets/sql-mode/references | 1 + snippets/text-mode/email | 1 + snippets/text-mode/time | 1 + 402 files changed, 403 insertions(+) diff --git a/snippets/c++-mode/beginend b/snippets/c++-mode/beginend index 68303e2..590c708 100644 --- a/snippets/c++-mode/beginend +++ b/snippets/c++-mode/beginend @@ -1,3 +1,4 @@ #name : v.begin(), v.end() +# key: beginend # -- ${1:v}.begin(), $1.end \ No newline at end of file diff --git a/snippets/c++-mode/class b/snippets/c++-mode/class index 820fc6c..5289d9c 100644 --- a/snippets/c++-mode/class +++ b/snippets/c++-mode/class @@ -1,4 +1,5 @@ #name : class ... { ... } +# key: class # -- class ${1:Name} { diff --git a/snippets/c++-mode/ns b/snippets/c++-mode/ns index 0c2513f..0b736e7 100644 --- a/snippets/c++-mode/ns +++ b/snippets/c++-mode/ns @@ -1,3 +1,4 @@ #name : namespace ... +# key: ns # -- namespace \ No newline at end of file diff --git a/snippets/c++-mode/template b/snippets/c++-mode/template index 7e50616..d2ad159 100644 --- a/snippets/c++-mode/template +++ b/snippets/c++-mode/template @@ -1,3 +1,4 @@ #name : template +# key: template # -- template \ No newline at end of file diff --git a/snippets/c++-mode/using b/snippets/c++-mode/using index 13d0f5d..27ec885 100644 --- a/snippets/c++-mode/using +++ b/snippets/c++-mode/using @@ -1,4 +1,5 @@ #name : using namespace ... +# key: using # -- using namespace ${std}; $0 \ No newline at end of file diff --git a/snippets/c-mode/fopen b/snippets/c-mode/fopen index 5b49529..0e48c21 100644 --- a/snippets/c-mode/fopen +++ b/snippets/c-mode/fopen @@ -1,3 +1,4 @@ #name : FILE *fp = fopen(..., ...); +# key: fopen # -- FILE *${fp} = fopen(${"file"}, "${r}"); \ No newline at end of file diff --git a/snippets/c-mode/printf b/snippets/c-mode/printf index 055461d..4006b7c 100644 --- a/snippets/c-mode/printf +++ b/snippets/c-mode/printf @@ -1,6 +1,7 @@ # -*- mode: snippet -*- # name : printf # contributor : joaotavora +# key: printf # -- printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);") }$2${1:$(if (string-match "%" text) "\);" "")} \ No newline at end of file diff --git a/snippets/cc-mode/do b/snippets/cc-mode/do index 5f7a313..70e208a 100644 --- a/snippets/cc-mode/do +++ b/snippets/cc-mode/do @@ -1,4 +1,5 @@ #name : do { ... } while (...) +# key: do # -- do { diff --git a/snippets/cc-mode/for b/snippets/cc-mode/for index c4cade6..7343e58 100644 --- a/snippets/cc-mode/for +++ b/snippets/cc-mode/for @@ -1,4 +1,5 @@ #name : for (...; ...; ...) { ... } +# key: for # -- for (${1:int i = 0}; ${2:i < N}; ${3:++i}) { diff --git a/snippets/cc-mode/if b/snippets/cc-mode/if index c3fe10d..a52bee9 100644 --- a/snippets/cc-mode/if +++ b/snippets/cc-mode/if @@ -1,4 +1,5 @@ #name : if (...) { ... } +# key: cc-modeif # -- if (${1:condition}) { diff --git a/snippets/cc-mode/inc b/snippets/cc-mode/inc index c18a4d2..25bd8fe 100644 --- a/snippets/cc-mode/inc +++ b/snippets/cc-mode/inc @@ -1,3 +1,4 @@ #name : #include "..." +# key: inc # -- #include "$1" \ No newline at end of file diff --git a/snippets/cc-mode/inc.1 b/snippets/cc-mode/inc.1 index f85c08a..e367d5b 100644 --- a/snippets/cc-mode/inc.1 +++ b/snippets/cc-mode/inc.1 @@ -1,3 +1,4 @@ #name : #include <...> +# key: inc # -- #include <$1> \ No newline at end of file diff --git a/snippets/cc-mode/main b/snippets/cc-mode/main index 292a99c..620de06 100644 --- a/snippets/cc-mode/main +++ b/snippets/cc-mode/main @@ -1,4 +1,5 @@ #name: int main(argc, argv) { ... } +# key: main # -- int main(int argc, char *argv[]) { diff --git a/snippets/cc-mode/once b/snippets/cc-mode/once index 1b63c39..d035329 100644 --- a/snippets/cc-mode/once +++ b/snippets/cc-mode/once @@ -1,4 +1,5 @@ #name : #ifndef XXX; #define XXX; #endif +# key: once # -- #ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_} #define $1 diff --git a/snippets/cc-mode/struct b/snippets/cc-mode/struct index f50dabf..aeacc33 100644 --- a/snippets/cc-mode/struct +++ b/snippets/cc-mode/struct @@ -1,4 +1,5 @@ #name : struct ... { ... } +# key: struct # -- struct ${1:name} { diff --git a/snippets/csharp-mode/attrib b/snippets/csharp-mode/attrib index 4ff58d3..ccc9754 100644 --- a/snippets/csharp-mode/attrib +++ b/snippets/csharp-mode/attrib @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : private attribute ....; +# key: attrib # -- /// /// $3 diff --git a/snippets/csharp-mode/attrib.1 b/snippets/csharp-mode/attrib.1 index 8153be9..ba06d76 100644 --- a/snippets/csharp-mode/attrib.1 +++ b/snippets/csharp-mode/attrib.1 @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : private attribute ....; public property ... ... { ... } +# key: attrib # -- /// /// $3 diff --git a/snippets/csharp-mode/attrib.2 b/snippets/csharp-mode/attrib.2 index 08d58c8..2798ec9 100644 --- a/snippets/csharp-mode/attrib.2 +++ b/snippets/csharp-mode/attrib.2 @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : private _attribute ....; public Property ... ... { ... } +# key: attrib # -- /// /// $3 diff --git a/snippets/csharp-mode/class b/snippets/csharp-mode/class index acef6d1..bea8a1e 100644 --- a/snippets/csharp-mode/class +++ b/snippets/csharp-mode/class @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : class ... { ... } +# key: class # -- ${5:public} class ${1:Name} { diff --git a/snippets/csharp-mode/comment b/snippets/csharp-mode/comment index c2a4b70..44f2fb3 100644 --- a/snippets/csharp-mode/comment +++ b/snippets/csharp-mode/comment @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : /// ... +# key: comment # -- /// /// $1 diff --git a/snippets/csharp-mode/comment.1 b/snippets/csharp-mode/comment.1 index 08c802b..dda243e 100644 --- a/snippets/csharp-mode/comment.1 +++ b/snippets/csharp-mode/comment.1 @@ -1,4 +1,5 @@ #contributor : Alejandro Espinoza Esparza #name : /// ... +# key: comment # -- /// $2 \ No newline at end of file diff --git a/snippets/csharp-mode/comment.2 b/snippets/csharp-mode/comment.2 index cb3aa80..34bc58c 100644 --- a/snippets/csharp-mode/comment.2 +++ b/snippets/csharp-mode/comment.2 @@ -1,4 +1,5 @@ #contributor : Alejandro Espinoza Esparza #name : /// ... +# key: comment # -- /// $1 \ No newline at end of file diff --git a/snippets/csharp-mode/comment.3 b/snippets/csharp-mode/comment.3 index ec57a75..15f2e1a 100644 --- a/snippets/csharp-mode/comment.3 +++ b/snippets/csharp-mode/comment.3 @@ -1,4 +1,5 @@ #contributor : Alejandro Espinoza Esparza #name : /// ... +# key: comment # -- /// $2 \ No newline at end of file diff --git a/snippets/csharp-mode/method b/snippets/csharp-mode/method index b63b3c2..7036471 100644 --- a/snippets/csharp-mode/method +++ b/snippets/csharp-mode/method @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : public void Method { ... } +# key: method # -- /// /// ${5:Description} diff --git a/snippets/csharp-mode/namespace b/snippets/csharp-mode/namespace index bc4dec9..4d8d154 100644 --- a/snippets/csharp-mode/namespace +++ b/snippets/csharp-mode/namespace @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : namespace .. { ... } +# key: namespace # -- namespace $1 { diff --git a/snippets/csharp-mode/prop b/snippets/csharp-mode/prop index 7260fac..7d75dee 100644 --- a/snippets/csharp-mode/prop +++ b/snippets/csharp-mode/prop @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : property ... ... { ... } +# key: prop # -- /// /// $5 diff --git a/snippets/csharp-mode/region b/snippets/csharp-mode/region index bcc3cec..498d153 100644 --- a/snippets/csharp-mode/region +++ b/snippets/csharp-mode/region @@ -1,5 +1,6 @@ #contributor : Alejandro Espinoza Esparza #name : #region ... #endregion +# key: region # -- #region $1 $0 diff --git a/snippets/csharp-mode/using b/snippets/csharp-mode/using index f10d1ba..4556b8c 100644 --- a/snippets/csharp-mode/using +++ b/snippets/csharp-mode/using @@ -1,4 +1,5 @@ #contributor : Alejandro Espinoza Esparza #name : using ...; +# key: using # -- using $1; \ No newline at end of file diff --git a/snippets/csharp-mode/using.1 b/snippets/csharp-mode/using.1 index bf87f85..fd80875 100644 --- a/snippets/csharp-mode/using.1 +++ b/snippets/csharp-mode/using.1 @@ -1,4 +1,5 @@ #contributor : Alejandro Espinoza Esparza #name : using System; +# key: using # -- using System; \ No newline at end of file diff --git a/snippets/csharp-mode/using.2 b/snippets/csharp-mode/using.2 index d0d39bf..ebcaadb 100644 --- a/snippets/csharp-mode/using.2 +++ b/snippets/csharp-mode/using.2 @@ -1,4 +1,5 @@ #contributor : Alejandro Espinoza Esparza #name : using System....; +# key: using # -- using System.$1; \ No newline at end of file diff --git a/snippets/css-mode/bg b/snippets/css-mode/bg index d731807..eb734d4 100644 --- a/snippets/css-mode/bg +++ b/snippets/css-mode/bg @@ -1,3 +1,4 @@ #name : background-color: ... +# key: bg # -- background-color: #${1:DDD}; \ No newline at end of file diff --git a/snippets/css-mode/bg.1 b/snippets/css-mode/bg.1 index d31f540..9da6afc 100644 --- a/snippets/css-mode/bg.1 +++ b/snippets/css-mode/bg.1 @@ -1,3 +1,4 @@ #name : background-image: ... +# key: bg # -- background-image: url($1); \ No newline at end of file diff --git a/snippets/css-mode/bor b/snippets/css-mode/bor index eb3a2b4..028d6c7 100644 --- a/snippets/css-mode/bor +++ b/snippets/css-mode/bor @@ -1,3 +1,4 @@ #name : border size style color +# key: bor # -- border: ${1:1px} ${2:solid} #${3:999}; \ No newline at end of file diff --git a/snippets/css-mode/cl b/snippets/css-mode/cl index 8d03a13..efc0047 100644 --- a/snippets/css-mode/cl +++ b/snippets/css-mode/cl @@ -1,4 +1,5 @@ #contributor : rejeep #name : clear: ... +# key: cl # -- clear: $1; \ No newline at end of file diff --git a/snippets/css-mode/disp.block b/snippets/css-mode/disp.block index 5e45393..de9db53 100644 --- a/snippets/css-mode/disp.block +++ b/snippets/css-mode/disp.block @@ -1,4 +1,5 @@ #contributor : rejeep #name : display: block +# key: disp # -- display: block; \ No newline at end of file diff --git a/snippets/css-mode/disp.inline b/snippets/css-mode/disp.inline index 9cc60c9..a71184e 100644 --- a/snippets/css-mode/disp.inline +++ b/snippets/css-mode/disp.inline @@ -1,4 +1,5 @@ #contributor : rejeep #name : display: inline +# key: disp # -- display: inline; \ No newline at end of file diff --git a/snippets/css-mode/disp.none b/snippets/css-mode/disp.none index c9ac636..f5c5be4 100644 --- a/snippets/css-mode/disp.none +++ b/snippets/css-mode/disp.none @@ -1,4 +1,5 @@ #contributor : rejeep #name : display: none +# key: disp # -- display: none; \ No newline at end of file diff --git a/snippets/css-mode/ff b/snippets/css-mode/ff index 17d0b94..740d5fd 100644 --- a/snippets/css-mode/ff +++ b/snippets/css-mode/ff @@ -1,4 +1,5 @@ #contributor : rejeep #name : font-family: ... +# key: ff # -- font-family: $1; \ No newline at end of file diff --git a/snippets/css-mode/fs b/snippets/css-mode/fs index 90ff403..6401be7 100644 --- a/snippets/css-mode/fs +++ b/snippets/css-mode/fs @@ -1,4 +1,5 @@ #contributor : rejeep #name : font-size: ... +# key: fs # -- font-size: ${12px}; \ No newline at end of file diff --git a/snippets/css-mode/mar.bottom b/snippets/css-mode/mar.bottom index a5b6afd..834cf6a 100644 --- a/snippets/css-mode/mar.bottom +++ b/snippets/css-mode/mar.bottom @@ -1,4 +1,5 @@ #contributor : rejeep #name : margin-bottom: ... +# key: mar # -- margin-bottom: $1; \ No newline at end of file diff --git a/snippets/css-mode/mar.left b/snippets/css-mode/mar.left index 7285297..1d9fd6e 100644 --- a/snippets/css-mode/mar.left +++ b/snippets/css-mode/mar.left @@ -1,4 +1,5 @@ #contributor : rejeep #name : margin-left: ... +# key: mar # -- margin-left: $1; \ No newline at end of file diff --git a/snippets/css-mode/mar.mar b/snippets/css-mode/mar.mar index c649ca4..833431c 100644 --- a/snippets/css-mode/mar.mar +++ b/snippets/css-mode/mar.mar @@ -1,4 +1,5 @@ #contributor : rejeep #name : margin: ... +# key: mar # -- margin: $1; \ No newline at end of file diff --git a/snippets/css-mode/mar.margin b/snippets/css-mode/mar.margin index 49647e7..dfafbaf 100644 --- a/snippets/css-mode/mar.margin +++ b/snippets/css-mode/mar.margin @@ -1,4 +1,5 @@ #contributor : rejeep #name : margin top right bottom left +# key: mar # -- margin: ${top} ${right} ${bottom} ${left}; \ No newline at end of file diff --git a/snippets/css-mode/mar.right b/snippets/css-mode/mar.right index 41bac78..d940968 100644 --- a/snippets/css-mode/mar.right +++ b/snippets/css-mode/mar.right @@ -1,4 +1,5 @@ #contributor : rejeep #name : margin-right: ... +# key: mar # -- margin-right: $1; \ No newline at end of file diff --git a/snippets/css-mode/mar.top b/snippets/css-mode/mar.top index 0934d80..13fa0c1 100644 --- a/snippets/css-mode/mar.top +++ b/snippets/css-mode/mar.top @@ -1,4 +1,5 @@ #contributor : rejeep #name : margin-top: ... +# key: mar # -- margin-top: $1; \ No newline at end of file diff --git a/snippets/css-mode/pad.bottom b/snippets/css-mode/pad.bottom index b8915c8..5770e46 100644 --- a/snippets/css-mode/pad.bottom +++ b/snippets/css-mode/pad.bottom @@ -1,4 +1,5 @@ #contributor : rejeep #name : padding-bottom: ... +# key: pad # -- padding-bottom: $1; \ No newline at end of file diff --git a/snippets/css-mode/pad.left b/snippets/css-mode/pad.left index d4927f5..5fe2bc6 100644 --- a/snippets/css-mode/pad.left +++ b/snippets/css-mode/pad.left @@ -1,4 +1,5 @@ #contributor : rejeep #name : padding-left: ... +# key: pad # -- padding-left: $1; \ No newline at end of file diff --git a/snippets/css-mode/pad.pad b/snippets/css-mode/pad.pad index 6359283..4673447 100644 --- a/snippets/css-mode/pad.pad +++ b/snippets/css-mode/pad.pad @@ -1,4 +1,5 @@ #contributor : rejeep #name : padding: ... +# key: pad # -- padding: $1; \ No newline at end of file diff --git a/snippets/css-mode/pad.padding b/snippets/css-mode/pad.padding index 05fc4e6..ae038e4 100644 --- a/snippets/css-mode/pad.padding +++ b/snippets/css-mode/pad.padding @@ -1,4 +1,5 @@ #contributor : rejeep #name : padding: top right bottom left +# key: pad # -- padding: ${top} ${right} ${bottom} ${left}; \ No newline at end of file diff --git a/snippets/css-mode/pad.right b/snippets/css-mode/pad.right index bb8f3d3..7488aba 100644 --- a/snippets/css-mode/pad.right +++ b/snippets/css-mode/pad.right @@ -1,4 +1,5 @@ #contributor : rejeep #name : padding-right: ... +# key: pad # -- padding-right: $1; \ No newline at end of file diff --git a/snippets/css-mode/pad.top b/snippets/css-mode/pad.top index 992d649..a30355d 100644 --- a/snippets/css-mode/pad.top +++ b/snippets/css-mode/pad.top @@ -1,4 +1,5 @@ #contributor : rejeep #name : padding-top: ... +# key: pad # -- padding-top: $1; \ No newline at end of file diff --git a/snippets/emacs-lisp-mode/x-dired.process_marked.yasnippet b/snippets/emacs-lisp-mode/x-dired.process_marked.yasnippet index 4e446f9..9af5a26 100755 --- a/snippets/emacs-lisp-mode/x-dired.process_marked.yasnippet +++ b/snippets/emacs-lisp-mode/x-dired.process_marked.yasnippet @@ -1,5 +1,6 @@ #contributor: Xah Lee (XahLee.org) #name: process marked files in dired +# key: x-dired # -- ;; idiom for processing a list of files in dired's marked files diff --git a/snippets/emacs-lisp-mode/x-file.process.yasnippet b/snippets/emacs-lisp-mode/x-file.process.yasnippet index 3e22986..3c82822 100755 --- a/snippets/emacs-lisp-mode/x-file.process.yasnippet +++ b/snippets/emacs-lisp-mode/x-file.process.yasnippet @@ -1,5 +1,6 @@ #contributor: Xah Lee (XahLee.org) #name: a function that process a file +# key: x-file # -- (defun doThisFile (fpath) "Process the file at path FPATH ..." diff --git a/snippets/emacs-lisp-mode/x-file.read-lines.yasnippet b/snippets/emacs-lisp-mode/x-file.read-lines.yasnippet index 015c0f2..2b23983 100755 --- a/snippets/emacs-lisp-mode/x-file.read-lines.yasnippet +++ b/snippets/emacs-lisp-mode/x-file.read-lines.yasnippet @@ -1,5 +1,6 @@ #contributor: Xah Lee (XahLee.org) #name: read lines of a file +# key: x-file # -- (defun read-lines (filePath) "Return a list of lines in FILEPATH." diff --git a/snippets/emacs-lisp-mode/x-find-replace.yasnippet b/snippets/emacs-lisp-mode/x-find-replace.yasnippet index dad0430..d4c4d11 100755 --- a/snippets/emacs-lisp-mode/x-find-replace.yasnippet +++ b/snippets/emacs-lisp-mode/x-find-replace.yasnippet @@ -1,5 +1,6 @@ #contributor: Xah Lee (XahLee.org) #name: find and replace on region +# key: x-find-replace # -- (defun replace-html-chars-region (start end) "Replace “<” to “<” and other chars in HTML. diff --git a/snippets/emacs-lisp-mode/x-grabstring.yasnippet b/snippets/emacs-lisp-mode/x-grabstring.yasnippet index 272bc51..d348e93 100755 --- a/snippets/emacs-lisp-mode/x-grabstring.yasnippet +++ b/snippets/emacs-lisp-mode/x-grabstring.yasnippet @@ -1,4 +1,5 @@ #contributor: Xah Lee (XahLee.org) #name: grab buffer substring +# key: x-grabstring # -- (setq $0 (buffer-substring-no-properties myStartPos myEndPos)) \ No newline at end of file diff --git a/snippets/emacs-lisp-mode/x-grabthing.yasnippet b/snippets/emacs-lisp-mode/x-grabthing.yasnippet index ec6aed4..2c0079d 100755 --- a/snippets/emacs-lisp-mode/x-grabthing.yasnippet +++ b/snippets/emacs-lisp-mode/x-grabthing.yasnippet @@ -1,4 +1,5 @@ #contributor: Xah Lee (XahLee.org) #name: grab word under cursor +# key: x-grabthing # -- (setq $0 (thing-at-point 'symbol)) \ No newline at end of file diff --git a/snippets/emacs-lisp-mode/x-traverse_dir.yasnippet b/snippets/emacs-lisp-mode/x-traverse_dir.yasnippet index 9547eea..cfa461a 100755 --- a/snippets/emacs-lisp-mode/x-traverse_dir.yasnippet +++ b/snippets/emacs-lisp-mode/x-traverse_dir.yasnippet @@ -1,5 +1,6 @@ #name: traversing a directory #contributor: Xah Lee (XahLee.org) +# key: x-traverse_dir # -- ;; apply a function to all files in a dir (require 'find-lisp) diff --git a/snippets/emacs-lisp-mode/x-word-or-region.yasnippet b/snippets/emacs-lisp-mode/x-word-or-region.yasnippet index 67c6761..c7b851b 100755 --- a/snippets/emacs-lisp-mode/x-word-or-region.yasnippet +++ b/snippets/emacs-lisp-mode/x-word-or-region.yasnippet @@ -1,5 +1,6 @@ #contributor: Xah Lee (XahLee.org) #name: Command that works on region or word +# key: x-word-or-region # -- ;; example of a command that works on current word or text selection (defun down-case-word-or-region () diff --git a/snippets/erlang-mode/after b/snippets/erlang-mode/after index f20fe88..996c847 100644 --- a/snippets/erlang-mode/after +++ b/snippets/erlang-mode/after @@ -1,4 +1,5 @@ #name : after ... -> +# key: after # -- after $1 -> $0 \ No newline at end of file diff --git a/snippets/erlang-mode/begin b/snippets/erlang-mode/begin index 512374a..b74e6fa 100644 --- a/snippets/erlang-mode/begin +++ b/snippets/erlang-mode/begin @@ -1,4 +1,5 @@ #name : begin ... end +# key: begin # -- begin $0 diff --git a/snippets/erlang-mode/beh b/snippets/erlang-mode/beh index 43fd971..e68397a 100644 --- a/snippets/erlang-mode/beh +++ b/snippets/erlang-mode/beh @@ -1,4 +1,5 @@ #name : -behaviour(...). +# key: beh # -- -behaviour(${1:gen_server}). $0 \ No newline at end of file diff --git a/snippets/erlang-mode/case b/snippets/erlang-mode/case index 1a4ada5..9a2337c 100644 --- a/snippets/erlang-mode/case +++ b/snippets/erlang-mode/case @@ -1,4 +1,5 @@ #name : case ... of ... end +# key: case # -- case $1 of $0 diff --git a/snippets/erlang-mode/compile b/snippets/erlang-mode/compile index c369368..ce38c20 100644 --- a/snippets/erlang-mode/compile +++ b/snippets/erlang-mode/compile @@ -1,4 +1,5 @@ #name : -compile(...). +# key: compile # -- -compile([${1:export_all}]). $0 \ No newline at end of file diff --git a/snippets/erlang-mode/def b/snippets/erlang-mode/def index ccbe5fb..e6c6de0 100644 --- a/snippets/erlang-mode/def +++ b/snippets/erlang-mode/def @@ -1,4 +1,5 @@ #name : -define(...,...). +# key: def # -- -define($1,$2). $0 \ No newline at end of file diff --git a/snippets/erlang-mode/exp b/snippets/erlang-mode/exp index 9000140..db614f3 100644 --- a/snippets/erlang-mode/exp +++ b/snippets/erlang-mode/exp @@ -1,5 +1,6 @@ #name : -export([]). #contributor : hitesh +# key: exp # -- -export([${1:start/0}]). $0 \ No newline at end of file diff --git a/snippets/erlang-mode/fun b/snippets/erlang-mode/fun index 366f488..82e8e79 100644 --- a/snippets/erlang-mode/fun +++ b/snippets/erlang-mode/fun @@ -1,3 +1,4 @@ #name : fun (...) -> ... end +# key: fun # -- fun ($1) -> $0 end \ No newline at end of file diff --git a/snippets/erlang-mode/if b/snippets/erlang-mode/if index 4f2271a..788d1f3 100644 --- a/snippets/erlang-mode/if +++ b/snippets/erlang-mode/if @@ -1,4 +1,5 @@ #name : if ... -> ... ; true -> ... end +# key: erlang-modeif # -- if $1 -> $2; diff --git a/snippets/erlang-mode/ifdef b/snippets/erlang-mode/ifdef index daf9479..8332efa 100644 --- a/snippets/erlang-mode/ifdef +++ b/snippets/erlang-mode/ifdef @@ -1,4 +1,5 @@ #name : -ifdef(...). ... -endif. +# key: erlang-modeifdef # -- -ifdef($1). $0 diff --git a/snippets/erlang-mode/ifndef b/snippets/erlang-mode/ifndef index bae9948..d46f056 100644 --- a/snippets/erlang-mode/ifndef +++ b/snippets/erlang-mode/ifndef @@ -1,4 +1,5 @@ #name : -ifndef(...). ... -endif. +# key: erlang-modeifndef # -- -ifndef($1). $0 diff --git a/snippets/erlang-mode/imp b/snippets/erlang-mode/imp index 233aa79..9444005 100644 --- a/snippets/erlang-mode/imp +++ b/snippets/erlang-mode/imp @@ -1,5 +1,6 @@ #name : -import([]). #contributor : hitesh +# key: imp # -- -import(${1:lists}, [${2:map/2, sum/1}]). $0 \ No newline at end of file diff --git a/snippets/erlang-mode/inc b/snippets/erlang-mode/inc index 1e7cee7..9a4d833 100644 --- a/snippets/erlang-mode/inc +++ b/snippets/erlang-mode/inc @@ -1,4 +1,5 @@ #name : -include("..."). +# key: inc # -- -include("$1"). $0 \ No newline at end of file diff --git a/snippets/erlang-mode/inc.lib b/snippets/erlang-mode/inc.lib index b98bc1a..1fed653 100644 --- a/snippets/erlang-mode/inc.lib +++ b/snippets/erlang-mode/inc.lib @@ -1,4 +1,5 @@ #name : -include_lib("..."). +# key: inc # -- -include_lib("$1"). $0 \ No newline at end of file diff --git a/snippets/erlang-mode/loop b/snippets/erlang-mode/loop index 151be85..c2f6b33 100644 --- a/snippets/erlang-mode/loop +++ b/snippets/erlang-mode/loop @@ -1,4 +1,5 @@ #name : loop(...) -> receive _ -> loop(...) end. +# key: loop # -- ${1:loop}($2) -> receive diff --git a/snippets/erlang-mode/mod b/snippets/erlang-mode/mod index 58a8eff..a9df25e 100644 --- a/snippets/erlang-mode/mod +++ b/snippets/erlang-mode/mod @@ -1,5 +1,6 @@ #name : -module(). #contributor : hitesh +# key: mod # -- -module(${1:`(file-name-nondirectory (file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}). diff --git a/snippets/erlang-mode/rcv b/snippets/erlang-mode/rcv index 37586ff..b584e33 100644 --- a/snippets/erlang-mode/rcv +++ b/snippets/erlang-mode/rcv @@ -1,4 +1,5 @@ #name : receive ... -> ... end +# key: rcv # -- receive $1 -> $0 diff --git a/snippets/erlang-mode/rcv.after b/snippets/erlang-mode/rcv.after index 96d0634..27d4739 100644 --- a/snippets/erlang-mode/rcv.after +++ b/snippets/erlang-mode/rcv.after @@ -1,4 +1,5 @@ #name : receive after ... -> ... end +# key: rcv # -- receive after diff --git a/snippets/erlang-mode/rec b/snippets/erlang-mode/rec index 958fc20..5b18cfe 100644 --- a/snippets/erlang-mode/rec +++ b/snippets/erlang-mode/rec @@ -1,4 +1,5 @@ #name : -record(...,{...}). +# key: rec # -- -record($1,{$2}). $0 \ No newline at end of file diff --git a/snippets/erlang-mode/try b/snippets/erlang-mode/try index f40ea42..9eea5aa 100644 --- a/snippets/erlang-mode/try +++ b/snippets/erlang-mode/try @@ -1,4 +1,5 @@ #name : try ... of ... catch after end +# key: try # -- try $1 of $0 diff --git a/snippets/erlang-mode/undef b/snippets/erlang-mode/undef index 8e37217..688c1f9 100644 --- a/snippets/erlang-mode/undef +++ b/snippets/erlang-mode/undef @@ -1,4 +1,5 @@ #name : -undef(...). +# key: undef # -- -undef($1). $0 \ No newline at end of file diff --git a/snippets/f90-mode/au b/snippets/f90-mode/au index e9cdaf9..2646685 100644 --- a/snippets/f90-mode/au +++ b/snippets/f90-mode/au @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : automatic +# key: au # -- automatic $0 \ No newline at end of file diff --git a/snippets/f90-mode/bd b/snippets/f90-mode/bd index 811caf6..398a5cd 100644 --- a/snippets/f90-mode/bd +++ b/snippets/f90-mode/bd @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : block data +# key: bd # -- block data $0 \ No newline at end of file diff --git a/snippets/f90-mode/c b/snippets/f90-mode/c index e2f85ba..8bb855b 100644 --- a/snippets/f90-mode/c +++ b/snippets/f90-mode/c @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : continue +# key: c # -- continue $0 \ No newline at end of file diff --git a/snippets/f90-mode/ch b/snippets/f90-mode/ch index 212637e..e10214c 100644 --- a/snippets/f90-mode/ch +++ b/snippets/f90-mode/ch @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : character +# key: ch # -- character $0 \ No newline at end of file diff --git a/snippets/f90-mode/cx b/snippets/f90-mode/cx index d7a9db1..ac294d8 100644 --- a/snippets/f90-mode/cx +++ b/snippets/f90-mode/cx @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : complex +# key: cx # -- complex $0 \ No newline at end of file diff --git a/snippets/f90-mode/dc b/snippets/f90-mode/dc index 76d9827..318f464 100644 --- a/snippets/f90-mode/dc +++ b/snippets/f90-mode/dc @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : double complex +# key: dc # -- double complex $0 \ No newline at end of file diff --git a/snippets/f90-mode/do b/snippets/f90-mode/do index 813ceeb..1ade918 100644 --- a/snippets/f90-mode/do +++ b/snippets/f90-mode/do @@ -1,5 +1,6 @@ #contributor: Li Zhu #name : do while (...) end do +# key: do # -- do while (${1:condition}) $0 diff --git a/snippets/f90-mode/dp b/snippets/f90-mode/dp index 2159e36..1ff6db8 100644 --- a/snippets/f90-mode/dp +++ b/snippets/f90-mode/dp @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : double precision +# key: dp # -- double precision $0 \ No newline at end of file diff --git a/snippets/f90-mode/eq b/snippets/f90-mode/eq index ad9f78d..9fe99c7 100644 --- a/snippets/f90-mode/eq +++ b/snippets/f90-mode/eq @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : equivalence +# key: eq # -- equivalence $0 \ No newline at end of file diff --git a/snippets/f90-mode/ib b/snippets/f90-mode/ib index e3d5ea7..c3be9d1 100644 --- a/snippets/f90-mode/ib +++ b/snippets/f90-mode/ib @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : implicit byte +# key: ib # -- implicit byte $0 \ No newline at end of file diff --git a/snippets/f90-mode/ic b/snippets/f90-mode/ic index dd08d6d..e5f3a71 100644 --- a/snippets/f90-mode/ic +++ b/snippets/f90-mode/ic @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : implicit complex +# key: ic # -- implicit complex $0 \ No newline at end of file diff --git a/snippets/f90-mode/ich b/snippets/f90-mode/ich index eb156c6..5fbe0bd 100644 --- a/snippets/f90-mode/ich +++ b/snippets/f90-mode/ich @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : implicit character +# key: ich # -- implicit character $0 \ No newline at end of file diff --git a/snippets/f90-mode/if b/snippets/f90-mode/if index 8554a85..ef24343 100644 --- a/snippets/f90-mode/if +++ b/snippets/f90-mode/if @@ -1,5 +1,6 @@ #contributor: Li Zhu #name : if then end if +# key: f90-modeif # -- if ( ${1:condition} ) then $0 diff --git a/snippets/f90-mode/ii b/snippets/f90-mode/ii index 7d7d442..31d1129 100644 --- a/snippets/f90-mode/ii +++ b/snippets/f90-mode/ii @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : implicit integer +# key: ii # -- implicit integer $0 \ No newline at end of file diff --git a/snippets/f90-mode/il b/snippets/f90-mode/il index 2596f3a..560112f 100644 --- a/snippets/f90-mode/il +++ b/snippets/f90-mode/il @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : implicit logical +# key: il # -- implicit logical $0 \ No newline at end of file diff --git a/snippets/f90-mode/in b/snippets/f90-mode/in index c7183c0..8321ebe 100644 --- a/snippets/f90-mode/in +++ b/snippets/f90-mode/in @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : implicit none +# key: in # -- implicit none \ No newline at end of file diff --git a/snippets/f90-mode/inc b/snippets/f90-mode/inc index 408991a..70a6cde 100644 --- a/snippets/f90-mode/inc +++ b/snippets/f90-mode/inc @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : include +# key: inc # -- include $0 \ No newline at end of file diff --git a/snippets/f90-mode/intr b/snippets/f90-mode/intr index 80d8322..4e04c0a 100644 --- a/snippets/f90-mode/intr +++ b/snippets/f90-mode/intr @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : intrinsic +# key: intr # -- intrinsic $0 \ No newline at end of file diff --git a/snippets/f90-mode/ir b/snippets/f90-mode/ir index 26d43e1..71933c8 100644 --- a/snippets/f90-mode/ir +++ b/snippets/f90-mode/ir @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : implicit real +# key: ir # -- implicit real $0 \ No newline at end of file diff --git a/snippets/f90-mode/l b/snippets/f90-mode/l index c048eea..e3cf4fe 100644 --- a/snippets/f90-mode/l +++ b/snippets/f90-mode/l @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : logical +# key: l # -- logical $0 \ No newline at end of file diff --git a/snippets/f90-mode/pa b/snippets/f90-mode/pa index fcc133c..aeaa1d3 100644 --- a/snippets/f90-mode/pa +++ b/snippets/f90-mode/pa @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : parameter +# key: pa # -- parameter $0 \ No newline at end of file diff --git a/snippets/f90-mode/pr b/snippets/f90-mode/pr index 1689d8c..a97ced2 100644 --- a/snippets/f90-mode/pr +++ b/snippets/f90-mode/pr @@ -1,5 +1,6 @@ #contributor: Li Zhu #name : program ... end program ... +# key: pr # -- program ${1:name} $0 diff --git a/snippets/f90-mode/re b/snippets/f90-mode/re index 6121c80..42712e0 100644 --- a/snippets/f90-mode/re +++ b/snippets/f90-mode/re @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : read (*,*) +# key: re # -- read (${1:*},${2:*}) $0 \ No newline at end of file diff --git a/snippets/f90-mode/st b/snippets/f90-mode/st index e5fbb4c..71b9e5a 100644 --- a/snippets/f90-mode/st +++ b/snippets/f90-mode/st @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : structure +# key: st # -- structure $0 \ No newline at end of file diff --git a/snippets/f90-mode/su b/snippets/f90-mode/su index d23ae55..1ffb749 100644 --- a/snippets/f90-mode/su +++ b/snippets/f90-mode/su @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : subroutine +# key: su # -- subroutine $0 \ No newline at end of file diff --git a/snippets/f90-mode/wr b/snippets/f90-mode/wr index 1b5a7ef..de38c98 100644 --- a/snippets/f90-mode/wr +++ b/snippets/f90-mode/wr @@ -1,4 +1,5 @@ #contributor: Li Zhu #name : write (*,*) +# key: wr # -- write (${1:*},${2:*}) $0 \ No newline at end of file diff --git a/snippets/html-mode/b.yasnippet b/snippets/html-mode/b.yasnippet index ea6f3bb..6ee7431 100755 --- a/snippets/html-mode/b.yasnippet +++ b/snippets/html-mode/b.yasnippet @@ -1,4 +1,5 @@ #contributor : Xah Lee xahlee.org #name : ... +# key: b # -- $0 \ No newline at end of file diff --git a/snippets/html-mode/body b/snippets/html-mode/body index 3655775..8333cca 100644 --- a/snippets/html-mode/body +++ b/snippets/html-mode/body @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name : ... +# key: body # -- $0 diff --git a/snippets/html-mode/br b/snippets/html-mode/br index 07c2d4a..68e9907 100644 --- a/snippets/html-mode/br +++ b/snippets/html-mode/br @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name :
+# key: br # --
\ No newline at end of file diff --git a/snippets/html-mode/code b/snippets/html-mode/code index a5ad908..cc84329 100644 --- a/snippets/html-mode/code +++ b/snippets/html-mode/code @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name : ... +# key: code # -- $0 diff --git a/snippets/html-mode/code.class b/snippets/html-mode/code.class index b910eb7..5338b12 100644 --- a/snippets/html-mode/code.class +++ b/snippets/html-mode/code.class @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name : ... +# key: code # -- $0 diff --git a/snippets/html-mode/div b/snippets/html-mode/div index 1c9c0c8..2c7dfc4 100644 --- a/snippets/html-mode/div +++ b/snippets/html-mode/div @@ -1,3 +1,4 @@ #name : ... +# key: div # -- $0 \ No newline at end of file diff --git a/snippets/html-mode/div.class b/snippets/html-mode/div.class index 11c12d6..54ad2e2 100644 --- a/snippets/html-mode/div.class +++ b/snippets/html-mode/div.class @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name :
...
+# key: div # --
$0 diff --git a/snippets/html-mode/div.id b/snippets/html-mode/div.id index cec25fb..92f8239 100644 --- a/snippets/html-mode/div.id +++ b/snippets/html-mode/div.id @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name :
...
+# key: div # --
$0 diff --git a/snippets/html-mode/div.id-class b/snippets/html-mode/div.id-class index d5b1402..3d40ad7 100644 --- a/snippets/html-mode/div.id-class +++ b/snippets/html-mode/div.id-class @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name :
...
+# key: div # --
$0 diff --git a/snippets/html-mode/dov b/snippets/html-mode/dov index fcd0a78..af8ab50 100644 --- a/snippets/html-mode/dov +++ b/snippets/html-mode/dov @@ -1,4 +1,5 @@ #name : ... +# key: dov # -- a mirror up here $3 diff --git a/snippets/html-mode/form b/snippets/html-mode/form index 043a59a..0f1ce7c 100644 --- a/snippets/html-mode/form +++ b/snippets/html-mode/form @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name :
+# key: form # --
$0 diff --git a/snippets/html-mode/head b/snippets/html-mode/head index 37ef1ad..0329c36 100644 --- a/snippets/html-mode/head +++ b/snippets/html-mode/head @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name : ... +# key: head # -- $0 diff --git a/snippets/html-mode/header/h1 b/snippets/html-mode/header/h1 index 68ccf00..cbc3010 100644 --- a/snippets/html-mode/header/h1 +++ b/snippets/html-mode/header/h1 @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name :

...

+# key: headerh1 # --

$1

\ No newline at end of file diff --git a/snippets/html-mode/header/h2 b/snippets/html-mode/header/h2 index abeb586..dc25597 100644 --- a/snippets/html-mode/header/h2 +++ b/snippets/html-mode/header/h2 @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name :

...

+# key: headerh2 # --

$1

\ No newline at end of file diff --git a/snippets/html-mode/header/h3 b/snippets/html-mode/header/h3 index cc4b16e..a9e448d 100644 --- a/snippets/html-mode/header/h3 +++ b/snippets/html-mode/header/h3 @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name :

...

+# key: headerh3 # --

$1

\ No newline at end of file diff --git a/snippets/html-mode/header/h4 b/snippets/html-mode/header/h4 index 53acb57..bffaa87 100644 --- a/snippets/html-mode/header/h4 +++ b/snippets/html-mode/header/h4 @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name :

...

+# key: headerh4 # --

$1

\ No newline at end of file diff --git a/snippets/html-mode/header/h5 b/snippets/html-mode/header/h5 index e9bd313..140deb9 100644 --- a/snippets/html-mode/header/h5 +++ b/snippets/html-mode/header/h5 @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name :
...
+# key: headerh5 # --
$1
\ No newline at end of file diff --git a/snippets/html-mode/header/h6 b/snippets/html-mode/header/h6 index 6c677af..f486317 100644 --- a/snippets/html-mode/header/h6 +++ b/snippets/html-mode/header/h6 @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name :
...
+# key: headerh6 # --
$1
\ No newline at end of file diff --git a/snippets/html-mode/hr b/snippets/html-mode/hr index 74c62d3..c87ceb7 100644 --- a/snippets/html-mode/hr +++ b/snippets/html-mode/hr @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name :
+# key: hr # --
\ No newline at end of file diff --git a/snippets/html-mode/href b/snippets/html-mode/href index 0425e6c..ac1285a 100644 --- a/snippets/html-mode/href +++ b/snippets/html-mode/href @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name : ... +# key: href # -- $2 \ No newline at end of file diff --git a/snippets/html-mode/html b/snippets/html-mode/html index 8c37883..12beee3 100644 --- a/snippets/html-mode/html +++ b/snippets/html-mode/html @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name : ... +# key: html # -- $0 diff --git a/snippets/html-mode/html.xmlns b/snippets/html-mode/html.xmlns index fa26195..a93d24d 100644 --- a/snippets/html-mode/html.xmlns +++ b/snippets/html-mode/html.xmlns @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name : ... +# key: html # -- $0 diff --git a/snippets/html-mode/i.yasnippet b/snippets/html-mode/i.yasnippet index 84f05ac..6d85203 100755 --- a/snippets/html-mode/i.yasnippet +++ b/snippets/html-mode/i.yasnippet @@ -1,4 +1,5 @@ #contributor : Xah Lee xahlee.org #name : ... +# key: i # -- $0 \ No newline at end of file diff --git a/snippets/html-mode/img b/snippets/html-mode/img index 674b1dc..93e00d4 100644 --- a/snippets/html-mode/img +++ b/snippets/html-mode/img @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name : ... +# key: img # -- $3 \ No newline at end of file diff --git a/snippets/html-mode/input b/snippets/html-mode/input index 1ad74f8..83b8854 100644 --- a/snippets/html-mode/input +++ b/snippets/html-mode/input @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name : +# key: input # -- \ No newline at end of file diff --git a/snippets/html-mode/link.stylesheet b/snippets/html-mode/link.stylesheet index 0953396..66e5833 100644 --- a/snippets/html-mode/link.stylesheet +++ b/snippets/html-mode/link.stylesheet @@ -1,4 +1,5 @@ #contributor : Jimmy Wu #name : +# key: link # -- \ No newline at end of file diff --git a/snippets/html-mode/link.stylesheet-ie b/snippets/html-mode/link.stylesheet-ie index 9cf9fec..c4cee76 100644 --- a/snippets/html-mode/link.stylesheet-ie +++ b/snippets/html-mode/link.stylesheet-ie @@ -1,5 +1,6 @@ #contributor : Jimmy Wu #name : +# key: link # --