From d0cdc4cae09596aaf1b7078aadb9ec8aa802ffb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miros=C5=82aw=20Prag=C5=82owski?= Date: Tue, 9 Jun 2015 22:36:26 +0200 Subject: [PATCH] Removed snippets --- bundle/snipmate-snippets/.gitignore | 16 - bundle/snipmate-snippets/Rakefile | 24 - .../_/date/date + time.snippet | 1 - bundle/snipmate-snippets/_/date/date.snippet | 1 - bundle/snipmate-snippets/_/lorem.snippet | 1 - bundle/snipmate-snippets/_/modeline.snippet | 1 - .../snipmate-snippets/ant/skel/basic.snippet | 29 - bundle/snipmate-snippets/c/cl.snippet | 7 - bundle/snipmate-snippets/c/def.snippet | 3 - bundle/snipmate-snippets/c/do.snippet | 3 - bundle/snipmate-snippets/c/el.snippet | 3 - bundle/snipmate-snippets/c/for.snippet | 3 - bundle/snipmate-snippets/c/forr.snippet | 3 - bundle/snipmate-snippets/c/fpf.snippet | 1 - bundle/snipmate-snippets/c/fun.snippet | 4 - bundle/snipmate-snippets/c/if.snippet | 3 - bundle/snipmate-snippets/c/inc/inc.snippet | 1 - .../c/inc/inc_global.snippet | 1 - bundle/snipmate-snippets/c/main.snippet | 5 - bundle/snipmate-snippets/c/map.snippet | 1 - bundle/snipmate-snippets/c/ns.snippet | 3 - bundle/snipmate-snippets/c/once.snippet | 6 - bundle/snipmate-snippets/c/pr.snippet | 1 - bundle/snipmate-snippets/c/readfile.snippet | 7 - bundle/snipmate-snippets/c/st.snippet | 3 - bundle/snipmate-snippets/c/t.snippet | 1 - bundle/snipmate-snippets/c/td.snippet | 1 - bundle/snipmate-snippets/c/tds.snippet | 3 - bundle/snipmate-snippets/c/vector.snippet | 1 - bundle/snipmate-snippets/c/wh.snippet | 3 - bundle/snipmate-snippets/css/#.snippet | 3 - .../css/background/all.snippet | 1 - .../css/background/attachment.snippet | 1 - .../css/background/color.snippet | 1 - .../css/background/color_name.snippet | 1 - .../css/background/color_rgb.snippet | 1 - .../css/background/color_transparent.snippet | 1 - .../css/background/image_none.snippet | 1 - .../css/background/image_url.snippet | 1 - .../css/background/position.snippet | 1 - .../css/background/repeat.snippet | 1 - .../css/border/basic.snippet | 1 - .../css/border/color.snippet | 1 - .../css/border/style.snippet | 1 - .../css/border/width.snippet | 1 - .../css/borderb/basic.snippet | 1 - .../css/borderb/color.snippet | 1 - .../css/borderb/style.snippet | 1 - .../css/borderb/width.snippet | 1 - .../css/borderl/basic.snippet | 1 - .../css/borderl/color.snippet | 1 - .../css/borderl/style.snippet | 1 - .../css/borderl/width.snippet | 1 - .../css/borderr/basic.snippet | 1 - .../css/borderr/color.snippet | 1 - .../css/borderr/style.snippet | 1 - .../css/borderr/width.snippet | 1 - .../css/bordert/basic.snippet | 1 - .../css/bordert/color.snippet | 1 - .../css/bordert/style.snippet | 1 - .../css/bordert/width.snippet | 1 - bundle/snipmate-snippets/css/cl.snippet | 3 - bundle/snipmate-snippets/css/clear.snippet | 1 - bundle/snipmate-snippets/css/color.snippet | 1 - bundle/snipmate-snippets/css/colorn.snippet | 1 - bundle/snipmate-snippets/css/colorr.snippet | 1 - bundle/snipmate-snippets/css/cursor.snippet | 1 - bundle/snipmate-snippets/css/cursuru.snippet | 1 - .../snipmate-snippets/css/direction.snippet | 1 - .../css/display/block.snippet | 1 - .../css/display/common.snippet | 1 - .../css/display/inline.snippet | 1 - .../css/display/table.snippet | 1 - bundle/snipmate-snippets/css/float.snippet | 1 - bundle/snipmate-snippets/css/font/all.snippet | 1 - .../snipmate-snippets/css/font/family.snippet | 1 - .../snipmate-snippets/css/font/size.snippet | 1 - .../css/font/size_font.snippet | 1 - .../snipmate-snippets/css/font/style.snippet | 1 - .../css/font/variant.snippet | 1 - .../snipmate-snippets/css/font/weight.snippet | 1 - bundle/snipmate-snippets/css/i.snippet | 1 - bundle/snipmate-snippets/css/letter.snippet | 1 - bundle/snipmate-snippets/css/letterem.snippet | 1 - bundle/snipmate-snippets/css/letterpx.snippet | 1 - .../css/list-style/image.snippet | 1 - .../css/list-style/position.snippet | 1 - .../css/list-style/type_asian.snippet | 1 - .../css/list-style/type_marker.snippet | 1 - .../css/list-style/type_numeric.snippet | 1 - .../css/list-style/type_other.snippet | 1 - .../list-style/type_position_image.snippet | 1 - .../list-style/type_roman_alpha_greek.snippet | 1 - bundle/snipmate-snippets/css/margin.snippet | 1 - bundle/snipmate-snippets/css/marginb.snippet | 1 - bundle/snipmate-snippets/css/marginl.snippet | 1 - .../css/margino/T_R_B_L.snippet | 1 - .../snipmate-snippets/css/margino/V_H.snippet | 1 - .../snipmate-snippets/css/margino/all.snippet | 1 - .../css/margino/bottom.snippet | 1 - .../css/margino/left.snippet | 1 - .../css/margino/right.snippet | 1 - .../snipmate-snippets/css/margino/top.snippet | 1 - bundle/snipmate-snippets/css/marginr.snippet | 1 - bundle/snipmate-snippets/css/margint.snippet | 1 - .../css/marker/offset_auto.snippet | 1 - .../css/marker/offset_length.snippet | 1 - bundle/snipmate-snippets/css/opacity.snippet | 3 - bundle/snipmate-snippets/css/overflow.snippet | 1 - bundle/snipmate-snippets/css/padding.snippet | 1 - bundle/snipmate-snippets/css/paddingb.snippet | 1 - bundle/snipmate-snippets/css/paddingl.snippet | 1 - .../css/paddingo/T_R_B_L.snippet | 1 - .../css/paddingo/V_H.snippet | 1 - .../css/paddingo/all.snippet | 1 - .../css/paddingo/bottom.snippet | 1 - .../css/paddingo/left.snippet | 1 - .../css/paddingo/right.snippet | 1 - .../css/paddingo/top.snippet | 1 - bundle/snipmate-snippets/css/paddingr.snippet | 1 - bundle/snipmate-snippets/css/paddingt.snippet | 1 - bundle/snipmate-snippets/css/position.snippet | 1 - .../snipmate-snippets/css/scrollbar.snippet | 8 - bundle/snipmate-snippets/css/tag.snippet | 3 - .../snipmate-snippets/css/text/align.snippet | 1 - .../css/text/decoration.snippet | 1 - .../snipmate-snippets/css/text/indent.snippet | 1 - .../css/text/shadow_hex.snippet | 1 - .../css/text/shadow_none.snippet | 1 - .../css/text/shadow_rgb.snippet | 1 - .../css/text/transform.snippet | 1 - .../css/text/transform_none.snippet | 1 - bundle/snipmate-snippets/css/vertical.snippet | 1 - .../snipmate-snippets/css/visibility.snippet | 1 - bundle/snipmate-snippets/css/white.snippet | 1 - .../css/word/spacing_length.snippet | 1 - .../css/word/spacing_normal.snippet | 1 - bundle/snipmate-snippets/css/z.snippet | 1 - .../eruby-rails/conf.snippet | 3 - .../snipmate-snippets/eruby-rails/cs.snippet | 1 - .../snipmate-snippets/eruby-rails/ct.snippet | 1 - .../snipmate-snippets/eruby-rails/end.snippet | 1 - .../snipmate-snippets/eruby-rails/ff.snippet | 3 - .../eruby-rails/ffcb.snippet | 1 - .../snipmate-snippets/eruby-rails/ffe.snippet | 5 - .../eruby-rails/ffff.snippet | 1 - .../eruby-rails/ffhf.snippet | 1 - .../snipmate-snippets/eruby-rails/ffl.snippet | 1 - .../eruby-rails/ffpf.snippet | 1 - .../eruby-rails/ffrb.snippet | 1 - .../snipmate-snippets/eruby-rails/ffs.snippet | 1 - .../eruby-rails/ffta.snippet | 1 - .../eruby-rails/fftf.snippet | 1 - .../eruby-rails/fields.snippet | 3 - .../snipmate-snippets/eruby-rails/for.snippet | 3 - .../snipmate-snippets/eruby-rails/ft.snippet | 3 - .../snipmate-snippets/eruby-rails/i18.snippet | 1 - .../snipmate-snippets/eruby-rails/it.snippet | 1 - .../snipmate-snippets/eruby-rails/jit.snippet | 1 - .../eruby-rails/jsit.snippet | 1 - .../snipmate-snippets/eruby-rails/lia.snippet | 1 - .../eruby-rails/liai.snippet | 1 - .../snipmate-snippets/eruby-rails/lic.snippet | 1 - .../eruby-rails/lica.snippet | 1 - .../eruby-rails/licai.snippet | 1 - .../snipmate-snippets/eruby-rails/lim.snippet | 1 - .../eruby-rails/linp.snippet | 1 - .../eruby-rails/linpp.snippet | 1 - .../snipmate-snippets/eruby-rails/lip.snippet | 1 - .../eruby-rails/lipp.snippet | 1 - .../snipmate-snippets/eruby-rails/lt.snippet | 1 - .../eruby-rails/ofcfs.snippet | 1 - .../snipmate-snippets/eruby-rails/rf.snippet | 1 - .../snipmate-snippets/eruby-rails/rp.snippet | 1 - .../snipmate-snippets/eruby-rails/rt.snippet | 1 - .../snipmate-snippets/eruby-rails/slt.snippet | 1 - .../eruby-rails/sslt.snippet | 1 - .../snipmate-snippets/eruby-rails/st.snippet | 1 - bundle/snipmate-snippets/eruby/if.snippet | 3 - bundle/snipmate-snippets/eruby/ife.snippet | 4 - bundle/snipmate-snippets/eruby/unless.snippet | 3 - .../snipmate-snippets/eruby/unlesse.snippet | 4 - bundle/snipmate-snippets/haml/conf.snippet | 3 - bundle/snipmate-snippets/haml/cs.snippet | 1 - bundle/snipmate-snippets/haml/ff.snippet | 2 - bundle/snipmate-snippets/haml/ffcb.snippet | 1 - bundle/snipmate-snippets/haml/ffe.snippet | 4 - bundle/snipmate-snippets/haml/ffff.snippet | 1 - bundle/snipmate-snippets/haml/ffhf.snippet | 1 - bundle/snipmate-snippets/haml/ffl.snippet | 1 - bundle/snipmate-snippets/haml/ffpf.snippet | 1 - bundle/snipmate-snippets/haml/ffrb.snippet | 1 - bundle/snipmate-snippets/haml/ffs.snippet | 1 - bundle/snipmate-snippets/haml/ffta.snippet | 1 - bundle/snipmate-snippets/haml/fftf.snippet | 1 - bundle/snipmate-snippets/haml/fields.snippet | 2 - bundle/snipmate-snippets/haml/for.snippet | 6 - bundle/snipmate-snippets/haml/ft.snippet | 2 - bundle/snipmate-snippets/haml/if.snippet | 2 - bundle/snipmate-snippets/haml/ife.snippet | 4 - bundle/snipmate-snippets/haml/it.snippet | 1 - bundle/snipmate-snippets/haml/jit.snippet | 1 - bundle/snipmate-snippets/haml/jsit.snippet | 1 - bundle/snipmate-snippets/haml/lia.snippet | 1 - bundle/snipmate-snippets/haml/liai.snippet | 1 - bundle/snipmate-snippets/haml/lic.snippet | 1 - bundle/snipmate-snippets/haml/lica.snippet | 1 - bundle/snipmate-snippets/haml/licai.snippet | 1 - bundle/snipmate-snippets/haml/lim.snippet | 1 - bundle/snipmate-snippets/haml/linp.snippet | 1 - bundle/snipmate-snippets/haml/linpp.snippet | 1 - bundle/snipmate-snippets/haml/lip.snippet | 1 - bundle/snipmate-snippets/haml/lipp.snippet | 1 - bundle/snipmate-snippets/haml/lt.snippet | 1 - bundle/snipmate-snippets/haml/ofcfs.snippet | 1 - bundle/snipmate-snippets/haml/rf.snippet | 1 - bundle/snipmate-snippets/haml/rp.snippet | 1 - bundle/snipmate-snippets/haml/rt.snippet | 1 - bundle/snipmate-snippets/haml/slt.snippet | 1 - bundle/snipmate-snippets/haml/sslt.snippet | 1 - bundle/snipmate-snippets/haml/st.snippet | 1 - bundle/snipmate-snippets/haml/unless.snippet | 3 - bundle/snipmate-snippets/haml/unlesse.snippet | 4 - bundle/snipmate-snippets/html/base.snippet | 1 - bundle/snipmate-snippets/html/body.snippet | 3 - bundle/snipmate-snippets/html/div.snippet | 3 - bundle/snipmate-snippets/html/doctype.snippet | 1 - bundle/snipmate-snippets/html/form.snippet | 5 - bundle/snipmate-snippets/html/h1.snippet | 1 - bundle/snipmate-snippets/html/head.snippet | 5 - bundle/snipmate-snippets/html/href.snippet | 1 - bundle/snipmate-snippets/html/ifie.snippet | 1 - bundle/snipmate-snippets/html/img.snippet | 1 - bundle/snipmate-snippets/html/input.snippet | 1 - bundle/snipmate-snippets/html/inputl.snippet | 2 - bundle/snipmate-snippets/html/label.snippet | 1 - bundle/snipmate-snippets/html/link.snippet | 1 - bundle/snipmate-snippets/html/mailto.snippet | 1 - bundle/snipmate-snippets/html/meta.snippet | 1 - bundle/snipmate-snippets/html/option.snippet | 1 - .../html/script/include_script.snippet | 1 - .../html/script/inline_script.snippet | 5 - bundle/snipmate-snippets/html/select.snippet | 3 - .../snipmate-snippets/html/skel/basic.snippet | 13 - .../html/skel/basic_with_meta.snippet | 15 - bundle/snipmate-snippets/html/style.snippet | 3 - bundle/snipmate-snippets/html/t.snippet | 3 - .../html/table/basic.snippet | 3 - .../html/table/hardcore.snippet | 9 - .../snipmate-snippets/html/textarea.snippet | 1 - .../java/class/basic+constructor+main.snippet | 17 - .../java/class/basic+constructor.snippet | 14 - .../java/class/basic.snippet | 14 - bundle/snipmate-snippets/java/for.snippet | 3 - bundle/snipmate-snippets/java/gs.snippet | 9 - bundle/snipmate-snippets/java/if.snippet | 3 - bundle/snipmate-snippets/java/ife.snippet | 4 - bundle/snipmate-snippets/java/log.snippet | 1 - bundle/snipmate-snippets/java/m.snippet | 8 - .../javascript-jquery/add.snippet | 1 - .../javascript-jquery/addClass.snippet | 1 - .../javascript-jquery/after.snippet | 1 - .../javascript-jquery/ajax.snippet | 18 - .../javascript-jquery/ajaxerror.snippet | 4 - .../javascript-jquery/ajaxget.snippet | 3 - .../javascript-jquery/ajaxgetif.snippet | 3 - .../javascript-jquery/ajaxpost.snippet | 5 - .../javascript-jquery/ajaxsend.snippet | 4 - .../javascript-jquery/ajaxsetup.snippet | 18 - .../javascript-jquery/ajaxstart.snippet | 4 - .../javascript-jquery/ajaxstop.snippet | 4 - .../javascript-jquery/ajaxsuccess.snippet | 4 - .../javascript-jquery/animate.snippet | 1 - .../javascript-jquery/append.snippet | 1 - .../javascript-jquery/appendTo.snippet | 1 - .../javascript-jquery/attr.snippet | 1 - .../javascript-jquery/attrm.snippet | 1 - .../javascript-jquery/before.snippet | 1 - .../javascript-jquery/bind.snippet | 3 - .../javascript-jquery/blur.snippet | 3 - .../javascript-jquery/change.snippet | 3 - .../javascript-jquery/children.snippet | 1 - .../javascript-jquery/click.snippet | 3 - .../javascript-jquery/clone.snippet | 1 - .../javascript-jquery/contains.snippet | 1 - .../javascript-jquery/css.snippet | 1 - .../javascript-jquery/cssm.snippet | 1 - .../javascript-jquery/dblclick.snippet | 3 - .../javascript-jquery/each.snippet | 3 - .../javascript-jquery/el.snippet | 1 - .../javascript-jquery/eltrim.snippet | 1 - .../javascript-jquery/end.snippet | 1 - .../javascript-jquery/error.snippet | 3 - .../javascript-jquery/fadein.snippet | 1 - .../javascript-jquery/fadeinc.snippet | 3 - .../javascript-jquery/fadeout.snippet | 1 - .../javascript-jquery/fadeoutc.snippet | 3 - .../javascript-jquery/fadeto.snippet | 1 - .../javascript-jquery/fadetoc.snippet | 3 - .../javascript-jquery/filter.snippet | 1 - .../javascript-jquery/find.snippet | 1 - .../javascript-jquery/focus.snippet | 3 - .../javascript-jquery/get.snippet | 1 - .../javascript-jquery/getjson.snippet | 5 - .../javascript-jquery/getscript.snippet | 3 - .../javascript-jquery/height.snippet | 1 - .../javascript-jquery/hide.snippet | 1 - .../javascript-jquery/hidec.snippet | 3 - .../javascript-jquery/hover.snippet | 5 - .../javascript-jquery/html.snippet | 1 - .../javascript-jquery/insertAfter.snippet | 1 - .../javascript-jquery/insertBefore.snippet | 1 - .../javascript-jquery/is.snippet | 1 - .../javascript-jquery/load.snippet | 3 - .../javascript-jquery/loadf.snippet | 3 - .../javascript-jquery/loadif.snippet | 3 - .../javascript-jquery/mdown.snippet | 3 - .../javascript-jquery/mmove.snippet | 3 - .../javascript-jquery/mout.snippet | 3 - .../javascript-jquery/mover.snippet | 3 - .../javascript-jquery/mup.snippet | 3 - .../javascript-jquery/next.snippet | 1 - .../javascript-jquery/not.snippet | 1 - .../javascript-jquery/one.snippet | 3 - .../javascript-jquery/parent.snippet | 1 - .../javascript-jquery/parents.snippet | 1 - .../javascript-jquery/prepend.snippet | 1 - .../javascript-jquery/prependto.snippet | 1 - .../javascript-jquery/prev.snippet | 1 - .../javascript-jquery/ready.snippet | 3 - .../javascript-jquery/remove.snippet | 1 - .../javascript-jquery/removeattr.snippet | 1 - .../javascript-jquery/removeclass.snippet | 1 - .../javascript-jquery/reset.snippet | 3 - .../javascript-jquery/resize.snippet | 3 - .../javascript-jquery/scroll.snippet | 3 - .../javascript-jquery/sdown.snippet | 1 - .../javascript-jquery/sdownc.snippet | 3 - .../javascript-jquery/sdupc.snippet | 3 - .../javascript-jquery/select.snippet | 3 - .../javascript-jquery/show.snippet | 1 - .../javascript-jquery/showc.snippet | 3 - .../javascript-jquery/sib.snippet | 1 - .../javascript-jquery/size.snippet | 1 - .../javascript-jquery/stoggle.snippet | 1 - .../javascript-jquery/submit.snippet | 3 - .../javascript-jquery/sup.snippet | 1 - .../javascript-jquery/text.snippet | 1 - .../javascript-jquery/this.snippet | 1 - .../javascript-jquery/tog.snippet | 6 - .../javascript-jquery/togclass.snippet | 1 - .../javascript-jquery/togsh.snippet | 1 - .../javascript-jquery/trig.snippet | 1 - .../javascript-jquery/unbind.snippet | 1 - .../javascript-jquery/val.snippet | 1 - .../javascript-jquery/width.snippet | 1 - .../javascript-jquery/wrap.snippet | 1 - .../snipmate-snippets/javascript/anon.snippet | 1 - .../snipmate-snippets/javascript/for.snippet | 3 - .../snipmate-snippets/javascript/fun.snippet | 3 - .../snipmate-snippets/javascript/if.snippet | 1 - .../snipmate-snippets/javascript/ife.snippet | 4 - .../snipmate-snippets/javascript/log.snippet | 1 - .../snipmate-snippets/javascript/met.snippet | 3 - .../javascript/proto.snippet | 3 - .../javascript/timeout.snippet | 1 - bundle/snipmate-snippets/objc/I.snippet | 6 - bundle/snipmate-snippets/objc/Imp.snippet | 1 - bundle/snipmate-snippets/objc/alloc.snippet | 1 - bundle/snipmate-snippets/objc/array.snippet | 1 - bundle/snipmate-snippets/objc/bez.snippet | 1 - bundle/snipmate-snippets/objc/cat.snippet | 6 - bundle/snipmate-snippets/objc/cati.snippet | 3 - bundle/snipmate-snippets/objc/cli.snippet | 5 - bundle/snipmate-snippets/objc/dict.snippet | 1 - .../snipmate-snippets/objc/forarray.snippet | 7 - bundle/snipmate-snippets/objc/log.snippet | 1 - .../objc/m/class method.snippet | 4 - .../snipmate-snippets/objc/m/method.snippet | 4 - bundle/snipmate-snippets/objc/objacc.snippet | 11 - bundle/snipmate-snippets/objc/objc.snippet | 14 - bundle/snipmate-snippets/objc/prop.snippet | 1 - bundle/snipmate-snippets/objc/rel.snippet | 1 - bundle/snipmate-snippets/objc/ret.snippet | 1 - bundle/snipmate-snippets/objc/sel.snippet | 1 - bundle/snipmate-snippets/objc/sm.snippet | 5 - bundle/snipmate-snippets/objc/syn.snippet | 1 - bundle/snipmate-snippets/php/array.snippet | 1 - bundle/snipmate-snippets/php/case.snippet | 3 - bundle/snipmate-snippets/php/class.snippet | 11 - bundle/snipmate-snippets/php/classe.snippet | 12 - bundle/snipmate-snippets/php/def.snippet | 1 - bundle/snipmate-snippets/php/defd.snippet | 1 - bundle/snipmate-snippets/php/do.snippet | 3 - bundle/snipmate-snippets/php/doc_cp.snippet | 6 - bundle/snipmate-snippets/php/doc_f.snippet | 8 - bundle/snipmate-snippets/php/doc_h.snippet | 10 - bundle/snipmate-snippets/php/doc_i.snippet | 8 - bundle/snipmate-snippets/php/ec.snippet | 1 - bundle/snipmate-snippets/php/else.snippet | 3 - bundle/snipmate-snippets/php/elseif.snippet | 3 - bundle/snipmate-snippets/php/for.snippet | 3 - bundle/snipmate-snippets/php/foreach.snippet | 3 - bundle/snipmate-snippets/php/foreachk.snippet | 3 - bundle/snipmate-snippets/php/fun.snippet | 4 - bundle/snipmate-snippets/php/get.snippet | 1 - bundle/snipmate-snippets/php/globals.snippet | 1 - bundle/snipmate-snippets/php/if.snippet | 3 - bundle/snipmate-snippets/php/ife.snippet | 4 - bundle/snipmate-snippets/php/inc.snippet | 1 - bundle/snipmate-snippets/php/inc1.snippet | 1 - bundle/snipmate-snippets/php/log.snippet | 1 - bundle/snipmate-snippets/php/php.snippet | 3 - bundle/snipmate-snippets/php/post.snippet | 1 - bundle/snipmate-snippets/php/req.snippet | 1 - bundle/snipmate-snippets/php/req1.snippet | 1 - bundle/snipmate-snippets/php/request.snippet | 1 - bundle/snipmate-snippets/php/session.snippet | 1 - bundle/snipmate-snippets/php/switch.snippet | 9 - bundle/snipmate-snippets/php/t.snippet | 1 - bundle/snipmate-snippets/php/try.snippet | 6 - bundle/snipmate-snippets/php/var.snippet | 1 - bundle/snipmate-snippets/php/wh.snippet | 3 - bundle/snipmate-snippets/po/msg.snippet | 2 - bundle/snipmate-snippets/python/class.snippet | 2 - bundle/snipmate-snippets/python/def.snippet | 2 - bundle/snipmate-snippets/python/for.snippet | 3 - bundle/snipmate-snippets/python/from.snippet | 2 - bundle/snipmate-snippets/python/get.snippet | 3 - .../snipmate-snippets/python/ifmain.snippet | 2 - .../snipmate-snippets/python/import.snippet | 2 - bundle/snipmate-snippets/python/init.snippet | 2 - bundle/snipmate-snippets/python/set.snippet | 1 - bundle/snipmate-snippets/python/try.snippet | 4 - .../ruby-factorygirl/fac.snippet | 1 - .../ruby-factorygirl/facb.snippet | 1 - .../ruby-factorygirl/facd.snippet | 4 - .../ruby-factorygirl/facn.snippet | 1 - .../ruby-factorygirl/facs.snippet | 4 - .../snipmate-snippets/ruby-rails/art.snippet | 1 - .../ruby-rails/artnp.snippet | 1 - .../ruby-rails/artnpp.snippet | 1 - .../snipmate-snippets/ruby-rails/artp.snippet | 1 - .../ruby-rails/artpp.snippet | 1 - .../snipmate-snippets/ruby-rails/asd.snippet | 3 - .../snipmate-snippets/ruby-rails/asnd.snippet | 3 - .../snipmate-snippets/ruby-rails/asre.snippet | 1 - .../snipmate-snippets/ruby-rails/asrj.snippet | 1 - .../snipmate-snippets/ruby-rails/ass.snippet | 1 - .../snipmate-snippets/ruby-rails/bf.snippet | 1 - .../snipmate-snippets/ruby-rails/bt.snippet | 1 - .../snipmate-snippets/ruby-rails/crw.snippet | 1 - .../ruby-rails/defcreate.snippet | 14 - .../ruby-rails/defdestroy.snippet | 9 - .../ruby-rails/defedit.snippet | 3 - .../ruby-rails/defindex.snippet | 8 - .../ruby-rails/defnew.snippet | 8 - .../ruby-rails/defshow.snippet | 8 - .../ruby-rails/defupdate.snippet | 14 - .../snipmate-snippets/ruby-rails/fina.snippet | 1 - .../snipmate-snippets/ruby-rails/finf.snippet | 1 - .../snipmate-snippets/ruby-rails/fini.snippet | 1 - .../snipmate-snippets/ruby-rails/finl.snippet | 1 - .../ruby-rails/flash.snippet | 1 - .../ruby-rails/habtm.snippet | 1 - .../snipmate-snippets/ruby-rails/hm.snippet | 1 - .../snipmate-snippets/ruby-rails/hmd.snippet | 1 - .../snipmate-snippets/ruby-rails/hmt.snippet | 1 - .../snipmate-snippets/ruby-rails/ho.snippet | 1 - .../snipmate-snippets/ruby-rails/i18.snippet | 1 - .../snipmate-snippets/ruby-rails/ist.snippet | 1 - .../snipmate-snippets/ruby-rails/log.snippet | 1 - .../snipmate-snippets/ruby-rails/logd.snippet | 1 - .../snipmate-snippets/ruby-rails/loge.snippet | 1 - .../snipmate-snippets/ruby-rails/logf.snippet | 1 - .../snipmate-snippets/ruby-rails/logi.snippet | 1 - .../snipmate-snippets/ruby-rails/logw.snippet | 1 - .../snipmate-snippets/ruby-rails/mac.snippet | 1 - .../snipmate-snippets/ruby-rails/mapc.snippet | 1 - .../ruby-rails/mapca.snippet | 1 - .../snipmate-snippets/ruby-rails/mapr.snippet | 1 - .../ruby-rails/maprs.snippet | 1 - .../ruby-rails/mapwo.snippet | 3 - .../snipmate-snippets/ruby-rails/mbs.snippet | 1 - .../snipmate-snippets/ruby-rails/mcc.snippet | 1 - .../snipmate-snippets/ruby-rails/mccc.snippet | 1 - .../snipmate-snippets/ruby-rails/mcht.snippet | 3 - .../snipmate-snippets/ruby-rails/mcol.snippet | 1 - .../snipmate-snippets/ruby-rails/mct.snippet | 3 - .../ruby-rails/migration.snippet | 8 - .../snipmate-snippets/ruby-rails/mp.snippet | 1 - .../snipmate-snippets/ruby-rails/mrc.snippet | 1 - .../snipmate-snippets/ruby-rails/mrmc.snippet | 1 - .../snipmate-snippets/ruby-rails/mrnc.snippet | 1 - .../snipmate-snippets/ruby-rails/mrw.snippet | 1 - .../snipmate-snippets/ruby-rails/nc.snippet | 1 - .../snipmate-snippets/ruby-rails/ncl.snippet | 1 - .../snipmate-snippets/ruby-rails/pa.snippet | 1 - .../snipmate-snippets/ruby-rails/ra.snippet | 1 - .../snipmate-snippets/ruby-rails/ral.snippet | 1 - .../snipmate-snippets/ruby-rails/rest.snippet | 3 - .../snipmate-snippets/ruby-rails/rf.snippet | 1 - .../snipmate-snippets/ruby-rails/rfu.snippet | 1 - .../snipmate-snippets/ruby-rails/ri.snippet | 1 - .../snipmate-snippets/ruby-rails/ril.snippet | 1 - .../snipmate-snippets/ruby-rails/rit.snippet | 1 - .../ruby-rails/rjson.snippet | 1 - .../snipmate-snippets/ruby-rails/rl.snippet | 1 - .../snipmate-snippets/ruby-rails/rn.snippet | 1 - .../snipmate-snippets/ruby-rails/rns.snippet | 1 - .../snipmate-snippets/ruby-rails/rp.snippet | 1 - .../snipmate-snippets/ruby-rails/rpc.snippet | 1 - .../snipmate-snippets/ruby-rails/rpl.snippet | 1 - .../snipmate-snippets/ruby-rails/rpo.snippet | 1 - .../snipmate-snippets/ruby-rails/rps.snippet | 1 - .../snipmate-snippets/ruby-rails/rt.snippet | 1 - .../snipmate-snippets/ruby-rails/rtl.snippet | 1 - .../snipmate-snippets/ruby-rails/rtlt.snippet | 1 - .../snipmate-snippets/ruby-rails/rts.snippet | 1 - .../snipmate-snippets/ruby-rails/ru.snippet | 3 - .../snipmate-snippets/ruby-rails/rxml.snippet | 1 - .../snipmate-snippets/ruby-rails/sha1.snippet | 1 - .../ruby-rails/sweeper.snippet | 15 - .../snipmate-snippets/ruby-rails/tcb.snippet | 2 - .../snipmate-snippets/ruby-rails/tcbi.snippet | 2 - .../snipmate-snippets/ruby-rails/tcd.snippet | 2 - .../snipmate-snippets/ruby-rails/tcda.snippet | 2 - .../snipmate-snippets/ruby-rails/tcdt.snippet | 2 - .../snipmate-snippets/ruby-rails/tcf.snippet | 2 - .../snipmate-snippets/ruby-rails/tch.snippet | 2 - .../snipmate-snippets/ruby-rails/tci.snippet | 2 - .../snipmate-snippets/ruby-rails/tcl.snippet | 2 - .../snipmate-snippets/ruby-rails/tcr.snippet | 2 - .../snipmate-snippets/ruby-rails/tcs.snippet | 2 - .../snipmate-snippets/ruby-rails/tct.snippet | 2 - .../snipmate-snippets/ruby-rails/tcti.snippet | 2 - .../snipmate-snippets/ruby-rails/tcts.snippet | 2 - .../ruby-rails/tctss.snippet | 2 - .../snipmate-snippets/ruby-rails/trc.snippet | 1 - .../snipmate-snippets/ruby-rails/tre.snippet | 2 - .../snipmate-snippets/ruby-rails/tref.snippet | 1 - .../snipmate-snippets/ruby-rails/va.snippet | 1 - .../snipmate-snippets/ruby-rails/vao.snippet | 1 - .../snipmate-snippets/ruby-rails/vc.snippet | 1 - .../snipmate-snippets/ruby-rails/ve.snippet | 1 - .../snipmate-snippets/ruby-rails/vf.snippet | 1 - .../snipmate-snippets/ruby-rails/vi.snippet | 1 - .../snipmate-snippets/ruby-rails/vl.snippet | 1 - .../snipmate-snippets/ruby-rails/vn.snippet | 1 - .../snipmate-snippets/ruby-rails/vpo.snippet | 1 - .../snipmate-snippets/ruby-rails/vu.snippet | 1 - .../ruby-rails/wants.snippet | 1 - .../ruby-rails/xdelete.snippet | 1 - .../snipmate-snippets/ruby-rails/xget.snippet | 1 - .../ruby-rails/xpost.snippet | 1 - .../snipmate-snippets/ruby-rails/xput.snippet | 1 - .../snipmate-snippets/ruby-rspec/aft.snippet | 3 - .../ruby-rspec/annot.snippet | 1 - .../snipmate-snippets/ruby-rspec/anr.snippet | 1 - .../snipmate-snippets/ruby-rspec/anra.snippet | 1 - .../snipmate-snippets/ruby-rspec/anrb.snippet | 1 - .../snipmate-snippets/ruby-rspec/ant.snippet | 1 - .../snipmate-snippets/ruby-rspec/any.snippet | 1 - .../snipmate-snippets/ruby-rspec/atl.snippet | 1 - .../snipmate-snippets/ruby-rspec/atm.snippet | 1 - .../snipmate-snippets/ruby-rspec/bef.snippet | 3 - .../snipmate-snippets/ruby-rspec/conn.snippet | 1 - .../snipmate-snippets/ruby-rspec/des.snippet | 3 - .../snipmate-snippets/ruby-rspec/desc.snippet | 5 - .../ruby-rspec/desrc.snippet | 3 - .../snipmate-snippets/ruby-rspec/dest.snippet | 3 - .../ruby-rspec/dests.snippet | 3 - .../snipmate-snippets/ruby-rspec/ex.snippet | 1 - .../snipmate-snippets/ruby-rspec/isbl.snippet | 1 - .../snipmate-snippets/ruby-rspec/it.snippet | 3 - .../snipmate-snippets/ruby-rspec/its.snippet | 1 - .../snipmate-snippets/ruby-rspec/mat.snippet | 24 - .../snipmate-snippets/ruby-rspec/mm.snippet | 1 - .../snipmate-snippets/ruby-rspec/moc.snippet | 2 - .../snipmate-snippets/ruby-rspec/mocw.snippet | 3 - .../snipmate-snippets/ruby-rspec/on.snippet | 1 - .../snipmate-snippets/ruby-rspec/resh.snippet | 1 - .../snipmate-snippets/ruby-rspec/sef.snippet | 3 - .../snipmate-snippets/ruby-rspec/sh.snippet | 2 - .../snipmate-snippets/ruby-rspec/shb.snippet | 2 - .../snipmate-snippets/ruby-rspec/shbc.snippet | 2 - .../ruby-rspec/shbio.snippet | 2 - .../ruby-rspec/shbko.snippet | 2 - .../snipmate-snippets/ruby-rspec/shbr.snippet | 2 - .../snipmate-snippets/ruby-rspec/shbs.snippet | 2 - .../snipmate-snippets/ruby-rspec/shc.snippet | 3 - .../snipmate-snippets/ruby-rspec/shdm.snippet | 2 - .../snipmate-snippets/ruby-rspec/she.snippet | 2 - .../snipmate-snippets/ruby-rspec/sheq.snippet | 2 - .../snipmate-snippets/ruby-rspec/shh.snippet | 2 - .../ruby-rspec/shhal.snippet | 2 - .../ruby-rspec/shham.snippet | 2 - .../snipmate-snippets/ruby-rspec/shhr.snippet | 2 - .../snipmate-snippets/ruby-rspec/shn.snippet | 2 - .../snipmate-snippets/ruby-rspec/shnb.snippet | 2 - .../ruby-rspec/shnbc.snippet | 2 - .../ruby-rspec/shnbio.snippet | 2 - .../ruby-rspec/shnbko.snippet | 2 - .../ruby-rspec/shnbr.snippet | 2 - .../ruby-rspec/shnbs.snippet | 2 - .../snipmate-snippets/ruby-rspec/shnc.snippet | 3 - .../snipmate-snippets/ruby-rspec/shne.snippet | 2 - .../ruby-rspec/shneq.snippet | 2 - .../snipmate-snippets/ruby-rspec/shnm.snippet | 2 - .../snipmate-snippets/ruby-rspec/shnp.snippet | 1 - .../snipmate-snippets/ruby-rspec/shnr.snippet | 2 - .../ruby-rspec/shnre.snippet | 2 - .../ruby-rspec/shnredt.snippet | 2 - .../ruby-rspec/shnrt.snippet | 2 - .../snipmate-snippets/ruby-rspec/shns.snippet | 2 - .../snipmate-snippets/ruby-rspec/shnt.snippet | 2 - .../snipmate-snippets/ruby-rspec/shp.snippet | 1 - .../snipmate-snippets/ruby-rspec/shr.snippet | 2 - .../snipmate-snippets/ruby-rspec/shre.snippet | 2 - .../ruby-rspec/shredt.snippet | 2 - .../snipmate-snippets/ruby-rspec/shrt.snippet | 2 - .../snipmate-snippets/ruby-rspec/shs.snippet | 2 - .../snipmate-snippets/ruby-rspec/sht.snippet | 2 - .../ruby-rspec/shtemp.snippet | 2 - .../snipmate-snippets/ruby-rspec/tw.snippet | 1 - .../snipmate-snippets/ruby-rspec/wia.snippet | 2 - .../ruby-shoulda/context.snippet | 5 - .../ruby-shoulda/samao.snippet | 1 - .../ruby-shoulda/savf.snippet | 1 - .../ruby-shoulda/sbt.snippet | 1 - .../ruby-shoulda/selal.snippet | 1 - .../ruby-shoulda/seli.snippet | 1 - .../ruby-shoulda/selir.snippet | 1 - .../ruby-shoulda/setup.snippet | 3 - .../ruby-shoulda/sevir.snippet | 1 - .../ruby-shoulda/shabtm.snippet | 1 - .../ruby-shoulda/shcm.snippet | 1 - .../ruby-shoulda/shdc.snippet | 1 - .../ruby-shoulda/shi.snippet | 1 - .../ruby-shoulda/shim.snippet | 1 - .../ruby-shoulda/shm.snippet | 1 - .../ruby-shoulda/sho.snippet | 1 - .../ruby-shoulda/shroa.snippet | 1 - .../ruby-shoulda/snamao.snippet | 1 - .../ruby-shoulda/snavf.snippet | 1 - .../ruby-shoulda/svao.snippet | 1 - .../ruby-shoulda/svno.snippet | 1 - .../ruby-shoulda/svpo.snippet | 1 - .../ruby-shoulda/svuo.snippet | 1 - bundle/snipmate-snippets/ruby/Md.snippet | 1 - bundle/snipmate-snippets/ruby/Ml.snippet | 1 - bundle/snipmate-snippets/ruby/Pn.snippet | 1 - bundle/snipmate-snippets/ruby/Yd.snippet | 1 - bundle/snipmate-snippets/ruby/Yl.snippet | 1 - bundle/snipmate-snippets/ruby/am.snippet | 1 - bundle/snipmate-snippets/ruby/as.snippet | 1 - bundle/snipmate-snippets/ruby/asam.snippet | 1 - bundle/snipmate-snippets/ruby/asb.snippet | 1 - bundle/snipmate-snippets/ruby/asc.snippet | 1 - bundle/snipmate-snippets/ruby/ascd.snippet | 1 - bundle/snipmate-snippets/ruby/ase.snippet | 1 - bundle/snipmate-snippets/ruby/asem.snippet | 1 - bundle/snipmate-snippets/ruby/asf.snippet | 1 - bundle/snipmate-snippets/ruby/asfa.snippet | 1 - bundle/snipmate-snippets/ruby/asi.snippet | 1 - bundle/snipmate-snippets/ruby/asid.snippet | 1 - bundle/snipmate-snippets/ruby/asie.snippet | 1 - bundle/snipmate-snippets/ruby/asio.snippet | 1 - bundle/snipmate-snippets/ruby/asko.snippet | 1 - bundle/snipmate-snippets/ruby/asm.snippet | 1 - bundle/snipmate-snippets/ruby/asn.snippet | 1 - bundle/snipmate-snippets/ruby/asncd.snippet | 1 - bundle/snipmate-snippets/ruby/asne.snippet | 1 - bundle/snipmate-snippets/ruby/asnem.snippet | 1 - bundle/snipmate-snippets/ruby/asni.snippet | 1 - bundle/snipmate-snippets/ruby/asnid.snippet | 1 - bundle/snipmate-snippets/ruby/asnie.snippet | 1 - bundle/snipmate-snippets/ruby/asnm.snippet | 1 - bundle/snipmate-snippets/ruby/asnn.snippet | 1 - bundle/snipmate-snippets/ruby/asnp.snippet | 1 - bundle/snipmate-snippets/ruby/asnr.snippet | 1 - bundle/snipmate-snippets/ruby/asnrt.snippet | 1 - bundle/snipmate-snippets/ruby/asns.snippet | 1 - bundle/snipmate-snippets/ruby/asnse.snippet | 1 - bundle/snipmate-snippets/ruby/asnt.snippet | 1 - bundle/snipmate-snippets/ruby/aso.snippet | 1 - bundle/snipmate-snippets/ruby/asp.snippet | 1 - bundle/snipmate-snippets/ruby/aspe.snippet | 1 - bundle/snipmate-snippets/ruby/aspne.snippet | 1 - bundle/snipmate-snippets/ruby/asr.snippet | 1 - bundle/snipmate-snippets/ruby/asrko.snippet | 1 - bundle/snipmate-snippets/ruby/asrm.snippet | 1 - bundle/snipmate-snippets/ruby/asrt.snippet | 1 - bundle/snipmate-snippets/ruby/asse.snippet | 1 - bundle/snipmate-snippets/ruby/ast.snippet | 1 - bundle/snipmate-snippets/ruby/astr.snippet | 1 - bundle/snipmate-snippets/ruby/bm.snippet | 4 - bundle/snipmate-snippets/ruby/case.snippet | 5 - bundle/snipmate-snippets/ruby/class.snippet | 3 - bundle/snipmate-snippets/ruby/classe.snippet | 1 - bundle/snipmate-snippets/ruby/def.snippet | 3 - bundle/snipmate-snippets/ruby/defi.snippet | 3 - bundle/snipmate-snippets/ruby/defmm.snippet | 3 - bundle/snipmate-snippets/ruby/defs.snippet | 3 - bundle/snipmate-snippets/ruby/deft.snippet | 3 - bundle/snipmate-snippets/ruby/detect.snippet | 1 - bundle/snipmate-snippets/ruby/detecto.snippet | 3 - bundle/snipmate-snippets/ruby/dglob.snippet | 1 - bundle/snipmate-snippets/ruby/do.snippet | 3 - bundle/snipmate-snippets/ruby/dop.snippet | 3 - bundle/snipmate-snippets/ruby/ea.snippet | 1 - bundle/snipmate-snippets/ruby/each.snippet | 1 - .../ruby/each_with_index.snippet | 1 - .../ruby/each_with_indexo.snippet | 4 - bundle/snipmate-snippets/ruby/eacho.snippet | 3 - bundle/snipmate-snippets/ruby/eado.snippet | 3 - bundle/snipmate-snippets/ruby/eawi.snippet | 1 - bundle/snipmate-snippets/ruby/eawido.snippet | 4 - bundle/snipmate-snippets/ruby/elsif.snippet | 2 - .../snipmate-snippets/ruby/fileeach.snippet | 1 - bundle/snipmate-snippets/ruby/fopen.snippet | 1 - bundle/snipmate-snippets/ruby/fread.snippet | 1 - .../snipmate-snippets/ruby/http_get.snippet | 2 - .../snipmate-snippets/ruby/http_post.snippet | 2 - bundle/snipmate-snippets/ruby/if.snippet | 3 - bundle/snipmate-snippets/ruby/ife.snippet | 4 - bundle/snipmate-snippets/ruby/inj.snippet | 1 - bundle/snipmate-snippets/ruby/injdo.snippet | 3 - bundle/snipmate-snippets/ruby/inject.snippet | 1 - bundle/snipmate-snippets/ruby/injecto.snippet | 3 - bundle/snipmate-snippets/ruby/ip.snippet | 1 - bundle/snipmate-snippets/ruby/map.snippet | 1 - bundle/snipmate-snippets/ruby/mapdo.snippet | 3 - bundle/snipmate-snippets/ruby/mapo.snippet | 3 - bundle/snipmate-snippets/ruby/mod.snippet | 3 - bundle/snipmate-snippets/ruby/module.snippet | 14 - bundle/snipmate-snippets/ruby/nam.snippet | 3 - bundle/snipmate-snippets/ruby/ope.snippet | 1 - .../snipmate-snippets/ruby/pathhere.snippet | 1 - bundle/snipmate-snippets/ruby/r.snippet | 1 - bundle/snipmate-snippets/ruby/reject.snippet | 1 - bundle/snipmate-snippets/ruby/rejecto.snippet | 3 - bundle/snipmate-snippets/ruby/rep.snippet | 1 - bundle/snipmate-snippets/ruby/rw.snippet | 1 - bundle/snipmate-snippets/ruby/select.snippet | 1 - bundle/snipmate-snippets/ruby/selecto.snippet | 3 - bundle/snipmate-snippets/ruby/sinc.snippet | 1 - bundle/snipmate-snippets/ruby/sort.snippet | 1 - bundle/snipmate-snippets/ruby/sorto.snippet | 3 - bundle/snipmate-snippets/ruby/tas.snippet | 4 - bundle/snipmate-snippets/ruby/task.snippet | 4 - bundle/snipmate-snippets/ruby/tc.snippet | 9 - bundle/snipmate-snippets/ruby/unless.snippet | 3 - bundle/snipmate-snippets/ruby/unlesse.snippet | 4 - bundle/snipmate-snippets/ruby/w.snippet | 1 - bundle/snipmate-snippets/ruby/while.snippet | 3 - bundle/snipmate-snippets/ruby/xmlr.snippet | 1 - bundle/snipmate-snippets/ruby/xpa.snippet | 3 - bundle/snipmate-snippets/ruby/zip.snippet | 1 - bundle/snipmate-snippets/sinatra/get.snippet | 3 - .../snipmate-snippets/sshconfig/host.snippet | 3 - .../snipmate-snippets/support_functions.vim | 115 -- bundle/snipmate-snippets/vim/au.snippet | 1 - bundle/snipmate-snippets/vim/com.snippet | 1 - bundle/snipmate-snippets/vim/func.snippet | 8 - bundle/snipmate-snippets/vim/if.snippet | 3 - bundle/snipmate-snippets/vim/ife.snippet | 4 - bundle/snipmate-snippets/vim/log.snippet | 1 - bundle/snipmate-snippets/vim/try.snippet | 4 - bundle/snipmate-snippets/xslt/call.snippet | 3 - bundle/snipmate-snippets/xslt/choose.snippet | 7 - bundle/snipmate-snippets/xslt/mat.snippet | 3 - bundle/snipmate-snippets/xslt/out.snippet | 1 - bundle/snipmate-snippets/xslt/param.snippet | 1 - bundle/snipmate-snippets/xslt/sty.snippet | 3 - bundle/snipmate-snippets/xslt/tem.snippet | 3 - bundle/snipmate-snippets/xslt/value.snippet | 1 - bundle/snipmate-snippets/xslt/var.snippet | 3 - bundle/snipmate-snippets/xslt/wparam.snippet | 1 - bundle/snipmate-snippets/xslt/xdec.snippet | 2 - bundle/snipmate-snippets/zend/assert.snippet | 1 - bundle/snipmate-snippets/zend/boolcol.snippet | 1 - bundle/snipmate-snippets/zend/clac.snippet | 20 - bundle/snipmate-snippets/zend/flash.snippet | 1 - bundle/snipmate-snippets/zend/getconf.snippet | 1 - bundle/snipmate-snippets/zend/input.snippet | 4 - .../snipmate-snippets/zend/inputarr.snippet | 6 - bundle/snipmate-snippets/zend/intcol.snippet | 1 - bundle/snipmate-snippets/zend/lib.snippet | 5 - bundle/snipmate-snippets/zend/model.snippet | 32 - bundle/snipmate-snippets/zend/navi.snippet | 1 - bundle/snipmate-snippets/zend/route.snippet | 1 - bundle/snipmate-snippets/zend/rp.snippet | 2 - bundle/snipmate-snippets/zend/strcol.snippet | 1 - bundle/vim-snipmate/.gitignore | 3 - bundle/vim-snipmate/Contributors.md | 44 - bundle/vim-snipmate/README.md | 108 -- bundle/vim-snipmate/addon-info.json | 12 - bundle/vim-snipmate/after/plugin/snipMate.vim | 46 - bundle/vim-snipmate/autoload/snipMate.vim | 850 --------------- .../autoload/snipMate_python_demo.vim | 47 - bundle/vim-snipmate/doc/snipMate.txt | 515 --------- .../ftplugin/html_snip_helper.vim | 10 - bundle/vim-snipmate/ftplugin/snippet.vim | 8 - bundle/vim-snipmate/ftplugin/snippets.vim | 1 - bundle/vim-snipmate/plugin/snipMate.vim | 129 --- .../vim-snipmate/plugin/snipMateInterface.vim | 2 - bundle/vim-snipmate/syntax/snippet.vim | 11 - bundle/vim-snipmate/syntax/snippets.vim | 23 - bundle/vim-snippets/LICENSE | 20 - bundle/vim-snippets/README.md | 228 ---- bundle/vim-snippets/UltiSnips/README | 17 - bundle/vim-snippets/UltiSnips/all.snippets | 133 --- bundle/vim-snippets/UltiSnips/bib.snippets | 52 - .../vim-snippets/UltiSnips/bindzone.snippets | 29 - bundle/vim-snippets/UltiSnips/c.snippets | 154 --- bundle/vim-snippets/UltiSnips/coffee.snippets | 96 -- .../UltiSnips/coffee_jasmine.snippets | 166 --- bundle/vim-snippets/UltiSnips/cpp.snippets | 57 - bundle/vim-snippets/UltiSnips/cs.snippets | 328 ------ bundle/vim-snippets/UltiSnips/css.snippets | 407 -------- bundle/vim-snippets/UltiSnips/d.snippets | 584 ----------- bundle/vim-snippets/UltiSnips/django.snippets | 238 ----- bundle/vim-snippets/UltiSnips/elixir.snippets | 168 --- bundle/vim-snippets/UltiSnips/erlang.snippets | 100 -- bundle/vim-snippets/UltiSnips/eruby.snippets | 290 ----- bundle/vim-snippets/UltiSnips/go.snippets | 137 --- .../vim-snippets/UltiSnips/haskell.snippets | 63 -- bundle/vim-snippets/UltiSnips/help.snippets | 37 - bundle/vim-snippets/UltiSnips/html.snippets | 306 ------ .../UltiSnips/html_minimal.snippets | 33 - .../UltiSnips/htmldjango.snippets | 3 - .../vim-snippets/UltiSnips/htmljinja.snippets | 3 - bundle/vim-snippets/UltiSnips/java.snippets | 436 -------- .../UltiSnips/javascript.snippets | 174 --- .../UltiSnips/javascript_ember.snippets | 90 -- .../UltiSnips/javascript_jasmine.snippets | 171 --- .../UltiSnips/javascript_jsdoc.snippets | 51 - bundle/vim-snippets/UltiSnips/jinja2.snippets | 209 ---- bundle/vim-snippets/UltiSnips/json.snippets | 20 - bundle/vim-snippets/UltiSnips/ledger.snippets | 7 - .../vim-snippets/UltiSnips/lhaskell.snippets | 3 - bundle/vim-snippets/UltiSnips/lua.snippets | 39 - bundle/vim-snippets/UltiSnips/mako.snippets | 92 -- .../vim-snippets/UltiSnips/markdown.snippets | 53 - bundle/vim-snippets/UltiSnips/objc.snippets | 272 ----- bundle/vim-snippets/UltiSnips/ocaml.snippets | 174 --- bundle/vim-snippets/UltiSnips/perl.snippets | 139 --- bundle/vim-snippets/UltiSnips/php.snippets | 270 ----- .../UltiSnips/php_phpunit.snippets | 32 - .../UltiSnips/php_symfony2.snippets | 283 ----- bundle/vim-snippets/UltiSnips/puppet.snippets | 235 ----- bundle/vim-snippets/UltiSnips/python.snippets | 586 ----------- bundle/vim-snippets/UltiSnips/rails.snippets | 904 ---------------- bundle/vim-snippets/UltiSnips/rst.snippets | 293 ------ bundle/vim-snippets/UltiSnips/ruby.snippets | 570 ---------- bundle/vim-snippets/UltiSnips/scss.snippets | 57 - bundle/vim-snippets/UltiSnips/sh.snippets | 92 -- .../vim-snippets/UltiSnips/snippets.snippets | 21 - bundle/vim-snippets/UltiSnips/tcl.snippets | 52 - bundle/vim-snippets/UltiSnips/tex.snippets | 110 -- .../vim-snippets/UltiSnips/texmath.snippets | 56 - bundle/vim-snippets/UltiSnips/twig.snippets | 35 - bundle/vim-snippets/UltiSnips/vim.snippets | 24 - bundle/vim-snippets/UltiSnips/xhtml.snippets | 3 - bundle/vim-snippets/UltiSnips/xml.snippets | 16 - bundle/vim-snippets/UltiSnips/zsh.snippets | 17 - bundle/vim-snippets/addon-info.json | 9 - bundle/vim-snippets/autoload/vim_snippets.vim | 27 - bundle/vim-snippets/snippets/_.snippets | 259 ----- .../snippets/actionscript.snippets | 157 --- bundle/vim-snippets/snippets/apache.snippets | 35 - bundle/vim-snippets/snippets/autoit.snippets | 66 -- bundle/vim-snippets/snippets/c.snippets | 237 ----- bundle/vim-snippets/snippets/chef.snippets | 204 ---- bundle/vim-snippets/snippets/clojure.snippets | 90 -- bundle/vim-snippets/snippets/cmake.snippets | 58 - .../snippets/coffee/angular_coffee.snippets | 116 -- .../snippets/coffee/coffee.snippets | 101 -- .../snippets/coffee/jquery_coffee.snippets | 524 ---------- bundle/vim-snippets/snippets/cpp.snippets | 131 --- bundle/vim-snippets/snippets/cs.snippets | 374 ------- bundle/vim-snippets/snippets/css.snippets | 987 ------------------ bundle/vim-snippets/snippets/dart.snippets | 82 -- bundle/vim-snippets/snippets/diff.snippets | 11 - bundle/vim-snippets/snippets/django.snippets | 112 -- bundle/vim-snippets/snippets/dosini.snippets | 12 - bundle/vim-snippets/snippets/elixir.snippets | 103 -- bundle/vim-snippets/snippets/erlang.snippets | 671 ------------ bundle/vim-snippets/snippets/eruby.snippets | 129 --- bundle/vim-snippets/snippets/falcon.snippets | 71 -- bundle/vim-snippets/snippets/go.snippets | 244 ----- bundle/vim-snippets/snippets/haml.snippets | 37 - bundle/vim-snippets/snippets/haskell.snippets | 84 -- bundle/vim-snippets/snippets/html.snippets | 871 ---------------- .../snippets/html_minimal.snippets | 72 -- .../vim-snippets/snippets/htmldjango.snippets | 141 --- .../snippets/htmltornado.snippets | 55 - bundle/vim-snippets/snippets/java.snippets | 285 ----- .../javascript/javascript-jquery.snippets | 589 ----------- .../javascript/javascript.d3.snippets | 30 - .../snippets/javascript/javascript.snippets | 207 ---- bundle/vim-snippets/snippets/jsp.snippets | 99 -- bundle/vim-snippets/snippets/ledger.snippets | 5 - bundle/vim-snippets/snippets/ls.snippets | 108 -- bundle/vim-snippets/snippets/lua.snippets | 21 - bundle/vim-snippets/snippets/make.snippets | 4 - bundle/vim-snippets/snippets/mako.snippets | 54 - .../vim-snippets/snippets/markdown.snippets | 87 -- bundle/vim-snippets/snippets/objc.snippets | 247 ----- .../vim-snippets/snippets/openfoam.snippets | 53 - bundle/vim-snippets/snippets/perl.snippets | 359 ------- bundle/vim-snippets/snippets/php.snippets | 604 ----------- bundle/vim-snippets/snippets/plsql.snippets | 109 -- bundle/vim-snippets/snippets/po.snippets | 5 - .../vim-snippets/snippets/processing.snippets | 705 ------------- .../vim-snippets/snippets/progress.snippets | 58 - bundle/vim-snippets/snippets/puppet.snippets | 244 ----- bundle/vim-snippets/snippets/python.snippets | 210 ---- bundle/vim-snippets/snippets/r.snippets | 131 --- bundle/vim-snippets/snippets/rst.snippets | 69 -- bundle/vim-snippets/snippets/ruby.snippets | 715 ------------- bundle/vim-snippets/snippets/scala.snippets | 354 ------- bundle/vim-snippets/snippets/sh.snippets | 92 -- bundle/vim-snippets/snippets/slim.snippets | 64 -- .../vim-snippets/snippets/snippets.snippets | 9 - bundle/vim-snippets/snippets/sql.snippets | 26 - bundle/vim-snippets/snippets/tcl.snippets | 96 -- bundle/vim-snippets/snippets/tex.snippets | 282 ----- bundle/vim-snippets/snippets/textile.snippets | 30 - bundle/vim-snippets/snippets/vim.snippets | 52 - bundle/vim-snippets/snippets/xslt.snippets | 97 -- .../vim-snippets/snippets/yii-chtml.snippets | 248 ----- bundle/vim-snippets/snippets/yii.snippets | 300 ------ bundle/vim-snippets/snippets/zsh.snippets | 66 -- 935 files changed, 25734 deletions(-) delete mode 100644 bundle/snipmate-snippets/.gitignore delete mode 100644 bundle/snipmate-snippets/Rakefile delete mode 100644 bundle/snipmate-snippets/_/date/date + time.snippet delete mode 100644 bundle/snipmate-snippets/_/date/date.snippet delete mode 100644 bundle/snipmate-snippets/_/lorem.snippet delete mode 100644 bundle/snipmate-snippets/_/modeline.snippet delete mode 100644 bundle/snipmate-snippets/ant/skel/basic.snippet delete mode 100644 bundle/snipmate-snippets/c/cl.snippet delete mode 100644 bundle/snipmate-snippets/c/def.snippet delete mode 100644 bundle/snipmate-snippets/c/do.snippet delete mode 100644 bundle/snipmate-snippets/c/el.snippet delete mode 100644 bundle/snipmate-snippets/c/for.snippet delete mode 100644 bundle/snipmate-snippets/c/forr.snippet delete mode 100644 bundle/snipmate-snippets/c/fpf.snippet delete mode 100644 bundle/snipmate-snippets/c/fun.snippet delete mode 100644 bundle/snipmate-snippets/c/if.snippet delete mode 100644 bundle/snipmate-snippets/c/inc/inc.snippet delete mode 100644 bundle/snipmate-snippets/c/inc/inc_global.snippet delete mode 100644 bundle/snipmate-snippets/c/main.snippet delete mode 100644 bundle/snipmate-snippets/c/map.snippet delete mode 100644 bundle/snipmate-snippets/c/ns.snippet delete mode 100644 bundle/snipmate-snippets/c/once.snippet delete mode 100644 bundle/snipmate-snippets/c/pr.snippet delete mode 100644 bundle/snipmate-snippets/c/readfile.snippet delete mode 100644 bundle/snipmate-snippets/c/st.snippet delete mode 100644 bundle/snipmate-snippets/c/t.snippet delete mode 100644 bundle/snipmate-snippets/c/td.snippet delete mode 100644 bundle/snipmate-snippets/c/tds.snippet delete mode 100644 bundle/snipmate-snippets/c/vector.snippet delete mode 100644 bundle/snipmate-snippets/c/wh.snippet delete mode 100644 bundle/snipmate-snippets/css/#.snippet delete mode 100644 bundle/snipmate-snippets/css/background/all.snippet delete mode 100644 bundle/snipmate-snippets/css/background/attachment.snippet delete mode 100644 bundle/snipmate-snippets/css/background/color.snippet delete mode 100644 bundle/snipmate-snippets/css/background/color_name.snippet delete mode 100644 bundle/snipmate-snippets/css/background/color_rgb.snippet delete mode 100644 bundle/snipmate-snippets/css/background/color_transparent.snippet delete mode 100644 bundle/snipmate-snippets/css/background/image_none.snippet delete mode 100644 bundle/snipmate-snippets/css/background/image_url.snippet delete mode 100644 bundle/snipmate-snippets/css/background/position.snippet delete mode 100644 bundle/snipmate-snippets/css/background/repeat.snippet delete mode 100644 bundle/snipmate-snippets/css/border/basic.snippet delete mode 100644 bundle/snipmate-snippets/css/border/color.snippet delete mode 100644 bundle/snipmate-snippets/css/border/style.snippet delete mode 100644 bundle/snipmate-snippets/css/border/width.snippet delete mode 100644 bundle/snipmate-snippets/css/borderb/basic.snippet delete mode 100644 bundle/snipmate-snippets/css/borderb/color.snippet delete mode 100644 bundle/snipmate-snippets/css/borderb/style.snippet delete mode 100644 bundle/snipmate-snippets/css/borderb/width.snippet delete mode 100644 bundle/snipmate-snippets/css/borderl/basic.snippet delete mode 100644 bundle/snipmate-snippets/css/borderl/color.snippet delete mode 100644 bundle/snipmate-snippets/css/borderl/style.snippet delete mode 100644 bundle/snipmate-snippets/css/borderl/width.snippet delete mode 100644 bundle/snipmate-snippets/css/borderr/basic.snippet delete mode 100644 bundle/snipmate-snippets/css/borderr/color.snippet delete mode 100644 bundle/snipmate-snippets/css/borderr/style.snippet delete mode 100644 bundle/snipmate-snippets/css/borderr/width.snippet delete mode 100644 bundle/snipmate-snippets/css/bordert/basic.snippet delete mode 100644 bundle/snipmate-snippets/css/bordert/color.snippet delete mode 100644 bundle/snipmate-snippets/css/bordert/style.snippet delete mode 100644 bundle/snipmate-snippets/css/bordert/width.snippet delete mode 100644 bundle/snipmate-snippets/css/cl.snippet delete mode 100644 bundle/snipmate-snippets/css/clear.snippet delete mode 100644 bundle/snipmate-snippets/css/color.snippet delete mode 100644 bundle/snipmate-snippets/css/colorn.snippet delete mode 100644 bundle/snipmate-snippets/css/colorr.snippet delete mode 100644 bundle/snipmate-snippets/css/cursor.snippet delete mode 100644 bundle/snipmate-snippets/css/cursuru.snippet delete mode 100644 bundle/snipmate-snippets/css/direction.snippet delete mode 100644 bundle/snipmate-snippets/css/display/block.snippet delete mode 100644 bundle/snipmate-snippets/css/display/common.snippet delete mode 100644 bundle/snipmate-snippets/css/display/inline.snippet delete mode 100644 bundle/snipmate-snippets/css/display/table.snippet delete mode 100644 bundle/snipmate-snippets/css/float.snippet delete mode 100644 bundle/snipmate-snippets/css/font/all.snippet delete mode 100644 bundle/snipmate-snippets/css/font/family.snippet delete mode 100644 bundle/snipmate-snippets/css/font/size.snippet delete mode 100644 bundle/snipmate-snippets/css/font/size_font.snippet delete mode 100644 bundle/snipmate-snippets/css/font/style.snippet delete mode 100644 bundle/snipmate-snippets/css/font/variant.snippet delete mode 100644 bundle/snipmate-snippets/css/font/weight.snippet delete mode 100644 bundle/snipmate-snippets/css/i.snippet delete mode 100644 bundle/snipmate-snippets/css/letter.snippet delete mode 100644 bundle/snipmate-snippets/css/letterem.snippet delete mode 100644 bundle/snipmate-snippets/css/letterpx.snippet delete mode 100644 bundle/snipmate-snippets/css/list-style/image.snippet delete mode 100644 bundle/snipmate-snippets/css/list-style/position.snippet delete mode 100644 bundle/snipmate-snippets/css/list-style/type_asian.snippet delete mode 100644 bundle/snipmate-snippets/css/list-style/type_marker.snippet delete mode 100644 bundle/snipmate-snippets/css/list-style/type_numeric.snippet delete mode 100644 bundle/snipmate-snippets/css/list-style/type_other.snippet delete mode 100644 bundle/snipmate-snippets/css/list-style/type_position_image.snippet delete mode 100644 bundle/snipmate-snippets/css/list-style/type_roman_alpha_greek.snippet delete mode 100644 bundle/snipmate-snippets/css/margin.snippet delete mode 100644 bundle/snipmate-snippets/css/marginb.snippet delete mode 100644 bundle/snipmate-snippets/css/marginl.snippet delete mode 100644 bundle/snipmate-snippets/css/margino/T_R_B_L.snippet delete mode 100644 bundle/snipmate-snippets/css/margino/V_H.snippet delete mode 100644 bundle/snipmate-snippets/css/margino/all.snippet delete mode 100644 bundle/snipmate-snippets/css/margino/bottom.snippet delete mode 100644 bundle/snipmate-snippets/css/margino/left.snippet delete mode 100644 bundle/snipmate-snippets/css/margino/right.snippet delete mode 100644 bundle/snipmate-snippets/css/margino/top.snippet delete mode 100644 bundle/snipmate-snippets/css/marginr.snippet delete mode 100644 bundle/snipmate-snippets/css/margint.snippet delete mode 100644 bundle/snipmate-snippets/css/marker/offset_auto.snippet delete mode 100644 bundle/snipmate-snippets/css/marker/offset_length.snippet delete mode 100644 bundle/snipmate-snippets/css/opacity.snippet delete mode 100644 bundle/snipmate-snippets/css/overflow.snippet delete mode 100644 bundle/snipmate-snippets/css/padding.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingb.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingl.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingo/T_R_B_L.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingo/V_H.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingo/all.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingo/bottom.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingo/left.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingo/right.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingo/top.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingr.snippet delete mode 100644 bundle/snipmate-snippets/css/paddingt.snippet delete mode 100644 bundle/snipmate-snippets/css/position.snippet delete mode 100644 bundle/snipmate-snippets/css/scrollbar.snippet delete mode 100644 bundle/snipmate-snippets/css/tag.snippet delete mode 100644 bundle/snipmate-snippets/css/text/align.snippet delete mode 100644 bundle/snipmate-snippets/css/text/decoration.snippet delete mode 100644 bundle/snipmate-snippets/css/text/indent.snippet delete mode 100644 bundle/snipmate-snippets/css/text/shadow_hex.snippet delete mode 100644 bundle/snipmate-snippets/css/text/shadow_none.snippet delete mode 100644 bundle/snipmate-snippets/css/text/shadow_rgb.snippet delete mode 100644 bundle/snipmate-snippets/css/text/transform.snippet delete mode 100644 bundle/snipmate-snippets/css/text/transform_none.snippet delete mode 100644 bundle/snipmate-snippets/css/vertical.snippet delete mode 100644 bundle/snipmate-snippets/css/visibility.snippet delete mode 100644 bundle/snipmate-snippets/css/white.snippet delete mode 100644 bundle/snipmate-snippets/css/word/spacing_length.snippet delete mode 100644 bundle/snipmate-snippets/css/word/spacing_normal.snippet delete mode 100644 bundle/snipmate-snippets/css/z.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/conf.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/cs.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ct.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/end.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ff.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffcb.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffe.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffff.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffhf.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffl.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffpf.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffrb.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffs.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ffta.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/fftf.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/fields.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/for.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ft.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/i18.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/it.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/jit.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/jsit.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/lia.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/liai.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/lic.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/lica.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/licai.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/lim.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/linp.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/linpp.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/lip.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/lipp.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/lt.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/ofcfs.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/rf.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/rp.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/rt.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/slt.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/sslt.snippet delete mode 100644 bundle/snipmate-snippets/eruby-rails/st.snippet delete mode 100644 bundle/snipmate-snippets/eruby/if.snippet delete mode 100644 bundle/snipmate-snippets/eruby/ife.snippet delete mode 100644 bundle/snipmate-snippets/eruby/unless.snippet delete mode 100644 bundle/snipmate-snippets/eruby/unlesse.snippet delete mode 100644 bundle/snipmate-snippets/haml/conf.snippet delete mode 100644 bundle/snipmate-snippets/haml/cs.snippet delete mode 100644 bundle/snipmate-snippets/haml/ff.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffcb.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffe.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffff.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffhf.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffl.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffpf.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffrb.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffs.snippet delete mode 100644 bundle/snipmate-snippets/haml/ffta.snippet delete mode 100644 bundle/snipmate-snippets/haml/fftf.snippet delete mode 100644 bundle/snipmate-snippets/haml/fields.snippet delete mode 100644 bundle/snipmate-snippets/haml/for.snippet delete mode 100644 bundle/snipmate-snippets/haml/ft.snippet delete mode 100644 bundle/snipmate-snippets/haml/if.snippet delete mode 100644 bundle/snipmate-snippets/haml/ife.snippet delete mode 100644 bundle/snipmate-snippets/haml/it.snippet delete mode 100644 bundle/snipmate-snippets/haml/jit.snippet delete mode 100644 bundle/snipmate-snippets/haml/jsit.snippet delete mode 100644 bundle/snipmate-snippets/haml/lia.snippet delete mode 100644 bundle/snipmate-snippets/haml/liai.snippet delete mode 100644 bundle/snipmate-snippets/haml/lic.snippet delete mode 100644 bundle/snipmate-snippets/haml/lica.snippet delete mode 100644 bundle/snipmate-snippets/haml/licai.snippet delete mode 100644 bundle/snipmate-snippets/haml/lim.snippet delete mode 100644 bundle/snipmate-snippets/haml/linp.snippet delete mode 100644 bundle/snipmate-snippets/haml/linpp.snippet delete mode 100644 bundle/snipmate-snippets/haml/lip.snippet delete mode 100644 bundle/snipmate-snippets/haml/lipp.snippet delete mode 100644 bundle/snipmate-snippets/haml/lt.snippet delete mode 100644 bundle/snipmate-snippets/haml/ofcfs.snippet delete mode 100644 bundle/snipmate-snippets/haml/rf.snippet delete mode 100644 bundle/snipmate-snippets/haml/rp.snippet delete mode 100644 bundle/snipmate-snippets/haml/rt.snippet delete mode 100644 bundle/snipmate-snippets/haml/slt.snippet delete mode 100644 bundle/snipmate-snippets/haml/sslt.snippet delete mode 100644 bundle/snipmate-snippets/haml/st.snippet delete mode 100644 bundle/snipmate-snippets/haml/unless.snippet delete mode 100644 bundle/snipmate-snippets/haml/unlesse.snippet delete mode 100644 bundle/snipmate-snippets/html/base.snippet delete mode 100644 bundle/snipmate-snippets/html/body.snippet delete mode 100644 bundle/snipmate-snippets/html/div.snippet delete mode 100644 bundle/snipmate-snippets/html/doctype.snippet delete mode 100644 bundle/snipmate-snippets/html/form.snippet delete mode 100644 bundle/snipmate-snippets/html/h1.snippet delete mode 100644 bundle/snipmate-snippets/html/head.snippet delete mode 100644 bundle/snipmate-snippets/html/href.snippet delete mode 100644 bundle/snipmate-snippets/html/ifie.snippet delete mode 100644 bundle/snipmate-snippets/html/img.snippet delete mode 100644 bundle/snipmate-snippets/html/input.snippet delete mode 100644 bundle/snipmate-snippets/html/inputl.snippet delete mode 100644 bundle/snipmate-snippets/html/label.snippet delete mode 100644 bundle/snipmate-snippets/html/link.snippet delete mode 100644 bundle/snipmate-snippets/html/mailto.snippet delete mode 100644 bundle/snipmate-snippets/html/meta.snippet delete mode 100644 bundle/snipmate-snippets/html/option.snippet delete mode 100644 bundle/snipmate-snippets/html/script/include_script.snippet delete mode 100644 bundle/snipmate-snippets/html/script/inline_script.snippet delete mode 100644 bundle/snipmate-snippets/html/select.snippet delete mode 100644 bundle/snipmate-snippets/html/skel/basic.snippet delete mode 100644 bundle/snipmate-snippets/html/skel/basic_with_meta.snippet delete mode 100644 bundle/snipmate-snippets/html/style.snippet delete mode 100644 bundle/snipmate-snippets/html/t.snippet delete mode 100644 bundle/snipmate-snippets/html/table/basic.snippet delete mode 100644 bundle/snipmate-snippets/html/table/hardcore.snippet delete mode 100644 bundle/snipmate-snippets/html/textarea.snippet delete mode 100644 bundle/snipmate-snippets/java/class/basic+constructor+main.snippet delete mode 100644 bundle/snipmate-snippets/java/class/basic+constructor.snippet delete mode 100644 bundle/snipmate-snippets/java/class/basic.snippet delete mode 100644 bundle/snipmate-snippets/java/for.snippet delete mode 100644 bundle/snipmate-snippets/java/gs.snippet delete mode 100644 bundle/snipmate-snippets/java/if.snippet delete mode 100644 bundle/snipmate-snippets/java/ife.snippet delete mode 100644 bundle/snipmate-snippets/java/log.snippet delete mode 100644 bundle/snipmate-snippets/java/m.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/add.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/addClass.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/after.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajax.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxerror.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxget.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxgetif.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxpost.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxsend.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxsetup.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxstart.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxstop.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ajaxsuccess.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/animate.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/append.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/appendTo.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/attr.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/attrm.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/before.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/bind.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/blur.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/change.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/children.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/click.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/clone.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/contains.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/css.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/cssm.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/dblclick.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/each.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/el.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/eltrim.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/end.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/error.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/fadein.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/fadeinc.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/fadeout.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/fadeoutc.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/fadeto.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/fadetoc.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/filter.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/find.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/focus.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/get.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/getjson.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/getscript.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/height.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/hide.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/hidec.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/hover.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/html.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/insertAfter.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/insertBefore.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/is.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/load.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/loadf.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/loadif.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/mdown.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/mmove.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/mout.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/mover.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/mup.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/next.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/not.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/one.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/parent.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/parents.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/prepend.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/prependto.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/prev.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/ready.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/remove.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/removeattr.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/removeclass.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/reset.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/resize.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/scroll.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/sdown.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/sdownc.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/sdupc.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/select.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/show.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/showc.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/sib.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/size.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/stoggle.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/submit.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/sup.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/text.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/this.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/tog.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/togclass.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/togsh.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/trig.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/unbind.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/val.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/width.snippet delete mode 100644 bundle/snipmate-snippets/javascript-jquery/wrap.snippet delete mode 100644 bundle/snipmate-snippets/javascript/anon.snippet delete mode 100644 bundle/snipmate-snippets/javascript/for.snippet delete mode 100644 bundle/snipmate-snippets/javascript/fun.snippet delete mode 100644 bundle/snipmate-snippets/javascript/if.snippet delete mode 100644 bundle/snipmate-snippets/javascript/ife.snippet delete mode 100644 bundle/snipmate-snippets/javascript/log.snippet delete mode 100644 bundle/snipmate-snippets/javascript/met.snippet delete mode 100644 bundle/snipmate-snippets/javascript/proto.snippet delete mode 100644 bundle/snipmate-snippets/javascript/timeout.snippet delete mode 100644 bundle/snipmate-snippets/objc/I.snippet delete mode 100644 bundle/snipmate-snippets/objc/Imp.snippet delete mode 100644 bundle/snipmate-snippets/objc/alloc.snippet delete mode 100644 bundle/snipmate-snippets/objc/array.snippet delete mode 100644 bundle/snipmate-snippets/objc/bez.snippet delete mode 100644 bundle/snipmate-snippets/objc/cat.snippet delete mode 100644 bundle/snipmate-snippets/objc/cati.snippet delete mode 100644 bundle/snipmate-snippets/objc/cli.snippet delete mode 100644 bundle/snipmate-snippets/objc/dict.snippet delete mode 100644 bundle/snipmate-snippets/objc/forarray.snippet delete mode 100644 bundle/snipmate-snippets/objc/log.snippet delete mode 100644 bundle/snipmate-snippets/objc/m/class method.snippet delete mode 100644 bundle/snipmate-snippets/objc/m/method.snippet delete mode 100644 bundle/snipmate-snippets/objc/objacc.snippet delete mode 100644 bundle/snipmate-snippets/objc/objc.snippet delete mode 100644 bundle/snipmate-snippets/objc/prop.snippet delete mode 100644 bundle/snipmate-snippets/objc/rel.snippet delete mode 100644 bundle/snipmate-snippets/objc/ret.snippet delete mode 100644 bundle/snipmate-snippets/objc/sel.snippet delete mode 100644 bundle/snipmate-snippets/objc/sm.snippet delete mode 100644 bundle/snipmate-snippets/objc/syn.snippet delete mode 100644 bundle/snipmate-snippets/php/array.snippet delete mode 100644 bundle/snipmate-snippets/php/case.snippet delete mode 100644 bundle/snipmate-snippets/php/class.snippet delete mode 100644 bundle/snipmate-snippets/php/classe.snippet delete mode 100644 bundle/snipmate-snippets/php/def.snippet delete mode 100644 bundle/snipmate-snippets/php/defd.snippet delete mode 100644 bundle/snipmate-snippets/php/do.snippet delete mode 100644 bundle/snipmate-snippets/php/doc_cp.snippet delete mode 100644 bundle/snipmate-snippets/php/doc_f.snippet delete mode 100644 bundle/snipmate-snippets/php/doc_h.snippet delete mode 100644 bundle/snipmate-snippets/php/doc_i.snippet delete mode 100644 bundle/snipmate-snippets/php/ec.snippet delete mode 100644 bundle/snipmate-snippets/php/else.snippet delete mode 100644 bundle/snipmate-snippets/php/elseif.snippet delete mode 100644 bundle/snipmate-snippets/php/for.snippet delete mode 100644 bundle/snipmate-snippets/php/foreach.snippet delete mode 100644 bundle/snipmate-snippets/php/foreachk.snippet delete mode 100644 bundle/snipmate-snippets/php/fun.snippet delete mode 100644 bundle/snipmate-snippets/php/get.snippet delete mode 100644 bundle/snipmate-snippets/php/globals.snippet delete mode 100644 bundle/snipmate-snippets/php/if.snippet delete mode 100644 bundle/snipmate-snippets/php/ife.snippet delete mode 100644 bundle/snipmate-snippets/php/inc.snippet delete mode 100644 bundle/snipmate-snippets/php/inc1.snippet delete mode 100644 bundle/snipmate-snippets/php/log.snippet delete mode 100644 bundle/snipmate-snippets/php/php.snippet delete mode 100644 bundle/snipmate-snippets/php/post.snippet delete mode 100644 bundle/snipmate-snippets/php/req.snippet delete mode 100644 bundle/snipmate-snippets/php/req1.snippet delete mode 100644 bundle/snipmate-snippets/php/request.snippet delete mode 100644 bundle/snipmate-snippets/php/session.snippet delete mode 100644 bundle/snipmate-snippets/php/switch.snippet delete mode 100644 bundle/snipmate-snippets/php/t.snippet delete mode 100644 bundle/snipmate-snippets/php/try.snippet delete mode 100644 bundle/snipmate-snippets/php/var.snippet delete mode 100644 bundle/snipmate-snippets/php/wh.snippet delete mode 100644 bundle/snipmate-snippets/po/msg.snippet delete mode 100644 bundle/snipmate-snippets/python/class.snippet delete mode 100644 bundle/snipmate-snippets/python/def.snippet delete mode 100644 bundle/snipmate-snippets/python/for.snippet delete mode 100644 bundle/snipmate-snippets/python/from.snippet delete mode 100644 bundle/snipmate-snippets/python/get.snippet delete mode 100644 bundle/snipmate-snippets/python/ifmain.snippet delete mode 100644 bundle/snipmate-snippets/python/import.snippet delete mode 100644 bundle/snipmate-snippets/python/init.snippet delete mode 100644 bundle/snipmate-snippets/python/set.snippet delete mode 100644 bundle/snipmate-snippets/python/try.snippet delete mode 100644 bundle/snipmate-snippets/ruby-factorygirl/fac.snippet delete mode 100644 bundle/snipmate-snippets/ruby-factorygirl/facb.snippet delete mode 100644 bundle/snipmate-snippets/ruby-factorygirl/facd.snippet delete mode 100644 bundle/snipmate-snippets/ruby-factorygirl/facn.snippet delete mode 100644 bundle/snipmate-snippets/ruby-factorygirl/facs.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/art.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/artnp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/artnpp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/artp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/artpp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/asd.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/asnd.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/asre.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/asrj.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ass.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/bf.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/bt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/crw.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/defcreate.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/defdestroy.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/defedit.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/defindex.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/defnew.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/defshow.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/defupdate.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/fina.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/finf.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/fini.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/finl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/flash.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/habtm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/hm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/hmd.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/hmt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ho.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/i18.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ist.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/log.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/logd.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/loge.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/logf.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/logi.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/logw.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mac.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mapc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mapca.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mapr.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/maprs.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mapwo.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mbs.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mcc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mccc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mcht.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mcol.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mct.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/migration.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mrc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mrmc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mrnc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/mrw.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/nc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ncl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/pa.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ra.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ral.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rest.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rf.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rfu.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ri.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ril.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rit.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rjson.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rn.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rns.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rpc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rpl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rpo.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rps.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rtl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rtlt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rts.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ru.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/rxml.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/sha1.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/sweeper.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcb.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcbi.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcd.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcda.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcdt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcf.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tch.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tci.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcr.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcs.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tct.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcti.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tcts.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tctss.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/trc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tre.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/tref.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/va.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/vao.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/vc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/ve.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/vf.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/vi.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/vl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/vn.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/vpo.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/vu.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/wants.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/xdelete.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/xget.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/xpost.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rails/xput.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/aft.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/annot.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/anr.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/anra.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/anrb.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/ant.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/any.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/atl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/atm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/bef.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/conn.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/des.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/desc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/desrc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/dest.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/dests.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/ex.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/isbl.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/it.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/its.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/mat.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/mm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/moc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/mocw.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/on.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/resh.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/sef.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/sh.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shb.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shbc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shbio.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shbko.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shbr.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shbs.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shdm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/she.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/sheq.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shh.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shhal.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shham.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shhr.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shn.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnb.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnbc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnbio.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnbko.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnbr.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnbs.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shne.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shneq.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnr.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnre.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnredt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnrt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shns.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shnt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shr.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shre.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shredt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shrt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shs.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/sht.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/shtemp.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/tw.snippet delete mode 100644 bundle/snipmate-snippets/ruby-rspec/wia.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/context.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/samao.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/savf.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/sbt.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/selal.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/seli.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/selir.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/setup.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/sevir.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/shabtm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/shcm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/shdc.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/shi.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/shim.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/shm.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/sho.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/shroa.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/snamao.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/snavf.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/svao.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/svno.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/svpo.snippet delete mode 100644 bundle/snipmate-snippets/ruby-shoulda/svuo.snippet delete mode 100644 bundle/snipmate-snippets/ruby/Md.snippet delete mode 100644 bundle/snipmate-snippets/ruby/Ml.snippet delete mode 100644 bundle/snipmate-snippets/ruby/Pn.snippet delete mode 100644 bundle/snipmate-snippets/ruby/Yd.snippet delete mode 100644 bundle/snipmate-snippets/ruby/Yl.snippet delete mode 100644 bundle/snipmate-snippets/ruby/am.snippet delete mode 100644 bundle/snipmate-snippets/ruby/as.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asam.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asb.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asc.snippet delete mode 100644 bundle/snipmate-snippets/ruby/ascd.snippet delete mode 100644 bundle/snipmate-snippets/ruby/ase.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asem.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asf.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asfa.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asi.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asid.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asie.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asio.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asko.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asm.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asn.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asncd.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asne.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnem.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asni.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnid.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnie.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnm.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnn.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnp.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnr.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnrt.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asns.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnse.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asnt.snippet delete mode 100644 bundle/snipmate-snippets/ruby/aso.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asp.snippet delete mode 100644 bundle/snipmate-snippets/ruby/aspe.snippet delete mode 100644 bundle/snipmate-snippets/ruby/aspne.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asr.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asrko.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asrm.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asrt.snippet delete mode 100644 bundle/snipmate-snippets/ruby/asse.snippet delete mode 100644 bundle/snipmate-snippets/ruby/ast.snippet delete mode 100644 bundle/snipmate-snippets/ruby/astr.snippet delete mode 100644 bundle/snipmate-snippets/ruby/bm.snippet delete mode 100644 bundle/snipmate-snippets/ruby/case.snippet delete mode 100644 bundle/snipmate-snippets/ruby/class.snippet delete mode 100644 bundle/snipmate-snippets/ruby/classe.snippet delete mode 100644 bundle/snipmate-snippets/ruby/def.snippet delete mode 100644 bundle/snipmate-snippets/ruby/defi.snippet delete mode 100644 bundle/snipmate-snippets/ruby/defmm.snippet delete mode 100644 bundle/snipmate-snippets/ruby/defs.snippet delete mode 100644 bundle/snipmate-snippets/ruby/deft.snippet delete mode 100644 bundle/snipmate-snippets/ruby/detect.snippet delete mode 100644 bundle/snipmate-snippets/ruby/detecto.snippet delete mode 100644 bundle/snipmate-snippets/ruby/dglob.snippet delete mode 100644 bundle/snipmate-snippets/ruby/do.snippet delete mode 100644 bundle/snipmate-snippets/ruby/dop.snippet delete mode 100644 bundle/snipmate-snippets/ruby/ea.snippet delete mode 100644 bundle/snipmate-snippets/ruby/each.snippet delete mode 100644 bundle/snipmate-snippets/ruby/each_with_index.snippet delete mode 100644 bundle/snipmate-snippets/ruby/each_with_indexo.snippet delete mode 100644 bundle/snipmate-snippets/ruby/eacho.snippet delete mode 100644 bundle/snipmate-snippets/ruby/eado.snippet delete mode 100644 bundle/snipmate-snippets/ruby/eawi.snippet delete mode 100644 bundle/snipmate-snippets/ruby/eawido.snippet delete mode 100644 bundle/snipmate-snippets/ruby/elsif.snippet delete mode 100644 bundle/snipmate-snippets/ruby/fileeach.snippet delete mode 100644 bundle/snipmate-snippets/ruby/fopen.snippet delete mode 100644 bundle/snipmate-snippets/ruby/fread.snippet delete mode 100644 bundle/snipmate-snippets/ruby/http_get.snippet delete mode 100644 bundle/snipmate-snippets/ruby/http_post.snippet delete mode 100644 bundle/snipmate-snippets/ruby/if.snippet delete mode 100644 bundle/snipmate-snippets/ruby/ife.snippet delete mode 100644 bundle/snipmate-snippets/ruby/inj.snippet delete mode 100644 bundle/snipmate-snippets/ruby/injdo.snippet delete mode 100644 bundle/snipmate-snippets/ruby/inject.snippet delete mode 100644 bundle/snipmate-snippets/ruby/injecto.snippet delete mode 100644 bundle/snipmate-snippets/ruby/ip.snippet delete mode 100644 bundle/snipmate-snippets/ruby/map.snippet delete mode 100644 bundle/snipmate-snippets/ruby/mapdo.snippet delete mode 100644 bundle/snipmate-snippets/ruby/mapo.snippet delete mode 100644 bundle/snipmate-snippets/ruby/mod.snippet delete mode 100644 bundle/snipmate-snippets/ruby/module.snippet delete mode 100644 bundle/snipmate-snippets/ruby/nam.snippet delete mode 100644 bundle/snipmate-snippets/ruby/ope.snippet delete mode 100644 bundle/snipmate-snippets/ruby/pathhere.snippet delete mode 100644 bundle/snipmate-snippets/ruby/r.snippet delete mode 100644 bundle/snipmate-snippets/ruby/reject.snippet delete mode 100644 bundle/snipmate-snippets/ruby/rejecto.snippet delete mode 100644 bundle/snipmate-snippets/ruby/rep.snippet delete mode 100644 bundle/snipmate-snippets/ruby/rw.snippet delete mode 100644 bundle/snipmate-snippets/ruby/select.snippet delete mode 100644 bundle/snipmate-snippets/ruby/selecto.snippet delete mode 100644 bundle/snipmate-snippets/ruby/sinc.snippet delete mode 100644 bundle/snipmate-snippets/ruby/sort.snippet delete mode 100644 bundle/snipmate-snippets/ruby/sorto.snippet delete mode 100644 bundle/snipmate-snippets/ruby/tas.snippet delete mode 100644 bundle/snipmate-snippets/ruby/task.snippet delete mode 100644 bundle/snipmate-snippets/ruby/tc.snippet delete mode 100644 bundle/snipmate-snippets/ruby/unless.snippet delete mode 100644 bundle/snipmate-snippets/ruby/unlesse.snippet delete mode 100644 bundle/snipmate-snippets/ruby/w.snippet delete mode 100644 bundle/snipmate-snippets/ruby/while.snippet delete mode 100644 bundle/snipmate-snippets/ruby/xmlr.snippet delete mode 100644 bundle/snipmate-snippets/ruby/xpa.snippet delete mode 100644 bundle/snipmate-snippets/ruby/zip.snippet delete mode 100644 bundle/snipmate-snippets/sinatra/get.snippet delete mode 100644 bundle/snipmate-snippets/sshconfig/host.snippet delete mode 100644 bundle/snipmate-snippets/support_functions.vim delete mode 100644 bundle/snipmate-snippets/vim/au.snippet delete mode 100644 bundle/snipmate-snippets/vim/com.snippet delete mode 100644 bundle/snipmate-snippets/vim/func.snippet delete mode 100644 bundle/snipmate-snippets/vim/if.snippet delete mode 100644 bundle/snipmate-snippets/vim/ife.snippet delete mode 100644 bundle/snipmate-snippets/vim/log.snippet delete mode 100644 bundle/snipmate-snippets/vim/try.snippet delete mode 100644 bundle/snipmate-snippets/xslt/call.snippet delete mode 100644 bundle/snipmate-snippets/xslt/choose.snippet delete mode 100644 bundle/snipmate-snippets/xslt/mat.snippet delete mode 100644 bundle/snipmate-snippets/xslt/out.snippet delete mode 100644 bundle/snipmate-snippets/xslt/param.snippet delete mode 100644 bundle/snipmate-snippets/xslt/sty.snippet delete mode 100644 bundle/snipmate-snippets/xslt/tem.snippet delete mode 100644 bundle/snipmate-snippets/xslt/value.snippet delete mode 100644 bundle/snipmate-snippets/xslt/var.snippet delete mode 100644 bundle/snipmate-snippets/xslt/wparam.snippet delete mode 100644 bundle/snipmate-snippets/xslt/xdec.snippet delete mode 100644 bundle/snipmate-snippets/zend/assert.snippet delete mode 100644 bundle/snipmate-snippets/zend/boolcol.snippet delete mode 100644 bundle/snipmate-snippets/zend/clac.snippet delete mode 100644 bundle/snipmate-snippets/zend/flash.snippet delete mode 100644 bundle/snipmate-snippets/zend/getconf.snippet delete mode 100644 bundle/snipmate-snippets/zend/input.snippet delete mode 100644 bundle/snipmate-snippets/zend/inputarr.snippet delete mode 100644 bundle/snipmate-snippets/zend/intcol.snippet delete mode 100644 bundle/snipmate-snippets/zend/lib.snippet delete mode 100644 bundle/snipmate-snippets/zend/model.snippet delete mode 100644 bundle/snipmate-snippets/zend/navi.snippet delete mode 100644 bundle/snipmate-snippets/zend/route.snippet delete mode 100644 bundle/snipmate-snippets/zend/rp.snippet delete mode 100644 bundle/snipmate-snippets/zend/strcol.snippet delete mode 100644 bundle/vim-snipmate/.gitignore delete mode 100644 bundle/vim-snipmate/Contributors.md delete mode 100644 bundle/vim-snipmate/README.md delete mode 100644 bundle/vim-snipmate/addon-info.json delete mode 100644 bundle/vim-snipmate/after/plugin/snipMate.vim delete mode 100644 bundle/vim-snipmate/autoload/snipMate.vim delete mode 100644 bundle/vim-snipmate/autoload/snipMate_python_demo.vim delete mode 100644 bundle/vim-snipmate/doc/snipMate.txt delete mode 100644 bundle/vim-snipmate/ftplugin/html_snip_helper.vim delete mode 100644 bundle/vim-snipmate/ftplugin/snippet.vim delete mode 100644 bundle/vim-snipmate/ftplugin/snippets.vim delete mode 100644 bundle/vim-snipmate/plugin/snipMate.vim delete mode 100644 bundle/vim-snipmate/plugin/snipMateInterface.vim delete mode 100644 bundle/vim-snipmate/syntax/snippet.vim delete mode 100644 bundle/vim-snipmate/syntax/snippets.vim delete mode 100644 bundle/vim-snippets/LICENSE delete mode 100644 bundle/vim-snippets/README.md delete mode 100644 bundle/vim-snippets/UltiSnips/README delete mode 100644 bundle/vim-snippets/UltiSnips/all.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/bib.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/bindzone.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/c.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/coffee.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/coffee_jasmine.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/cpp.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/cs.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/css.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/d.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/django.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/elixir.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/erlang.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/eruby.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/go.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/haskell.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/help.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/html.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/html_minimal.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/htmldjango.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/htmljinja.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/java.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/javascript.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/javascript_ember.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/javascript_jasmine.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/javascript_jsdoc.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/jinja2.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/json.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/ledger.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/lhaskell.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/lua.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/mako.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/markdown.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/objc.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/ocaml.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/perl.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/php.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/php_phpunit.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/php_symfony2.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/puppet.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/python.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/rails.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/rst.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/ruby.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/scss.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/sh.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/snippets.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/tcl.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/tex.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/texmath.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/twig.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/vim.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/xhtml.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/xml.snippets delete mode 100644 bundle/vim-snippets/UltiSnips/zsh.snippets delete mode 100644 bundle/vim-snippets/addon-info.json delete mode 100644 bundle/vim-snippets/autoload/vim_snippets.vim delete mode 100644 bundle/vim-snippets/snippets/_.snippets delete mode 100644 bundle/vim-snippets/snippets/actionscript.snippets delete mode 100644 bundle/vim-snippets/snippets/apache.snippets delete mode 100644 bundle/vim-snippets/snippets/autoit.snippets delete mode 100644 bundle/vim-snippets/snippets/c.snippets delete mode 100644 bundle/vim-snippets/snippets/chef.snippets delete mode 100644 bundle/vim-snippets/snippets/clojure.snippets delete mode 100644 bundle/vim-snippets/snippets/cmake.snippets delete mode 100644 bundle/vim-snippets/snippets/coffee/angular_coffee.snippets delete mode 100644 bundle/vim-snippets/snippets/coffee/coffee.snippets delete mode 100644 bundle/vim-snippets/snippets/coffee/jquery_coffee.snippets delete mode 100644 bundle/vim-snippets/snippets/cpp.snippets delete mode 100644 bundle/vim-snippets/snippets/cs.snippets delete mode 100644 bundle/vim-snippets/snippets/css.snippets delete mode 100644 bundle/vim-snippets/snippets/dart.snippets delete mode 100644 bundle/vim-snippets/snippets/diff.snippets delete mode 100644 bundle/vim-snippets/snippets/django.snippets delete mode 100644 bundle/vim-snippets/snippets/dosini.snippets delete mode 100644 bundle/vim-snippets/snippets/elixir.snippets delete mode 100644 bundle/vim-snippets/snippets/erlang.snippets delete mode 100644 bundle/vim-snippets/snippets/eruby.snippets delete mode 100644 bundle/vim-snippets/snippets/falcon.snippets delete mode 100644 bundle/vim-snippets/snippets/go.snippets delete mode 100644 bundle/vim-snippets/snippets/haml.snippets delete mode 100644 bundle/vim-snippets/snippets/haskell.snippets delete mode 100644 bundle/vim-snippets/snippets/html.snippets delete mode 100644 bundle/vim-snippets/snippets/html_minimal.snippets delete mode 100644 bundle/vim-snippets/snippets/htmldjango.snippets delete mode 100644 bundle/vim-snippets/snippets/htmltornado.snippets delete mode 100644 bundle/vim-snippets/snippets/java.snippets delete mode 100644 bundle/vim-snippets/snippets/javascript/javascript-jquery.snippets delete mode 100644 bundle/vim-snippets/snippets/javascript/javascript.d3.snippets delete mode 100644 bundle/vim-snippets/snippets/javascript/javascript.snippets delete mode 100644 bundle/vim-snippets/snippets/jsp.snippets delete mode 100644 bundle/vim-snippets/snippets/ledger.snippets delete mode 100644 bundle/vim-snippets/snippets/ls.snippets delete mode 100644 bundle/vim-snippets/snippets/lua.snippets delete mode 100644 bundle/vim-snippets/snippets/make.snippets delete mode 100644 bundle/vim-snippets/snippets/mako.snippets delete mode 100644 bundle/vim-snippets/snippets/markdown.snippets delete mode 100644 bundle/vim-snippets/snippets/objc.snippets delete mode 100644 bundle/vim-snippets/snippets/openfoam.snippets delete mode 100644 bundle/vim-snippets/snippets/perl.snippets delete mode 100644 bundle/vim-snippets/snippets/php.snippets delete mode 100644 bundle/vim-snippets/snippets/plsql.snippets delete mode 100644 bundle/vim-snippets/snippets/po.snippets delete mode 100644 bundle/vim-snippets/snippets/processing.snippets delete mode 100644 bundle/vim-snippets/snippets/progress.snippets delete mode 100644 bundle/vim-snippets/snippets/puppet.snippets delete mode 100644 bundle/vim-snippets/snippets/python.snippets delete mode 100644 bundle/vim-snippets/snippets/r.snippets delete mode 100644 bundle/vim-snippets/snippets/rst.snippets delete mode 100644 bundle/vim-snippets/snippets/ruby.snippets delete mode 100644 bundle/vim-snippets/snippets/scala.snippets delete mode 100644 bundle/vim-snippets/snippets/sh.snippets delete mode 100644 bundle/vim-snippets/snippets/slim.snippets delete mode 100644 bundle/vim-snippets/snippets/snippets.snippets delete mode 100644 bundle/vim-snippets/snippets/sql.snippets delete mode 100644 bundle/vim-snippets/snippets/tcl.snippets delete mode 100644 bundle/vim-snippets/snippets/tex.snippets delete mode 100644 bundle/vim-snippets/snippets/textile.snippets delete mode 100644 bundle/vim-snippets/snippets/vim.snippets delete mode 100644 bundle/vim-snippets/snippets/xslt.snippets delete mode 100644 bundle/vim-snippets/snippets/yii-chtml.snippets delete mode 100644 bundle/vim-snippets/snippets/yii.snippets delete mode 100644 bundle/vim-snippets/snippets/zsh.snippets diff --git a/bundle/snipmate-snippets/.gitignore b/bundle/snipmate-snippets/.gitignore deleted file mode 100644 index da39d981..00000000 --- a/bundle/snipmate-snippets/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -*~ -.DS_Store - -*.log -*.tmp -*.swp -*.old -*.bkp -*.zip -*.rar -*.arj -*.[t]gz -*.[t]bz2 - -tmp/ -log/ diff --git a/bundle/snipmate-snippets/Rakefile b/bundle/snipmate-snippets/Rakefile deleted file mode 100644 index 15cece2f..00000000 --- a/bundle/snipmate-snippets/Rakefile +++ /dev/null @@ -1,24 +0,0 @@ -#require 'fileutils' -#include FileUtils - -namespace :snippets_dir do - task :find do - vim_dir = File.join(ENV['VIMFILES'] || ENV['HOME'] || ENV['USERPROFILE'], RUBY_PLATFORM =~ /mswin|msys|mingw32/ ? "vimfiles" : ".vim") - pathogen_dir = File.join(vim_dir, "bundle") - @snippets_dir = File.directory?(pathogen_dir) ? File.join(pathogen_dir, "snipmate", "snippets") : File.join(vim_dir, "snippets") - end - - desc "Purge the contents of the vim snippets directory" - task :purge => ["snippets_dir:find"] do - rm_rf @snippets_dir, :verbose => true if File.directory? @snippets_dir - mkdir @snippets_dir, :verbose => true - end -end - -desc "Copy the snippets directories into ~/.vim/snippets" -task :deploy_local => ["snippets_dir:purge"] do - Dir.foreach(".") do |f| - cp_r f, @snippets_dir, :verbose => true if File.directory?(f) && f =~ /^[^\.]/ - end - cp "support_functions.vim", @snippets_dir, :verbose => true -end diff --git a/bundle/snipmate-snippets/_/date/date + time.snippet b/bundle/snipmate-snippets/_/date/date + time.snippet deleted file mode 100644 index c6a0e433..00000000 --- a/bundle/snipmate-snippets/_/date/date + time.snippet +++ /dev/null @@ -1 +0,0 @@ -`strftime("%Y-%m-%d %H:%M:%S")` diff --git a/bundle/snipmate-snippets/_/date/date.snippet b/bundle/snipmate-snippets/_/date/date.snippet deleted file mode 100644 index 5d89951b..00000000 --- a/bundle/snipmate-snippets/_/date/date.snippet +++ /dev/null @@ -1 +0,0 @@ -`strftime("%Y-%m-%d")` diff --git a/bundle/snipmate-snippets/_/lorem.snippet b/bundle/snipmate-snippets/_/lorem.snippet deleted file mode 100644 index cee7a927..00000000 --- a/bundle/snipmate-snippets/_/lorem.snippet +++ /dev/null @@ -1 +0,0 @@ -Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. diff --git a/bundle/snipmate-snippets/_/modeline.snippet b/bundle/snipmate-snippets/_/modeline.snippet deleted file mode 100644 index bf0dfa3b..00000000 --- a/bundle/snipmate-snippets/_/modeline.snippet +++ /dev/null @@ -1 +0,0 @@ -`Snippet_Modeline()` diff --git a/bundle/snipmate-snippets/ant/skel/basic.snippet b/bundle/snipmate-snippets/ant/skel/basic.snippet deleted file mode 100644 index 276cf7db..00000000 --- a/bundle/snipmate-snippets/ant/skel/basic.snippet +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bundle/snipmate-snippets/c/cl.snippet b/bundle/snipmate-snippets/c/cl.snippet deleted file mode 100644 index 81962872..00000000 --- a/bundle/snipmate-snippets/c/cl.snippet +++ /dev/null @@ -1,7 +0,0 @@ -class ${1:`Filename('$1_t', 'name')`} { - public: - $1 (${2:arguments}); - virtual ~$1 (); - private: - ${3:/* data */} -}; diff --git a/bundle/snipmate-snippets/c/def.snippet b/bundle/snipmate-snippets/c/def.snippet deleted file mode 100644 index 35f73310..00000000 --- a/bundle/snipmate-snippets/c/def.snippet +++ /dev/null @@ -1,3 +0,0 @@ -#ifndef $1 -#define ${1:SYMBOL} ${2:value} -#endif${3} diff --git a/bundle/snipmate-snippets/c/do.snippet b/bundle/snipmate-snippets/c/do.snippet deleted file mode 100644 index 9435f159..00000000 --- a/bundle/snipmate-snippets/c/do.snippet +++ /dev/null @@ -1,3 +0,0 @@ -do { - ${2:/* code */} -} while (${1:/* condition */}); diff --git a/bundle/snipmate-snippets/c/el.snippet b/bundle/snipmate-snippets/c/el.snippet deleted file mode 100644 index 5966669a..00000000 --- a/bundle/snipmate-snippets/c/el.snippet +++ /dev/null @@ -1,3 +0,0 @@ -else { - ${1} -} diff --git a/bundle/snipmate-snippets/c/for.snippet b/bundle/snipmate-snippets/c/for.snippet deleted file mode 100644 index 58d6c36a..00000000 --- a/bundle/snipmate-snippets/c/for.snippet +++ /dev/null @@ -1,3 +0,0 @@ -for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) { - ${4:/* code */} -} diff --git a/bundle/snipmate-snippets/c/forr.snippet b/bundle/snipmate-snippets/c/forr.snippet deleted file mode 100644 index ea5b430b..00000000 --- a/bundle/snipmate-snippets/c/forr.snippet +++ /dev/null @@ -1,3 +0,0 @@ -for (${1:i} = 0; ${2:$1 < 5}; $1${3:++}) { - ${4:/* code */} -} diff --git a/bundle/snipmate-snippets/c/fpf.snippet b/bundle/snipmate-snippets/c/fpf.snippet deleted file mode 100644 index 53aed564..00000000 --- a/bundle/snipmate-snippets/c/fpf.snippet +++ /dev/null @@ -1 +0,0 @@ -fprintf(${1:stderr}, "${2:%s}\n"${3});${4} diff --git a/bundle/snipmate-snippets/c/fun.snippet b/bundle/snipmate-snippets/c/fun.snippet deleted file mode 100644 index b9d7663c..00000000 --- a/bundle/snipmate-snippets/c/fun.snippet +++ /dev/null @@ -1,4 +0,0 @@ -${1:void} ${2:function_name} (${3}) -{ - ${4:/* code */} -} diff --git a/bundle/snipmate-snippets/c/if.snippet b/bundle/snipmate-snippets/c/if.snippet deleted file mode 100644 index df32c281..00000000 --- a/bundle/snipmate-snippets/c/if.snippet +++ /dev/null @@ -1,3 +0,0 @@ -if (${1:/* condition */}) { - ${2:/* code */} -} diff --git a/bundle/snipmate-snippets/c/inc/inc.snippet b/bundle/snipmate-snippets/c/inc/inc.snippet deleted file mode 100644 index 302edffd..00000000 --- a/bundle/snipmate-snippets/c/inc/inc.snippet +++ /dev/null @@ -1 +0,0 @@ -#include "${1:`Filename("$1.h")`}"${2} diff --git a/bundle/snipmate-snippets/c/inc/inc_global.snippet b/bundle/snipmate-snippets/c/inc/inc_global.snippet deleted file mode 100644 index cf049935..00000000 --- a/bundle/snipmate-snippets/c/inc/inc_global.snippet +++ /dev/null @@ -1 +0,0 @@ -#include <${1:stdio}.h>${2} diff --git a/bundle/snipmate-snippets/c/main.snippet b/bundle/snipmate-snippets/c/main.snippet deleted file mode 100644 index bbfd8bfb..00000000 --- a/bundle/snipmate-snippets/c/main.snippet +++ /dev/null @@ -1,5 +0,0 @@ -int main (int argc, char const* argv[]) -{ - ${1:/* code */} - return 0; -} diff --git a/bundle/snipmate-snippets/c/map.snippet b/bundle/snipmate-snippets/c/map.snippet deleted file mode 100644 index 59c4205b..00000000 --- a/bundle/snipmate-snippets/c/map.snippet +++ /dev/null @@ -1 +0,0 @@ -std::map<${1:key}, ${2:value}> map${3}; diff --git a/bundle/snipmate-snippets/c/ns.snippet b/bundle/snipmate-snippets/c/ns.snippet deleted file mode 100644 index d9b0b337..00000000 --- a/bundle/snipmate-snippets/c/ns.snippet +++ /dev/null @@ -1,3 +0,0 @@ -namespace ${1:`Filename('', 'my')`} { - ${2} -} /* $1 */ diff --git a/bundle/snipmate-snippets/c/once.snippet b/bundle/snipmate-snippets/c/once.snippet deleted file mode 100644 index 7b70667f..00000000 --- a/bundle/snipmate-snippets/c/once.snippet +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef ${1:`toupper(Filename('', 'UNTITLED').'_'.system("/usr/bin/ruby -e 'print (rand * 2821109907455).round.to_s(36)'"))`} -#define $1 - -${2} - -#endif /* end of include guard: $1 */ diff --git a/bundle/snipmate-snippets/c/pr.snippet b/bundle/snipmate-snippets/c/pr.snippet deleted file mode 100644 index 0dd78dc6..00000000 --- a/bundle/snipmate-snippets/c/pr.snippet +++ /dev/null @@ -1 +0,0 @@ -printf("${1:%s}\n"${2});${3} diff --git a/bundle/snipmate-snippets/c/readfile.snippet b/bundle/snipmate-snippets/c/readfile.snippet deleted file mode 100644 index 9aaf9c36..00000000 --- a/bundle/snipmate-snippets/c/readfile.snippet +++ /dev/null @@ -1,7 +0,0 @@ -std::vector v; -if (FILE *${2:fp} = fopen(${1:"filename"}, "r")) { - char buf[1024]; - while (size_t len = fread(buf, 1, sizeof(buf), $2)) - v.insert(v.end(), buf, buf + len); - fclose($2); -}${3} diff --git a/bundle/snipmate-snippets/c/st.snippet b/bundle/snipmate-snippets/c/st.snippet deleted file mode 100644 index 95b798ae..00000000 --- a/bundle/snipmate-snippets/c/st.snippet +++ /dev/null @@ -1,3 +0,0 @@ -struct ${1:`Filename('$1_t', 'name')`} { - ${2:/* data */} -}${3: /* optional variable list */};${4} diff --git a/bundle/snipmate-snippets/c/t.snippet b/bundle/snipmate-snippets/c/t.snippet deleted file mode 100644 index dbc2f2be..00000000 --- a/bundle/snipmate-snippets/c/t.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:/* condition */} ? ${2:a} : ${3:b}' diff --git a/bundle/snipmate-snippets/c/td.snippet b/bundle/snipmate-snippets/c/td.snippet deleted file mode 100644 index 61b147a2..00000000 --- a/bundle/snipmate-snippets/c/td.snippet +++ /dev/null @@ -1 +0,0 @@ -typedef ${1:int} ${2:MyCustomType}; diff --git a/bundle/snipmate-snippets/c/tds.snippet b/bundle/snipmate-snippets/c/tds.snippet deleted file mode 100644 index fea80d2a..00000000 --- a/bundle/snipmate-snippets/c/tds.snippet +++ /dev/null @@ -1,3 +0,0 @@ -typedef struct { - ${2:/* data */} -} ${1:`Filename('$1_t', 'name')`}; diff --git a/bundle/snipmate-snippets/c/vector.snippet b/bundle/snipmate-snippets/c/vector.snippet deleted file mode 100644 index f26dc223..00000000 --- a/bundle/snipmate-snippets/c/vector.snippet +++ /dev/null @@ -1 +0,0 @@ -std::vector<${1:char}> v${2}; diff --git a/bundle/snipmate-snippets/c/wh.snippet b/bundle/snipmate-snippets/c/wh.snippet deleted file mode 100644 index 318ca590..00000000 --- a/bundle/snipmate-snippets/c/wh.snippet +++ /dev/null @@ -1,3 +0,0 @@ -while (${1:/* condition */}) { - ${2:/* code */} -} diff --git a/bundle/snipmate-snippets/css/#.snippet b/bundle/snipmate-snippets/css/#.snippet deleted file mode 100644 index 5a926818..00000000 --- a/bundle/snipmate-snippets/css/#.snippet +++ /dev/null @@ -1,3 +0,0 @@ -#${1:id} { - ${2} -} diff --git a/bundle/snipmate-snippets/css/background/all.snippet b/bundle/snipmate-snippets/css/background/all.snippet deleted file mode 100644 index 5e94d2c2..00000000 --- a/bundle/snipmate-snippets/css/background/all.snippet +++ /dev/null @@ -1 +0,0 @@ -background:${6: #${1:DDD}} url($2) ${3:repeat/repeat-x/repeat-y/no-repeat} ${4:scroll/fixed} ${5:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0 diff --git a/bundle/snipmate-snippets/css/background/attachment.snippet b/bundle/snipmate-snippets/css/background/attachment.snippet deleted file mode 100644 index cb0c8f81..00000000 --- a/bundle/snipmate-snippets/css/background/attachment.snippet +++ /dev/null @@ -1 +0,0 @@ -background-attachment: ${1:scroll/fixed};$0 diff --git a/bundle/snipmate-snippets/css/background/color.snippet b/bundle/snipmate-snippets/css/background/color.snippet deleted file mode 100644 index ebf4bc70..00000000 --- a/bundle/snipmate-snippets/css/background/color.snippet +++ /dev/null @@ -1 +0,0 @@ -background-color: #${1:DDD};$0 diff --git a/bundle/snipmate-snippets/css/background/color_name.snippet b/bundle/snipmate-snippets/css/background/color_name.snippet deleted file mode 100644 index c736f990..00000000 --- a/bundle/snipmate-snippets/css/background/color_name.snippet +++ /dev/null @@ -1 +0,0 @@ -background-color: ${1:red};$0 diff --git a/bundle/snipmate-snippets/css/background/color_rgb.snippet b/bundle/snipmate-snippets/css/background/color_rgb.snippet deleted file mode 100644 index a818f86e..00000000 --- a/bundle/snipmate-snippets/css/background/color_rgb.snippet +++ /dev/null @@ -1 +0,0 @@ -background-color: rgb(${1:255},${2:255},${3:255});$0 diff --git a/bundle/snipmate-snippets/css/background/color_transparent.snippet b/bundle/snipmate-snippets/css/background/color_transparent.snippet deleted file mode 100644 index d4ecdd13..00000000 --- a/bundle/snipmate-snippets/css/background/color_transparent.snippet +++ /dev/null @@ -1 +0,0 @@ -background-color: transparent;$0 diff --git a/bundle/snipmate-snippets/css/background/image_none.snippet b/bundle/snipmate-snippets/css/background/image_none.snippet deleted file mode 100644 index 1112ab7d..00000000 --- a/bundle/snipmate-snippets/css/background/image_none.snippet +++ /dev/null @@ -1 +0,0 @@ -background-image: none;$0 diff --git a/bundle/snipmate-snippets/css/background/image_url.snippet b/bundle/snipmate-snippets/css/background/image_url.snippet deleted file mode 100644 index 83bee3e8..00000000 --- a/bundle/snipmate-snippets/css/background/image_url.snippet +++ /dev/null @@ -1 +0,0 @@ -background-image: url($1);$0 diff --git a/bundle/snipmate-snippets/css/background/position.snippet b/bundle/snipmate-snippets/css/background/position.snippet deleted file mode 100644 index ccdcb692..00000000 --- a/bundle/snipmate-snippets/css/background/position.snippet +++ /dev/null @@ -1 +0,0 @@ -background-position: ${1:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0 diff --git a/bundle/snipmate-snippets/css/background/repeat.snippet b/bundle/snipmate-snippets/css/background/repeat.snippet deleted file mode 100644 index 5c6ce160..00000000 --- a/bundle/snipmate-snippets/css/background/repeat.snippet +++ /dev/null @@ -1 +0,0 @@ -background-repeat: ${1:repeat/repeat-x/repeat-y/no-repeat};$0 diff --git a/bundle/snipmate-snippets/css/border/basic.snippet b/bundle/snipmate-snippets/css/border/basic.snippet deleted file mode 100644 index bb6adc0d..00000000 --- a/bundle/snipmate-snippets/css/border/basic.snippet +++ /dev/null @@ -1 +0,0 @@ -border: ${1:1px} ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/border/color.snippet b/bundle/snipmate-snippets/css/border/color.snippet deleted file mode 100644 index b3e7721a..00000000 --- a/bundle/snipmate-snippets/css/border/color.snippet +++ /dev/null @@ -1 +0,0 @@ -border-color: ${1:999};$0 diff --git a/bundle/snipmate-snippets/css/border/style.snippet b/bundle/snipmate-snippets/css/border/style.snippet deleted file mode 100644 index 0dac5f13..00000000 --- a/bundle/snipmate-snippets/css/border/style.snippet +++ /dev/null @@ -1 +0,0 @@ -border-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 diff --git a/bundle/snipmate-snippets/css/border/width.snippet b/bundle/snipmate-snippets/css/border/width.snippet deleted file mode 100644 index 7c5fba05..00000000 --- a/bundle/snipmate-snippets/css/border/width.snippet +++ /dev/null @@ -1 +0,0 @@ -border-width: ${1:1px};$0 diff --git a/bundle/snipmate-snippets/css/borderb/basic.snippet b/bundle/snipmate-snippets/css/borderb/basic.snippet deleted file mode 100644 index e0b7c21d..00000000 --- a/bundle/snipmate-snippets/css/borderb/basic.snippet +++ /dev/null @@ -1 +0,0 @@ -border-bottom: ${1:1}px ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/borderb/color.snippet b/bundle/snipmate-snippets/css/borderb/color.snippet deleted file mode 100644 index d980e498..00000000 --- a/bundle/snipmate-snippets/css/borderb/color.snippet +++ /dev/null @@ -1 +0,0 @@ -border-bottom-color: #${1:999};$0 diff --git a/bundle/snipmate-snippets/css/borderb/style.snippet b/bundle/snipmate-snippets/css/borderb/style.snippet deleted file mode 100644 index 24617c61..00000000 --- a/bundle/snipmate-snippets/css/borderb/style.snippet +++ /dev/null @@ -1 +0,0 @@ -border-bottom-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 diff --git a/bundle/snipmate-snippets/css/borderb/width.snippet b/bundle/snipmate-snippets/css/borderb/width.snippet deleted file mode 100644 index 2689cd56..00000000 --- a/bundle/snipmate-snippets/css/borderb/width.snippet +++ /dev/null @@ -1 +0,0 @@ -border-bottom-width: ${1:1}px ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/borderl/basic.snippet b/bundle/snipmate-snippets/css/borderl/basic.snippet deleted file mode 100644 index dd4dd2ab..00000000 --- a/bundle/snipmate-snippets/css/borderl/basic.snippet +++ /dev/null @@ -1 +0,0 @@ -border-left: ${1:1}px ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/borderl/color.snippet b/bundle/snipmate-snippets/css/borderl/color.snippet deleted file mode 100644 index 68afecb1..00000000 --- a/bundle/snipmate-snippets/css/borderl/color.snippet +++ /dev/null @@ -1 +0,0 @@ -border-left-color: #${1:999};$0 diff --git a/bundle/snipmate-snippets/css/borderl/style.snippet b/bundle/snipmate-snippets/css/borderl/style.snippet deleted file mode 100644 index 074cbfa8..00000000 --- a/bundle/snipmate-snippets/css/borderl/style.snippet +++ /dev/null @@ -1 +0,0 @@ -border-left-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 diff --git a/bundle/snipmate-snippets/css/borderl/width.snippet b/bundle/snipmate-snippets/css/borderl/width.snippet deleted file mode 100644 index 1e2acefc..00000000 --- a/bundle/snipmate-snippets/css/borderl/width.snippet +++ /dev/null @@ -1 +0,0 @@ -border-left-width: ${1:1}px ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/borderr/basic.snippet b/bundle/snipmate-snippets/css/borderr/basic.snippet deleted file mode 100644 index a0a3e4bf..00000000 --- a/bundle/snipmate-snippets/css/borderr/basic.snippet +++ /dev/null @@ -1 +0,0 @@ -border-right: ${1:1}px ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/borderr/color.snippet b/bundle/snipmate-snippets/css/borderr/color.snippet deleted file mode 100644 index 320acccd..00000000 --- a/bundle/snipmate-snippets/css/borderr/color.snippet +++ /dev/null @@ -1 +0,0 @@ -border-right-color: #${1:999};$0 diff --git a/bundle/snipmate-snippets/css/borderr/style.snippet b/bundle/snipmate-snippets/css/borderr/style.snippet deleted file mode 100644 index 8b03f66a..00000000 --- a/bundle/snipmate-snippets/css/borderr/style.snippet +++ /dev/null @@ -1 +0,0 @@ -border-right-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 diff --git a/bundle/snipmate-snippets/css/borderr/width.snippet b/bundle/snipmate-snippets/css/borderr/width.snippet deleted file mode 100644 index 9df04266..00000000 --- a/bundle/snipmate-snippets/css/borderr/width.snippet +++ /dev/null @@ -1 +0,0 @@ -border-right-width: ${1:1}px ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/bordert/basic.snippet b/bundle/snipmate-snippets/css/bordert/basic.snippet deleted file mode 100644 index e2334480..00000000 --- a/bundle/snipmate-snippets/css/bordert/basic.snippet +++ /dev/null @@ -1 +0,0 @@ -border-top: ${1:1}px ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/bordert/color.snippet b/bundle/snipmate-snippets/css/bordert/color.snippet deleted file mode 100644 index 1a79fb44..00000000 --- a/bundle/snipmate-snippets/css/bordert/color.snippet +++ /dev/null @@ -1 +0,0 @@ -border-top-color: #${1:999};$0 diff --git a/bundle/snipmate-snippets/css/bordert/style.snippet b/bundle/snipmate-snippets/css/bordert/style.snippet deleted file mode 100644 index d6ae011b..00000000 --- a/bundle/snipmate-snippets/css/bordert/style.snippet +++ /dev/null @@ -1 +0,0 @@ -border-top-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 diff --git a/bundle/snipmate-snippets/css/bordert/width.snippet b/bundle/snipmate-snippets/css/bordert/width.snippet deleted file mode 100644 index 5faaef19..00000000 --- a/bundle/snipmate-snippets/css/bordert/width.snippet +++ /dev/null @@ -1 +0,0 @@ -border-top-width: ${1:1}px ${2:solid} #${3:999};$0 diff --git a/bundle/snipmate-snippets/css/cl.snippet b/bundle/snipmate-snippets/css/cl.snippet deleted file mode 100644 index a13d1209..00000000 --- a/bundle/snipmate-snippets/css/cl.snippet +++ /dev/null @@ -1,3 +0,0 @@ -.${1:class} { - ${2:color: pink;} -} diff --git a/bundle/snipmate-snippets/css/clear.snippet b/bundle/snipmate-snippets/css/clear.snippet deleted file mode 100644 index 16b3930a..00000000 --- a/bundle/snipmate-snippets/css/clear.snippet +++ /dev/null @@ -1 +0,0 @@ -clear: ${1:left/right/both/none};$0 diff --git a/bundle/snipmate-snippets/css/color.snippet b/bundle/snipmate-snippets/css/color.snippet deleted file mode 100644 index 3d2728af..00000000 --- a/bundle/snipmate-snippets/css/color.snippet +++ /dev/null @@ -1 +0,0 @@ -color: #${1:DDD};$0 diff --git a/bundle/snipmate-snippets/css/colorn.snippet b/bundle/snipmate-snippets/css/colorn.snippet deleted file mode 100644 index 52da6c9a..00000000 --- a/bundle/snipmate-snippets/css/colorn.snippet +++ /dev/null @@ -1 +0,0 @@ -color: ${1:red};$0 diff --git a/bundle/snipmate-snippets/css/colorr.snippet b/bundle/snipmate-snippets/css/colorr.snippet deleted file mode 100644 index 4204aadd..00000000 --- a/bundle/snipmate-snippets/css/colorr.snippet +++ /dev/null @@ -1 +0,0 @@ -color: rgb(${1:255},${2:255},${3:255});$0 diff --git a/bundle/snipmate-snippets/css/cursor.snippet b/bundle/snipmate-snippets/css/cursor.snippet deleted file mode 100644 index c2e45c71..00000000 --- a/bundle/snipmate-snippets/css/cursor.snippet +++ /dev/null @@ -1 +0,0 @@ -cursor: ${1:default/auto/crosshair/pointer/move/*-resize/text/wait/help};$0 diff --git a/bundle/snipmate-snippets/css/cursuru.snippet b/bundle/snipmate-snippets/css/cursuru.snippet deleted file mode 100644 index 35b1ef22..00000000 --- a/bundle/snipmate-snippets/css/cursuru.snippet +++ /dev/null @@ -1 +0,0 @@ -cursor: url($1);$0 diff --git a/bundle/snipmate-snippets/css/direction.snippet b/bundle/snipmate-snippets/css/direction.snippet deleted file mode 100644 index e0a495a4..00000000 --- a/bundle/snipmate-snippets/css/direction.snippet +++ /dev/null @@ -1 +0,0 @@ -direction: ${1:ltr|rtl};$0 diff --git a/bundle/snipmate-snippets/css/display/block.snippet b/bundle/snipmate-snippets/css/display/block.snippet deleted file mode 100644 index d35d1c2d..00000000 --- a/bundle/snipmate-snippets/css/display/block.snippet +++ /dev/null @@ -1 +0,0 @@ -display: block;$0 diff --git a/bundle/snipmate-snippets/css/display/common.snippet b/bundle/snipmate-snippets/css/display/common.snippet deleted file mode 100644 index 38100a8c..00000000 --- a/bundle/snipmate-snippets/css/display/common.snippet +++ /dev/null @@ -1 +0,0 @@ -display: ${1:none/inline/block/list-item/run-in/compact/marker};$0 diff --git a/bundle/snipmate-snippets/css/display/inline.snippet b/bundle/snipmate-snippets/css/display/inline.snippet deleted file mode 100644 index 1969678e..00000000 --- a/bundle/snipmate-snippets/css/display/inline.snippet +++ /dev/null @@ -1 +0,0 @@ -display: inline;$0 diff --git a/bundle/snipmate-snippets/css/display/table.snippet b/bundle/snipmate-snippets/css/display/table.snippet deleted file mode 100644 index eeb4da0f..00000000 --- a/bundle/snipmate-snippets/css/display/table.snippet +++ /dev/null @@ -1 +0,0 @@ -display: ${1:table/inline-table/table-row-group/table-header-group/table-footer-group/table-row/table-column-group/table-column/table-cell/table-caption};$0 diff --git a/bundle/snipmate-snippets/css/float.snippet b/bundle/snipmate-snippets/css/float.snippet deleted file mode 100644 index b43a23c3..00000000 --- a/bundle/snipmate-snippets/css/float.snippet +++ /dev/null @@ -1 +0,0 @@ -float: ${1:left/right/none};$0 diff --git a/bundle/snipmate-snippets/css/font/all.snippet b/bundle/snipmate-snippets/css/font/all.snippet deleted file mode 100644 index 30900a18..00000000 --- a/bundle/snipmate-snippets/css/font/all.snippet +++ /dev/null @@ -1 +0,0 @@ -font: ${1:normal/italic/oblique} ${2:normal/small-caps} ${3:normal/bold} ${4:1em/1.5em} ${5:Arial}, ${6:sans-}serif;$0 diff --git a/bundle/snipmate-snippets/css/font/family.snippet b/bundle/snipmate-snippets/css/font/family.snippet deleted file mode 100644 index b48c3f6a..00000000 --- a/bundle/snipmate-snippets/css/font/family.snippet +++ /dev/null @@ -1 +0,0 @@ -font-family: ${1:Arial, "MS Trebuchet"}, ${2:sans-}serif;$0 diff --git a/bundle/snipmate-snippets/css/font/size.snippet b/bundle/snipmate-snippets/css/font/size.snippet deleted file mode 100644 index 4a43b045..00000000 --- a/bundle/snipmate-snippets/css/font/size.snippet +++ /dev/null @@ -1 +0,0 @@ -font-size: ${1:100%};$0 diff --git a/bundle/snipmate-snippets/css/font/size_font.snippet b/bundle/snipmate-snippets/css/font/size_font.snippet deleted file mode 100644 index 185b6150..00000000 --- a/bundle/snipmate-snippets/css/font/size_font.snippet +++ /dev/null @@ -1 +0,0 @@ -font: ${1:75%} ${2:"Lucida Grande", "Trebuchet MS", Verdana,} ${3:sans-}serif;$0 diff --git a/bundle/snipmate-snippets/css/font/style.snippet b/bundle/snipmate-snippets/css/font/style.snippet deleted file mode 100644 index 94b6e1d3..00000000 --- a/bundle/snipmate-snippets/css/font/style.snippet +++ /dev/null @@ -1 +0,0 @@ -font-style: ${1:normal/italic/oblique};$0 diff --git a/bundle/snipmate-snippets/css/font/variant.snippet b/bundle/snipmate-snippets/css/font/variant.snippet deleted file mode 100644 index f0aa67fd..00000000 --- a/bundle/snipmate-snippets/css/font/variant.snippet +++ /dev/null @@ -1 +0,0 @@ -font-variant: ${1:normal/small-caps};$0 diff --git a/bundle/snipmate-snippets/css/font/weight.snippet b/bundle/snipmate-snippets/css/font/weight.snippet deleted file mode 100644 index c355c88a..00000000 --- a/bundle/snipmate-snippets/css/font/weight.snippet +++ /dev/null @@ -1 +0,0 @@ -font-weight: ${1:normal/bold};$0 diff --git a/bundle/snipmate-snippets/css/i.snippet b/bundle/snipmate-snippets/css/i.snippet deleted file mode 100644 index 5ca99ef8..00000000 --- a/bundle/snipmate-snippets/css/i.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:!important} diff --git a/bundle/snipmate-snippets/css/letter.snippet b/bundle/snipmate-snippets/css/letter.snippet deleted file mode 100644 index 53f64a1e..00000000 --- a/bundle/snipmate-snippets/css/letter.snippet +++ /dev/null @@ -1 +0,0 @@ -letter-spacing: ${1}${2:em/px};$0 diff --git a/bundle/snipmate-snippets/css/letterem.snippet b/bundle/snipmate-snippets/css/letterem.snippet deleted file mode 100644 index 4d81aa34..00000000 --- a/bundle/snipmate-snippets/css/letterem.snippet +++ /dev/null @@ -1 +0,0 @@ -letter-spacing: $1em;$0 diff --git a/bundle/snipmate-snippets/css/letterpx.snippet b/bundle/snipmate-snippets/css/letterpx.snippet deleted file mode 100644 index d6d3fee7..00000000 --- a/bundle/snipmate-snippets/css/letterpx.snippet +++ /dev/null @@ -1 +0,0 @@ -letter-spacing: $1px;$0 diff --git a/bundle/snipmate-snippets/css/list-style/image.snippet b/bundle/snipmate-snippets/css/list-style/image.snippet deleted file mode 100644 index f6f0bc88..00000000 --- a/bundle/snipmate-snippets/css/list-style/image.snippet +++ /dev/null @@ -1 +0,0 @@ -list-style-image: url($1);$0 diff --git a/bundle/snipmate-snippets/css/list-style/position.snippet b/bundle/snipmate-snippets/css/list-style/position.snippet deleted file mode 100644 index 904f45d5..00000000 --- a/bundle/snipmate-snippets/css/list-style/position.snippet +++ /dev/null @@ -1 +0,0 @@ -list-style-position: ${1:inside/outside};$0 diff --git a/bundle/snipmate-snippets/css/list-style/type_asian.snippet b/bundle/snipmate-snippets/css/list-style/type_asian.snippet deleted file mode 100644 index 220cf075..00000000 --- a/bundle/snipmate-snippets/css/list-style/type_asian.snippet +++ /dev/null @@ -1 +0,0 @@ -list-style-type: ${1:cjk-ideographic/hiragana/katakana/hiragana-iroha/katakana-iroha};$0 diff --git a/bundle/snipmate-snippets/css/list-style/type_marker.snippet b/bundle/snipmate-snippets/css/list-style/type_marker.snippet deleted file mode 100644 index 5c9350a6..00000000 --- a/bundle/snipmate-snippets/css/list-style/type_marker.snippet +++ /dev/null @@ -1 +0,0 @@ -list-style-type: ${1:none/disc/circle/square};$0 diff --git a/bundle/snipmate-snippets/css/list-style/type_numeric.snippet b/bundle/snipmate-snippets/css/list-style/type_numeric.snippet deleted file mode 100644 index 05efdcea..00000000 --- a/bundle/snipmate-snippets/css/list-style/type_numeric.snippet +++ /dev/null @@ -1 +0,0 @@ -list-style-type: ${1:decimal/decimal-leading-zero/zero};$0 diff --git a/bundle/snipmate-snippets/css/list-style/type_other.snippet b/bundle/snipmate-snippets/css/list-style/type_other.snippet deleted file mode 100644 index 0e987a97..00000000 --- a/bundle/snipmate-snippets/css/list-style/type_other.snippet +++ /dev/null @@ -1 +0,0 @@ -list-style-type: ${1:hebrew/armenian/georgian};$0 diff --git a/bundle/snipmate-snippets/css/list-style/type_position_image.snippet b/bundle/snipmate-snippets/css/list-style/type_position_image.snippet deleted file mode 100644 index 8d7397b3..00000000 --- a/bundle/snipmate-snippets/css/list-style/type_position_image.snippet +++ /dev/null @@ -1 +0,0 @@ -list-style: ${1:none/disc/circle/square/decimal/zero} ${2:inside/outside} url($3);$0 diff --git a/bundle/snipmate-snippets/css/list-style/type_roman_alpha_greek.snippet b/bundle/snipmate-snippets/css/list-style/type_roman_alpha_greek.snippet deleted file mode 100644 index 7a6a762e..00000000 --- a/bundle/snipmate-snippets/css/list-style/type_roman_alpha_greek.snippet +++ /dev/null @@ -1 +0,0 @@ -list-style-type: ${1:lower-roman/upper-roman/lower-alpha/upper-alpha/lower-greek/lower-latin/upper-latin};$0 diff --git a/bundle/snipmate-snippets/css/margin.snippet b/bundle/snipmate-snippets/css/margin.snippet deleted file mode 100644 index 06d3fa93..00000000 --- a/bundle/snipmate-snippets/css/margin.snippet +++ /dev/null @@ -1 +0,0 @@ -margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0 diff --git a/bundle/snipmate-snippets/css/marginb.snippet b/bundle/snipmate-snippets/css/marginb.snippet deleted file mode 100644 index abb7f41c..00000000 --- a/bundle/snipmate-snippets/css/marginb.snippet +++ /dev/null @@ -1 +0,0 @@ -margin-bottom: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/marginl.snippet b/bundle/snipmate-snippets/css/marginl.snippet deleted file mode 100644 index 5ecc61b1..00000000 --- a/bundle/snipmate-snippets/css/marginl.snippet +++ /dev/null @@ -1 +0,0 @@ -margin-left: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/margino/T_R_B_L.snippet b/bundle/snipmate-snippets/css/margino/T_R_B_L.snippet deleted file mode 100644 index 06d3fa93..00000000 --- a/bundle/snipmate-snippets/css/margino/T_R_B_L.snippet +++ /dev/null @@ -1 +0,0 @@ -margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0 diff --git a/bundle/snipmate-snippets/css/margino/V_H.snippet b/bundle/snipmate-snippets/css/margino/V_H.snippet deleted file mode 100644 index e3427971..00000000 --- a/bundle/snipmate-snippets/css/margino/V_H.snippet +++ /dev/null @@ -1 +0,0 @@ -margin: ${1:20px} ${2:0px};$0 diff --git a/bundle/snipmate-snippets/css/margino/all.snippet b/bundle/snipmate-snippets/css/margino/all.snippet deleted file mode 100644 index 1be5f95b..00000000 --- a/bundle/snipmate-snippets/css/margino/all.snippet +++ /dev/null @@ -1 +0,0 @@ -margin: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/margino/bottom.snippet b/bundle/snipmate-snippets/css/margino/bottom.snippet deleted file mode 100644 index abb7f41c..00000000 --- a/bundle/snipmate-snippets/css/margino/bottom.snippet +++ /dev/null @@ -1 +0,0 @@ -margin-bottom: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/margino/left.snippet b/bundle/snipmate-snippets/css/margino/left.snippet deleted file mode 100644 index 5ecc61b1..00000000 --- a/bundle/snipmate-snippets/css/margino/left.snippet +++ /dev/null @@ -1 +0,0 @@ -margin-left: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/margino/right.snippet b/bundle/snipmate-snippets/css/margino/right.snippet deleted file mode 100644 index d600636a..00000000 --- a/bundle/snipmate-snippets/css/margino/right.snippet +++ /dev/null @@ -1 +0,0 @@ -margin-right: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/margino/top.snippet b/bundle/snipmate-snippets/css/margino/top.snippet deleted file mode 100644 index c2bc40fe..00000000 --- a/bundle/snipmate-snippets/css/margino/top.snippet +++ /dev/null @@ -1 +0,0 @@ -margin-top: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/marginr.snippet b/bundle/snipmate-snippets/css/marginr.snippet deleted file mode 100644 index d600636a..00000000 --- a/bundle/snipmate-snippets/css/marginr.snippet +++ /dev/null @@ -1 +0,0 @@ -margin-right: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/margint.snippet b/bundle/snipmate-snippets/css/margint.snippet deleted file mode 100644 index c2bc40fe..00000000 --- a/bundle/snipmate-snippets/css/margint.snippet +++ /dev/null @@ -1 +0,0 @@ -margin-top: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/marker/offset_auto.snippet b/bundle/snipmate-snippets/css/marker/offset_auto.snippet deleted file mode 100644 index f4c107af..00000000 --- a/bundle/snipmate-snippets/css/marker/offset_auto.snippet +++ /dev/null @@ -1 +0,0 @@ -marker-offset: auto;$0 diff --git a/bundle/snipmate-snippets/css/marker/offset_length.snippet b/bundle/snipmate-snippets/css/marker/offset_length.snippet deleted file mode 100644 index 864e7501..00000000 --- a/bundle/snipmate-snippets/css/marker/offset_length.snippet +++ /dev/null @@ -1 +0,0 @@ -marker-offset: ${1:10px};$0 diff --git a/bundle/snipmate-snippets/css/opacity.snippet b/bundle/snipmate-snippets/css/opacity.snippet deleted file mode 100644 index de7d62b8..00000000 --- a/bundle/snipmate-snippets/css/opacity.snippet +++ /dev/null @@ -1,3 +0,0 @@ -opacity: ${1:0.5};${100: -}-moz-opacity: ${1:0.5};${100: -}filter:alpha(opacity=${2:${1/(1?)0?\.(.*)/$1$2/}${1/^\d*\.\d\d+$|^\d*$|(^\d\.\d$)/(?1:0)/}});$0 diff --git a/bundle/snipmate-snippets/css/overflow.snippet b/bundle/snipmate-snippets/css/overflow.snippet deleted file mode 100644 index 3caac03a..00000000 --- a/bundle/snipmate-snippets/css/overflow.snippet +++ /dev/null @@ -1 +0,0 @@ -overflow: ${1:visible/hidden/scroll/auto};$0 diff --git a/bundle/snipmate-snippets/css/padding.snippet b/bundle/snipmate-snippets/css/padding.snippet deleted file mode 100644 index db2a3ef2..00000000 --- a/bundle/snipmate-snippets/css/padding.snippet +++ /dev/null @@ -1 +0,0 @@ -padding: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0 diff --git a/bundle/snipmate-snippets/css/paddingb.snippet b/bundle/snipmate-snippets/css/paddingb.snippet deleted file mode 100644 index 66ad6be8..00000000 --- a/bundle/snipmate-snippets/css/paddingb.snippet +++ /dev/null @@ -1 +0,0 @@ -padding-bottom: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/paddingl.snippet b/bundle/snipmate-snippets/css/paddingl.snippet deleted file mode 100644 index 0853f499..00000000 --- a/bundle/snipmate-snippets/css/paddingl.snippet +++ /dev/null @@ -1 +0,0 @@ -padding-left: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/paddingo/T_R_B_L.snippet b/bundle/snipmate-snippets/css/paddingo/T_R_B_L.snippet deleted file mode 100644 index db2a3ef2..00000000 --- a/bundle/snipmate-snippets/css/paddingo/T_R_B_L.snippet +++ /dev/null @@ -1 +0,0 @@ -padding: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0 diff --git a/bundle/snipmate-snippets/css/paddingo/V_H.snippet b/bundle/snipmate-snippets/css/paddingo/V_H.snippet deleted file mode 100644 index 0b92d8eb..00000000 --- a/bundle/snipmate-snippets/css/paddingo/V_H.snippet +++ /dev/null @@ -1 +0,0 @@ -padding: ${1:20px} ${2:0px};$0 diff --git a/bundle/snipmate-snippets/css/paddingo/all.snippet b/bundle/snipmate-snippets/css/paddingo/all.snippet deleted file mode 100644 index 6d38bf79..00000000 --- a/bundle/snipmate-snippets/css/paddingo/all.snippet +++ /dev/null @@ -1 +0,0 @@ -padding: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/paddingo/bottom.snippet b/bundle/snipmate-snippets/css/paddingo/bottom.snippet deleted file mode 100644 index 66ad6be8..00000000 --- a/bundle/snipmate-snippets/css/paddingo/bottom.snippet +++ /dev/null @@ -1 +0,0 @@ -padding-bottom: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/paddingo/left.snippet b/bundle/snipmate-snippets/css/paddingo/left.snippet deleted file mode 100644 index 0853f499..00000000 --- a/bundle/snipmate-snippets/css/paddingo/left.snippet +++ /dev/null @@ -1 +0,0 @@ -padding-left: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/paddingo/right.snippet b/bundle/snipmate-snippets/css/paddingo/right.snippet deleted file mode 100644 index 91a4c80e..00000000 --- a/bundle/snipmate-snippets/css/paddingo/right.snippet +++ /dev/null @@ -1 +0,0 @@ -padding-right: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/paddingo/top.snippet b/bundle/snipmate-snippets/css/paddingo/top.snippet deleted file mode 100644 index 9ba63357..00000000 --- a/bundle/snipmate-snippets/css/paddingo/top.snippet +++ /dev/null @@ -1 +0,0 @@ -padding-top: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/paddingr.snippet b/bundle/snipmate-snippets/css/paddingr.snippet deleted file mode 100644 index 91a4c80e..00000000 --- a/bundle/snipmate-snippets/css/paddingr.snippet +++ /dev/null @@ -1 +0,0 @@ -padding-right: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/paddingt.snippet b/bundle/snipmate-snippets/css/paddingt.snippet deleted file mode 100644 index 9ba63357..00000000 --- a/bundle/snipmate-snippets/css/paddingt.snippet +++ /dev/null @@ -1 +0,0 @@ -padding-top: ${1:20px};$0 diff --git a/bundle/snipmate-snippets/css/position.snippet b/bundle/snipmate-snippets/css/position.snippet deleted file mode 100644 index 2643aaec..00000000 --- a/bundle/snipmate-snippets/css/position.snippet +++ /dev/null @@ -1 +0,0 @@ -position: ${1:static/relative/absolute/fixed};$0 diff --git a/bundle/snipmate-snippets/css/scrollbar.snippet b/bundle/snipmate-snippets/css/scrollbar.snippet deleted file mode 100644 index f0172496..00000000 --- a/bundle/snipmate-snippets/css/scrollbar.snippet +++ /dev/null @@ -1,8 +0,0 @@ -scrollbar-base-color: ${1:#CCCCCC};${2: -scrollbar-arrow-color: ${3:#000000}; -scrollbar-track-color: ${4:#999999}; -scrollbar-3dlight-color: ${5:#EEEEEE}; -scrollbar-highlight-color: ${6:#FFFFFF}; -scrollbar-face-color: ${7:#CCCCCC}; -scrollbar-shadow-color: ${9:#999999}; -scrollbar-darkshadow-color: ${8:#666666};} diff --git a/bundle/snipmate-snippets/css/tag.snippet b/bundle/snipmate-snippets/css/tag.snippet deleted file mode 100644 index 765269c5..00000000 --- a/bundle/snipmate-snippets/css/tag.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:tag} { - ${2:color: pink;} -} diff --git a/bundle/snipmate-snippets/css/text/align.snippet b/bundle/snipmate-snippets/css/text/align.snippet deleted file mode 100644 index c3a4db3d..00000000 --- a/bundle/snipmate-snippets/css/text/align.snippet +++ /dev/null @@ -1 +0,0 @@ -text-align: ${1:left/right/center/justify};$0 diff --git a/bundle/snipmate-snippets/css/text/decoration.snippet b/bundle/snipmate-snippets/css/text/decoration.snippet deleted file mode 100644 index 1af58ee1..00000000 --- a/bundle/snipmate-snippets/css/text/decoration.snippet +++ /dev/null @@ -1 +0,0 @@ -text-decoration: ${1:none/underline/overline/line-through/blink};$0 diff --git a/bundle/snipmate-snippets/css/text/indent.snippet b/bundle/snipmate-snippets/css/text/indent.snippet deleted file mode 100644 index 2dac54b8..00000000 --- a/bundle/snipmate-snippets/css/text/indent.snippet +++ /dev/null @@ -1 +0,0 @@ -text-indent: ${1:10}px;$0 diff --git a/bundle/snipmate-snippets/css/text/shadow_hex.snippet b/bundle/snipmate-snippets/css/text/shadow_hex.snippet deleted file mode 100644 index f6559e43..00000000 --- a/bundle/snipmate-snippets/css/text/shadow_hex.snippet +++ /dev/null @@ -1 +0,0 @@ -text-shadow: #${1:DDD} ${2:10px} ${3:10px} ${4:2px};$0 diff --git a/bundle/snipmate-snippets/css/text/shadow_none.snippet b/bundle/snipmate-snippets/css/text/shadow_none.snippet deleted file mode 100644 index 57a9eb36..00000000 --- a/bundle/snipmate-snippets/css/text/shadow_none.snippet +++ /dev/null @@ -1 +0,0 @@ -text-shadow: none;$0 diff --git a/bundle/snipmate-snippets/css/text/shadow_rgb.snippet b/bundle/snipmate-snippets/css/text/shadow_rgb.snippet deleted file mode 100644 index 9b5eacbd..00000000 --- a/bundle/snipmate-snippets/css/text/shadow_rgb.snippet +++ /dev/null @@ -1 +0,0 @@ -text-shadow: rgb(${1:255},${2:255},${3:255}) ${4:10px} ${5:10px} ${6:2px};$0 diff --git a/bundle/snipmate-snippets/css/text/transform.snippet b/bundle/snipmate-snippets/css/text/transform.snippet deleted file mode 100644 index e5cec4cd..00000000 --- a/bundle/snipmate-snippets/css/text/transform.snippet +++ /dev/null @@ -1 +0,0 @@ -text-transform: ${1:capitalize/uppercase/lowercase};$0 diff --git a/bundle/snipmate-snippets/css/text/transform_none.snippet b/bundle/snipmate-snippets/css/text/transform_none.snippet deleted file mode 100644 index 86180476..00000000 --- a/bundle/snipmate-snippets/css/text/transform_none.snippet +++ /dev/null @@ -1 +0,0 @@ -text-transform: none;$0 diff --git a/bundle/snipmate-snippets/css/vertical.snippet b/bundle/snipmate-snippets/css/vertical.snippet deleted file mode 100644 index 5f76ac1a..00000000 --- a/bundle/snipmate-snippets/css/vertical.snippet +++ /dev/null @@ -1 +0,0 @@ -vertical-align: ${1:baseline/sub/super/top/text-top/middle/bottom/text-bottom/length/%};$0 diff --git a/bundle/snipmate-snippets/css/visibility.snippet b/bundle/snipmate-snippets/css/visibility.snippet deleted file mode 100644 index 5f76ac1a..00000000 --- a/bundle/snipmate-snippets/css/visibility.snippet +++ /dev/null @@ -1 +0,0 @@ -vertical-align: ${1:baseline/sub/super/top/text-top/middle/bottom/text-bottom/length/%};$0 diff --git a/bundle/snipmate-snippets/css/white.snippet b/bundle/snipmate-snippets/css/white.snippet deleted file mode 100644 index 066260af..00000000 --- a/bundle/snipmate-snippets/css/white.snippet +++ /dev/null @@ -1 +0,0 @@ -white-space: ${1:normal/pre/nowrap};$0 diff --git a/bundle/snipmate-snippets/css/word/spacing_length.snippet b/bundle/snipmate-snippets/css/word/spacing_length.snippet deleted file mode 100644 index 647ea3eb..00000000 --- a/bundle/snipmate-snippets/css/word/spacing_length.snippet +++ /dev/null @@ -1 +0,0 @@ -word-spacing: ${1:10px};$0 diff --git a/bundle/snipmate-snippets/css/word/spacing_normal.snippet b/bundle/snipmate-snippets/css/word/spacing_normal.snippet deleted file mode 100644 index 94615515..00000000 --- a/bundle/snipmate-snippets/css/word/spacing_normal.snippet +++ /dev/null @@ -1 +0,0 @@ -word-spacing: normal;$0 diff --git a/bundle/snipmate-snippets/css/z.snippet b/bundle/snipmate-snippets/css/z.snippet deleted file mode 100644 index fd19d5f6..00000000 --- a/bundle/snipmate-snippets/css/z.snippet +++ /dev/null @@ -1 +0,0 @@ -z-index: $1;$0 diff --git a/bundle/snipmate-snippets/eruby-rails/conf.snippet b/bundle/snipmate-snippets/eruby-rails/conf.snippet deleted file mode 100644 index bf4aff3d..00000000 --- a/bundle/snipmate-snippets/eruby-rails/conf.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<% content_for :${1:yield_label_in_layout} do -%> - ${2} -<% end -%> diff --git a/bundle/snipmate-snippets/eruby-rails/cs.snippet b/bundle/snipmate-snippets/eruby-rails/cs.snippet deleted file mode 100644 index f8fa9097..00000000 --- a/bundle/snipmate-snippets/eruby-rails/cs.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= collection_select <+object+>, <+method+>, <+collection+>, <+value_method+>, <+text_method+><+, <+[options]+>, <+[html_options]+>+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/ct.snippet b/bundle/snipmate-snippets/eruby-rails/ct.snippet deleted file mode 100644 index c31743e4..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ct.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= content_tag '${1:DIV}', ${2:content}${3:,options} -%> diff --git a/bundle/snipmate-snippets/eruby-rails/end.snippet b/bundle/snipmate-snippets/eruby-rails/end.snippet deleted file mode 100644 index 4c79184d..00000000 --- a/bundle/snipmate-snippets/eruby-rails/end.snippet +++ /dev/null @@ -1 +0,0 @@ -<% end -%> diff --git a/bundle/snipmate-snippets/eruby-rails/ff.snippet b/bundle/snipmate-snippets/eruby-rails/ff.snippet deleted file mode 100644 index bb12f6d7..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ff.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<% form_for @${1:model} do |f| -%> - ${2} -<% end -%> diff --git a/bundle/snipmate-snippets/eruby-rails/ffcb.snippet b/bundle/snipmate-snippets/eruby-rails/ffcb.snippet deleted file mode 100644 index 46feff86..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffcb.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.check_box :${2:attribute} %> diff --git a/bundle/snipmate-snippets/eruby-rails/ffe.snippet b/bundle/snipmate-snippets/eruby-rails/ffe.snippet deleted file mode 100644 index bafdc111..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffe.snippet +++ /dev/null @@ -1,5 +0,0 @@ -<% error_messages_for :${1:model} -%> - -<% form_for @${2:model} do |f| -%> - ${3} -<% end -%> diff --git a/bundle/snipmate-snippets/eruby-rails/ffff.snippet b/bundle/snipmate-snippets/eruby-rails/ffff.snippet deleted file mode 100644 index 7db85a21..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffff.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.file_field :${2:attribute} %> diff --git a/bundle/snipmate-snippets/eruby-rails/ffhf.snippet b/bundle/snipmate-snippets/eruby-rails/ffhf.snippet deleted file mode 100644 index 81f9dec6..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffhf.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.hidden_field :${2:attribute} %> diff --git a/bundle/snipmate-snippets/eruby-rails/ffl.snippet b/bundle/snipmate-snippets/eruby-rails/ffl.snippet deleted file mode 100644 index c0bdcee1..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffl.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.label :${2:attribute}, '${3:$2}' %> diff --git a/bundle/snipmate-snippets/eruby-rails/ffpf.snippet b/bundle/snipmate-snippets/eruby-rails/ffpf.snippet deleted file mode 100644 index 3b579a36..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffpf.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.password_field :${2:attribute} %> diff --git a/bundle/snipmate-snippets/eruby-rails/ffrb.snippet b/bundle/snipmate-snippets/eruby-rails/ffrb.snippet deleted file mode 100644 index d63f0a54..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffrb.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.radio_button :${2:attribute}, :${3:tag_value} %> diff --git a/bundle/snipmate-snippets/eruby-rails/ffs.snippet b/bundle/snipmate-snippets/eruby-rails/ffs.snippet deleted file mode 100644 index d0851db9..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffs.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.submit "${2:submit}" %> diff --git a/bundle/snipmate-snippets/eruby-rails/ffta.snippet b/bundle/snipmate-snippets/eruby-rails/ffta.snippet deleted file mode 100644 index 9057483e..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ffta.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.text_area :${2:attribute} %> diff --git a/bundle/snipmate-snippets/eruby-rails/fftf.snippet b/bundle/snipmate-snippets/eruby-rails/fftf.snippet deleted file mode 100644 index 83d1add5..00000000 --- a/bundle/snipmate-snippets/eruby-rails/fftf.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= ${1:f}.text_field :${2:attribute} %> diff --git a/bundle/snipmate-snippets/eruby-rails/fields.snippet b/bundle/snipmate-snippets/eruby-rails/fields.snippet deleted file mode 100644 index e936bd33..00000000 --- a/bundle/snipmate-snippets/eruby-rails/fields.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<% fields_for :${1:model}, @$1 do |${2:f}| -%> - ${3} -<% end -%> diff --git a/bundle/snipmate-snippets/eruby-rails/for.snippet b/bundle/snipmate-snippets/eruby-rails/for.snippet deleted file mode 100644 index 30da5608..00000000 --- a/bundle/snipmate-snippets/eruby-rails/for.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<% for ${2:item} in ${1:list} -%> - ${3} -<% end -%> diff --git a/bundle/snipmate-snippets/eruby-rails/ft.snippet b/bundle/snipmate-snippets/eruby-rails/ft.snippet deleted file mode 100644 index 5ff2f439..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ft.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<% form_tag(<+:action => "<+update+>"+><+, {:<+class+> => "<+form+>"}+>) do -%> - <++> -<% end -%> diff --git a/bundle/snipmate-snippets/eruby-rails/i18.snippet b/bundle/snipmate-snippets/eruby-rails/i18.snippet deleted file mode 100644 index 2a30fae0..00000000 --- a/bundle/snipmate-snippets/eruby-rails/i18.snippet +++ /dev/null @@ -1 +0,0 @@ -I18n.t('${1:type.key}')${2} diff --git a/bundle/snipmate-snippets/eruby-rails/it.snippet b/bundle/snipmate-snippets/eruby-rails/it.snippet deleted file mode 100644 index e15196e4..00000000 --- a/bundle/snipmate-snippets/eruby-rails/it.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= image_tag "${1}"${2} %> diff --git a/bundle/snipmate-snippets/eruby-rails/jit.snippet b/bundle/snipmate-snippets/eruby-rails/jit.snippet deleted file mode 100644 index e05213a0..00000000 --- a/bundle/snipmate-snippets/eruby-rails/jit.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= javascript_include_tag <+:all+><+, :cache => <+true+>+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/jsit.snippet b/bundle/snipmate-snippets/eruby-rails/jsit.snippet deleted file mode 100644 index 187e9ab3..00000000 --- a/bundle/snipmate-snippets/eruby-rails/jsit.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= javascript_include_tag "${1}" %> diff --git a/bundle/snipmate-snippets/eruby-rails/lia.snippet b/bundle/snipmate-snippets/eruby-rails/lia.snippet deleted file mode 100644 index 2732e6e0..00000000 --- a/bundle/snipmate-snippets/eruby-rails/lia.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to "${1:link text}", :action => "${2:index}" %> diff --git a/bundle/snipmate-snippets/eruby-rails/liai.snippet b/bundle/snipmate-snippets/eruby-rails/liai.snippet deleted file mode 100644 index 30b703ce..00000000 --- a/bundle/snipmate-snippets/eruby-rails/liai.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to "<+link text+>", :action => "<+edit+>", :id => <+@<+item+>+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/lic.snippet b/bundle/snipmate-snippets/eruby-rails/lic.snippet deleted file mode 100644 index f8d5b953..00000000 --- a/bundle/snipmate-snippets/eruby-rails/lic.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to "${1:link text}", :controller => "${2:items}" %> diff --git a/bundle/snipmate-snippets/eruby-rails/lica.snippet b/bundle/snipmate-snippets/eruby-rails/lica.snippet deleted file mode 100644 index d9aae5f1..00000000 --- a/bundle/snipmate-snippets/eruby-rails/lica.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to "${1:link text}", :controller => "${2:items}", :action => "${3:index}" %> diff --git a/bundle/snipmate-snippets/eruby-rails/licai.snippet b/bundle/snipmate-snippets/eruby-rails/licai.snippet deleted file mode 100644 index 79f7ee0b..00000000 --- a/bundle/snipmate-snippets/eruby-rails/licai.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to "<+link text+>", :controller => "<+items+>", :action => "<+edit+>", :id => <+@<+item+>+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/lim.snippet b/bundle/snipmate-snippets/eruby-rails/lim.snippet deleted file mode 100644 index 7c1e04d9..00000000 --- a/bundle/snipmate-snippets/eruby-rails/lim.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to <+model+>.<+name+>, <+<+model+>_path(<+model+>)+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/linp.snippet b/bundle/snipmate-snippets/eruby-rails/linp.snippet deleted file mode 100644 index 939ecc76..00000000 --- a/bundle/snipmate-snippets/eruby-rails/linp.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to <+"<+link text+>"+>, <+<+parent+>_<+child+>_path(<+@+><+parent+>, <+@+><+child+>)+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/linpp.snippet b/bundle/snipmate-snippets/eruby-rails/linpp.snippet deleted file mode 100644 index a5eacfec..00000000 --- a/bundle/snipmate-snippets/eruby-rails/linpp.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to <+"<+link text+>"+>, <+<+parent+>_<+child+>_path(<+@+><+parent+>)+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/lip.snippet b/bundle/snipmate-snippets/eruby-rails/lip.snippet deleted file mode 100644 index d09eb1f7..00000000 --- a/bundle/snipmate-snippets/eruby-rails/lip.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to <+"<+link text+>"+>, <+<+model+>_path(<+@+><+instance+>)+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/lipp.snippet b/bundle/snipmate-snippets/eruby-rails/lipp.snippet deleted file mode 100644 index 56a653e1..00000000 --- a/bundle/snipmate-snippets/eruby-rails/lipp.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to <+"<+link text+>"+>, <+<+model+>s_path+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/lt.snippet b/bundle/snipmate-snippets/eruby-rails/lt.snippet deleted file mode 100644 index b6c9a5bf..00000000 --- a/bundle/snipmate-snippets/eruby-rails/lt.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= link_to "${1:name}", ${2:dest} %> diff --git a/bundle/snipmate-snippets/eruby-rails/ofcfs.snippet b/bundle/snipmate-snippets/eruby-rails/ofcfs.snippet deleted file mode 100644 index 264de82a..00000000 --- a/bundle/snipmate-snippets/eruby-rails/ofcfs.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= options_from_collection_for_select <+collection+>, <+value_method+>, <+text_method+><+, <+[selected_value]+>+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/rf.snippet b/bundle/snipmate-snippets/eruby-rails/rf.snippet deleted file mode 100644 index 16067e97..00000000 --- a/bundle/snipmate-snippets/eruby-rails/rf.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= render :file => "${1:file}"${2} %> diff --git a/bundle/snipmate-snippets/eruby-rails/rp.snippet b/bundle/snipmate-snippets/eruby-rails/rp.snippet deleted file mode 100644 index 706a4cb3..00000000 --- a/bundle/snipmate-snippets/eruby-rails/rp.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "${1:file}"${2} %> diff --git a/bundle/snipmate-snippets/eruby-rails/rt.snippet b/bundle/snipmate-snippets/eruby-rails/rt.snippet deleted file mode 100644 index 75a8f931..00000000 --- a/bundle/snipmate-snippets/eruby-rails/rt.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= render :template => "${1:file}"${2} %> diff --git a/bundle/snipmate-snippets/eruby-rails/slt.snippet b/bundle/snipmate-snippets/eruby-rails/slt.snippet deleted file mode 100644 index dae49dc8..00000000 --- a/bundle/snipmate-snippets/eruby-rails/slt.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= stylesheet_link_tag <+:all+><+, :cache => <+true+>+> %> diff --git a/bundle/snipmate-snippets/eruby-rails/sslt.snippet b/bundle/snipmate-snippets/eruby-rails/sslt.snippet deleted file mode 100644 index 1fd0f68e..00000000 --- a/bundle/snipmate-snippets/eruby-rails/sslt.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= stylesheet_link_tag "${1}" %> diff --git a/bundle/snipmate-snippets/eruby-rails/st.snippet b/bundle/snipmate-snippets/eruby-rails/st.snippet deleted file mode 100644 index a6538f98..00000000 --- a/bundle/snipmate-snippets/eruby-rails/st.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= submit_tag "<+Save changes+>"<+, :id => "<+submit+>"+><+, :name => "<+submit+>"+><+, :class => "<+form_name+>"+><+, :disabled => <+false+>+><+, :disable_with => "<+Please wait+>"+> %> diff --git a/bundle/snipmate-snippets/eruby/if.snippet b/bundle/snipmate-snippets/eruby/if.snippet deleted file mode 100644 index cc6d87cf..00000000 --- a/bundle/snipmate-snippets/eruby/if.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<% if ${1:condition} %> - ${2} -<% end %> diff --git a/bundle/snipmate-snippets/eruby/ife.snippet b/bundle/snipmate-snippets/eruby/ife.snippet deleted file mode 100644 index fff2996e..00000000 --- a/bundle/snipmate-snippets/eruby/ife.snippet +++ /dev/null @@ -1,4 +0,0 @@ -<% if ${1} %> - ${2} -<% else %> -<% end %> diff --git a/bundle/snipmate-snippets/eruby/unless.snippet b/bundle/snipmate-snippets/eruby/unless.snippet deleted file mode 100644 index 4e7e3d7e..00000000 --- a/bundle/snipmate-snippets/eruby/unless.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<% unless ${1} %> - ${2} -<% end %> diff --git a/bundle/snipmate-snippets/eruby/unlesse.snippet b/bundle/snipmate-snippets/eruby/unlesse.snippet deleted file mode 100644 index 6f447394..00000000 --- a/bundle/snipmate-snippets/eruby/unlesse.snippet +++ /dev/null @@ -1,4 +0,0 @@ -<% unless ${1} %> - ${2} -<% else %> -<% end %> diff --git a/bundle/snipmate-snippets/haml/conf.snippet b/bundle/snipmate-snippets/haml/conf.snippet deleted file mode 100644 index a4723cd8..00000000 --- a/bundle/snipmate-snippets/haml/conf.snippet +++ /dev/null @@ -1,3 +0,0 @@ --content_for :${1:yield_label_in_layout} do - ${2} - diff --git a/bundle/snipmate-snippets/haml/cs.snippet b/bundle/snipmate-snippets/haml/cs.snippet deleted file mode 100644 index 8dfa8d46..00000000 --- a/bundle/snipmate-snippets/haml/cs.snippet +++ /dev/null @@ -1 +0,0 @@ -=collection_select :${1:object}, :${2:method}, :${3:collection}, :${4:value_method}, :${5:text_method} ${6:, [options]} ${7:, [html_options]} diff --git a/bundle/snipmate-snippets/haml/ff.snippet b/bundle/snipmate-snippets/haml/ff.snippet deleted file mode 100644 index aeb7fbe9..00000000 --- a/bundle/snipmate-snippets/haml/ff.snippet +++ /dev/null @@ -1,2 +0,0 @@ --form_for @${1:model} do |f| - ${2} diff --git a/bundle/snipmate-snippets/haml/ffcb.snippet b/bundle/snipmate-snippets/haml/ffcb.snippet deleted file mode 100644 index b042ca9f..00000000 --- a/bundle/snipmate-snippets/haml/ffcb.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.check_box :${1:attribute} diff --git a/bundle/snipmate-snippets/haml/ffe.snippet b/bundle/snipmate-snippets/haml/ffe.snippet deleted file mode 100644 index 633bca1e..00000000 --- a/bundle/snipmate-snippets/haml/ffe.snippet +++ /dev/null @@ -1,4 +0,0 @@ -=error_messages_for :${1:model} - --form_for @${2:model} do |f| - ${3} diff --git a/bundle/snipmate-snippets/haml/ffff.snippet b/bundle/snipmate-snippets/haml/ffff.snippet deleted file mode 100644 index fb86c2f5..00000000 --- a/bundle/snipmate-snippets/haml/ffff.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.file_field :${1:attribute} diff --git a/bundle/snipmate-snippets/haml/ffhf.snippet b/bundle/snipmate-snippets/haml/ffhf.snippet deleted file mode 100644 index 06cd91e9..00000000 --- a/bundle/snipmate-snippets/haml/ffhf.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.hidden_field :${1:attribute} diff --git a/bundle/snipmate-snippets/haml/ffl.snippet b/bundle/snipmate-snippets/haml/ffl.snippet deleted file mode 100644 index c51d49e3..00000000 --- a/bundle/snipmate-snippets/haml/ffl.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.label :${1:attribute} diff --git a/bundle/snipmate-snippets/haml/ffpf.snippet b/bundle/snipmate-snippets/haml/ffpf.snippet deleted file mode 100644 index f200dc45..00000000 --- a/bundle/snipmate-snippets/haml/ffpf.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.password_field :${1:attribute} diff --git a/bundle/snipmate-snippets/haml/ffrb.snippet b/bundle/snipmate-snippets/haml/ffrb.snippet deleted file mode 100644 index a6c3ffe6..00000000 --- a/bundle/snipmate-snippets/haml/ffrb.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.radio_button :${1:attribute}, :${2:tag_value} diff --git a/bundle/snipmate-snippets/haml/ffs.snippet b/bundle/snipmate-snippets/haml/ffs.snippet deleted file mode 100644 index 8489ac46..00000000 --- a/bundle/snipmate-snippets/haml/ffs.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.submit "<+Submit+>"<+, :disable_with => '<+Submitting+>'+> diff --git a/bundle/snipmate-snippets/haml/ffta.snippet b/bundle/snipmate-snippets/haml/ffta.snippet deleted file mode 100644 index df891241..00000000 --- a/bundle/snipmate-snippets/haml/ffta.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.text_area :${1:attribute} diff --git a/bundle/snipmate-snippets/haml/fftf.snippet b/bundle/snipmate-snippets/haml/fftf.snippet deleted file mode 100644 index 80b4bd9a..00000000 --- a/bundle/snipmate-snippets/haml/fftf.snippet +++ /dev/null @@ -1 +0,0 @@ -=f.text_field :${1:attribute} diff --git a/bundle/snipmate-snippets/haml/fields.snippet b/bundle/snipmate-snippets/haml/fields.snippet deleted file mode 100644 index e9c9b200..00000000 --- a/bundle/snipmate-snippets/haml/fields.snippet +++ /dev/null @@ -1,2 +0,0 @@ --fields_for :${1:model}, @$1 do |${2:f}| - ${3} diff --git a/bundle/snipmate-snippets/haml/for.snippet b/bundle/snipmate-snippets/haml/for.snippet deleted file mode 100644 index 40de6487..00000000 --- a/bundle/snipmate-snippets/haml/for.snippet +++ /dev/null @@ -1,6 +0,0 @@ --if !${1:list}.blank? - -for ${2:item} in $1 - ${3} --else - ${4} - diff --git a/bundle/snipmate-snippets/haml/ft.snippet b/bundle/snipmate-snippets/haml/ft.snippet deleted file mode 100644 index 5a051d93..00000000 --- a/bundle/snipmate-snippets/haml/ft.snippet +++ /dev/null @@ -1,2 +0,0 @@ --form_tag(<+:action => "<+update+>"+><+, {:<+class+> => "<+form+>"}+>) do - <++> diff --git a/bundle/snipmate-snippets/haml/if.snippet b/bundle/snipmate-snippets/haml/if.snippet deleted file mode 100644 index d1e38b7f..00000000 --- a/bundle/snipmate-snippets/haml/if.snippet +++ /dev/null @@ -1,2 +0,0 @@ --if ${1} - ${2} diff --git a/bundle/snipmate-snippets/haml/ife.snippet b/bundle/snipmate-snippets/haml/ife.snippet deleted file mode 100644 index b8d12d8d..00000000 --- a/bundle/snipmate-snippets/haml/ife.snippet +++ /dev/null @@ -1,4 +0,0 @@ --if ${1} - ${2} --else - diff --git a/bundle/snipmate-snippets/haml/it.snippet b/bundle/snipmate-snippets/haml/it.snippet deleted file mode 100644 index 9e15a59c..00000000 --- a/bundle/snipmate-snippets/haml/it.snippet +++ /dev/null @@ -1 +0,0 @@ -=image_tag "${1}" diff --git a/bundle/snipmate-snippets/haml/jit.snippet b/bundle/snipmate-snippets/haml/jit.snippet deleted file mode 100644 index af6edd24..00000000 --- a/bundle/snipmate-snippets/haml/jit.snippet +++ /dev/null @@ -1 +0,0 @@ -=javascript_include_tag <+:all+><+, :cache => <+true+>+> diff --git a/bundle/snipmate-snippets/haml/jsit.snippet b/bundle/snipmate-snippets/haml/jsit.snippet deleted file mode 100644 index ea4d2fda..00000000 --- a/bundle/snipmate-snippets/haml/jsit.snippet +++ /dev/null @@ -1 +0,0 @@ -=javascript_include_tag "${1}" diff --git a/bundle/snipmate-snippets/haml/lia.snippet b/bundle/snipmate-snippets/haml/lia.snippet deleted file mode 100644 index 9fa23dfc..00000000 --- a/bundle/snipmate-snippets/haml/lia.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to "${1:link text}", :action => "${2:index}" diff --git a/bundle/snipmate-snippets/haml/liai.snippet b/bundle/snipmate-snippets/haml/liai.snippet deleted file mode 100644 index bd4f8510..00000000 --- a/bundle/snipmate-snippets/haml/liai.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to "<+link text+>", :action => "<+edit+>", :id => <+@<+item+>+> diff --git a/bundle/snipmate-snippets/haml/lic.snippet b/bundle/snipmate-snippets/haml/lic.snippet deleted file mode 100644 index 9c642265..00000000 --- a/bundle/snipmate-snippets/haml/lic.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to "${1:link text}", :controller => "${2:items}" diff --git a/bundle/snipmate-snippets/haml/lica.snippet b/bundle/snipmate-snippets/haml/lica.snippet deleted file mode 100644 index 67e9bc0c..00000000 --- a/bundle/snipmate-snippets/haml/lica.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to "${1:link text}", :controller => "${2:items}", :action => "${3:index}" diff --git a/bundle/snipmate-snippets/haml/licai.snippet b/bundle/snipmate-snippets/haml/licai.snippet deleted file mode 100644 index 58b65837..00000000 --- a/bundle/snipmate-snippets/haml/licai.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to "<+link text+>", :controller => "<+items+>", :action => "<+edit+>", :id => <+@<+item+>+> diff --git a/bundle/snipmate-snippets/haml/lim.snippet b/bundle/snipmate-snippets/haml/lim.snippet deleted file mode 100644 index 25821e4d..00000000 --- a/bundle/snipmate-snippets/haml/lim.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to <+model+>.<+name+>, <+<+model+>_path(<+model+>)+> diff --git a/bundle/snipmate-snippets/haml/linp.snippet b/bundle/snipmate-snippets/haml/linp.snippet deleted file mode 100644 index 4fdfab6c..00000000 --- a/bundle/snipmate-snippets/haml/linp.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to <+"<+link text+>"+>, <+<+parent+>_<+child+>_path(<+@+><+parent+>, <+@+><+child+>)+> diff --git a/bundle/snipmate-snippets/haml/linpp.snippet b/bundle/snipmate-snippets/haml/linpp.snippet deleted file mode 100644 index 0f987725..00000000 --- a/bundle/snipmate-snippets/haml/linpp.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to <+"<+link text+>"+>, <+<+parent+>_<+child+>_path(<+@+><+parent+>)+> diff --git a/bundle/snipmate-snippets/haml/lip.snippet b/bundle/snipmate-snippets/haml/lip.snippet deleted file mode 100644 index d882c5df..00000000 --- a/bundle/snipmate-snippets/haml/lip.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to <+"<+link text+>"+>, <+<+model+>_path(<+@+><+instance+>)+> diff --git a/bundle/snipmate-snippets/haml/lipp.snippet b/bundle/snipmate-snippets/haml/lipp.snippet deleted file mode 100644 index 7484b24b..00000000 --- a/bundle/snipmate-snippets/haml/lipp.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to <+"<+link text+>"+>, <+<+model+>s_path+> diff --git a/bundle/snipmate-snippets/haml/lt.snippet b/bundle/snipmate-snippets/haml/lt.snippet deleted file mode 100644 index d66cd763..00000000 --- a/bundle/snipmate-snippets/haml/lt.snippet +++ /dev/null @@ -1 +0,0 @@ -=link_to "${1}", ${2:dest} diff --git a/bundle/snipmate-snippets/haml/ofcfs.snippet b/bundle/snipmate-snippets/haml/ofcfs.snippet deleted file mode 100644 index 7d607129..00000000 --- a/bundle/snipmate-snippets/haml/ofcfs.snippet +++ /dev/null @@ -1 +0,0 @@ -=options_from_collection_for_select <+collection+>, <+value_method+>, <+text_method+><+, <+[selected_value]+>+> diff --git a/bundle/snipmate-snippets/haml/rf.snippet b/bundle/snipmate-snippets/haml/rf.snippet deleted file mode 100644 index 5758eb43..00000000 --- a/bundle/snipmate-snippets/haml/rf.snippet +++ /dev/null @@ -1 +0,0 @@ -=render :file => "${1:file}"${2} diff --git a/bundle/snipmate-snippets/haml/rp.snippet b/bundle/snipmate-snippets/haml/rp.snippet deleted file mode 100644 index 038225eb..00000000 --- a/bundle/snipmate-snippets/haml/rp.snippet +++ /dev/null @@ -1 +0,0 @@ -=render :partial => "${1:file}"${2} diff --git a/bundle/snipmate-snippets/haml/rt.snippet b/bundle/snipmate-snippets/haml/rt.snippet deleted file mode 100644 index 5d3d2ffa..00000000 --- a/bundle/snipmate-snippets/haml/rt.snippet +++ /dev/null @@ -1 +0,0 @@ -=render :template => "${1:file}"${2} diff --git a/bundle/snipmate-snippets/haml/slt.snippet b/bundle/snipmate-snippets/haml/slt.snippet deleted file mode 100644 index 294405ac..00000000 --- a/bundle/snipmate-snippets/haml/slt.snippet +++ /dev/null @@ -1 +0,0 @@ -=stylesheet_link_tag <+:all+><+, :cache => <+true+>+> diff --git a/bundle/snipmate-snippets/haml/sslt.snippet b/bundle/snipmate-snippets/haml/sslt.snippet deleted file mode 100644 index 1597d2f8..00000000 --- a/bundle/snipmate-snippets/haml/sslt.snippet +++ /dev/null @@ -1 +0,0 @@ -=stylesheet_link_tag "${1}" diff --git a/bundle/snipmate-snippets/haml/st.snippet b/bundle/snipmate-snippets/haml/st.snippet deleted file mode 100644 index 60a889ea..00000000 --- a/bundle/snipmate-snippets/haml/st.snippet +++ /dev/null @@ -1 +0,0 @@ -=submit_tag "<+Save changes+>"<+, :id => "<+submit+>"+><+, :name => "<+submit+>"+><+, :class => "<+form_name+>"+><+, :disabled => <+false+>+><+, :disable_with => "<+Please wait+>"+> diff --git a/bundle/snipmate-snippets/haml/unless.snippet b/bundle/snipmate-snippets/haml/unless.snippet deleted file mode 100644 index 2e521039..00000000 --- a/bundle/snipmate-snippets/haml/unless.snippet +++ /dev/null @@ -1,3 +0,0 @@ --unless ${1} - ${2} - diff --git a/bundle/snipmate-snippets/haml/unlesse.snippet b/bundle/snipmate-snippets/haml/unlesse.snippet deleted file mode 100644 index b8d12d8d..00000000 --- a/bundle/snipmate-snippets/haml/unlesse.snippet +++ /dev/null @@ -1,4 +0,0 @@ --if ${1} - ${2} --else - diff --git a/bundle/snipmate-snippets/html/base.snippet b/bundle/snipmate-snippets/html/base.snippet deleted file mode 100644 index 0e273e23..00000000 --- a/bundle/snipmate-snippets/html/base.snippet +++ /dev/null @@ -1 +0,0 @@ -/> diff --git a/bundle/snipmate-snippets/html/body.snippet b/bundle/snipmate-snippets/html/body.snippet deleted file mode 100644 index 692403d3..00000000 --- a/bundle/snipmate-snippets/html/body.snippet +++ /dev/null @@ -1,3 +0,0 @@ - - ${2} - diff --git a/bundle/snipmate-snippets/html/div.snippet b/bundle/snipmate-snippets/html/div.snippet deleted file mode 100644 index 1ee10bf6..00000000 --- a/bundle/snipmate-snippets/html/div.snippet +++ /dev/null @@ -1,3 +0,0 @@ -
- ${2} -
diff --git a/bundle/snipmate-snippets/html/doctype.snippet b/bundle/snipmate-snippets/html/doctype.snippet deleted file mode 100644 index 8d98d406..00000000 --- a/bundle/snipmate-snippets/html/doctype.snippet +++ /dev/null @@ -1 +0,0 @@ -${1} diff --git a/bundle/snipmate-snippets/html/form.snippet b/bundle/snipmate-snippets/html/form.snippet deleted file mode 100644 index 6fa8a22d..00000000 --- a/bundle/snipmate-snippets/html/form.snippet +++ /dev/null @@ -1,5 +0,0 @@ -
- ${3} - -

-
diff --git a/bundle/snipmate-snippets/html/h1.snippet b/bundle/snipmate-snippets/html/h1.snippet deleted file mode 100644 index 21e88b80..00000000 --- a/bundle/snipmate-snippets/html/h1.snippet +++ /dev/null @@ -1 +0,0 @@ -

${2}

diff --git a/bundle/snipmate-snippets/html/head.snippet b/bundle/snipmate-snippets/html/head.snippet deleted file mode 100644 index 81af7f88..00000000 --- a/bundle/snipmate-snippets/html/head.snippet +++ /dev/null @@ -1,5 +0,0 @@ - - - ${1:Page Title} - ${2} - diff --git a/bundle/snipmate-snippets/html/href.snippet b/bundle/snipmate-snippets/html/href.snippet deleted file mode 100644 index 0b744a04..00000000 --- a/bundle/snipmate-snippets/html/href.snippet +++ /dev/null @@ -1 +0,0 @@ -${2} diff --git a/bundle/snipmate-snippets/html/ifie.snippet b/bundle/snipmate-snippets/html/ifie.snippet deleted file mode 100644 index abb68f50..00000000 --- a/bundle/snipmate-snippets/html/ifie.snippet +++ /dev/null @@ -1 +0,0 @@ -${3} diff --git a/bundle/snipmate-snippets/html/img.snippet b/bundle/snipmate-snippets/html/img.snippet deleted file mode 100644 index ba32a242..00000000 --- a/bundle/snipmate-snippets/html/img.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/html/input.snippet b/bundle/snipmate-snippets/html/input.snippet deleted file mode 100644 index a8814b28..00000000 --- a/bundle/snipmate-snippets/html/input.snippet +++ /dev/null @@ -1 +0,0 @@ -${5} diff --git a/bundle/snipmate-snippets/html/inputl.snippet b/bundle/snipmate-snippets/html/inputl.snippet deleted file mode 100644 index 4efe9945..00000000 --- a/bundle/snipmate-snippets/html/inputl.snippet +++ /dev/null @@ -1,2 +0,0 @@ - -${7} diff --git a/bundle/snipmate-snippets/html/label.snippet b/bundle/snipmate-snippets/html/label.snippet deleted file mode 100644 index c32b6f74..00000000 --- a/bundle/snipmate-snippets/html/label.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/html/link.snippet b/bundle/snipmate-snippets/html/link.snippet deleted file mode 100644 index 42dd1c6b..00000000 --- a/bundle/snipmate-snippets/html/link.snippet +++ /dev/null @@ -1 +0,0 @@ -${5} diff --git a/bundle/snipmate-snippets/html/mailto.snippet b/bundle/snipmate-snippets/html/mailto.snippet deleted file mode 100644 index 2538ab0f..00000000 --- a/bundle/snipmate-snippets/html/mailto.snippet +++ /dev/null @@ -1 +0,0 @@ -<+email me+> diff --git a/bundle/snipmate-snippets/html/meta.snippet b/bundle/snipmate-snippets/html/meta.snippet deleted file mode 100644 index e0319b09..00000000 --- a/bundle/snipmate-snippets/html/meta.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/html/option.snippet b/bundle/snipmate-snippets/html/option.snippet deleted file mode 100644 index b7383d0e..00000000 --- a/bundle/snipmate-snippets/html/option.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/html/script/include_script.snippet b/bundle/snipmate-snippets/html/script/include_script.snippet deleted file mode 100644 index dd35e4be..00000000 --- a/bundle/snipmate-snippets/html/script/include_script.snippet +++ /dev/null @@ -1 +0,0 @@ -${2} diff --git a/bundle/snipmate-snippets/html/script/inline_script.snippet b/bundle/snipmate-snippets/html/script/inline_script.snippet deleted file mode 100644 index 35e078b3..00000000 --- a/bundle/snipmate-snippets/html/script/inline_script.snippet +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/bundle/snipmate-snippets/html/select.snippet b/bundle/snipmate-snippets/html/select.snippet deleted file mode 100644 index 252e3f77..00000000 --- a/bundle/snipmate-snippets/html/select.snippet +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/bundle/snipmate-snippets/html/skel/basic.snippet b/bundle/snipmate-snippets/html/skel/basic.snippet deleted file mode 100644 index 61ec2444..00000000 --- a/bundle/snipmate-snippets/html/skel/basic.snippet +++ /dev/null @@ -1,13 +0,0 @@ - - - - - ${1:Page Title} - - - - - ${2} - - diff --git a/bundle/snipmate-snippets/html/skel/basic_with_meta.snippet b/bundle/snipmate-snippets/html/skel/basic_with_meta.snippet deleted file mode 100644 index b6de9f8d..00000000 --- a/bundle/snipmate-snippets/html/skel/basic_with_meta.snippet +++ /dev/null @@ -1,15 +0,0 @@ - - - - - ${1:Page Title} - - - - - - - ${2} - - diff --git a/bundle/snipmate-snippets/html/style.snippet b/bundle/snipmate-snippets/html/style.snippet deleted file mode 100644 index 26ae0fe9..00000000 --- a/bundle/snipmate-snippets/html/style.snippet +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/bundle/snipmate-snippets/html/t.snippet b/bundle/snipmate-snippets/html/t.snippet deleted file mode 100644 index ef504276..00000000 --- a/bundle/snipmate-snippets/html/t.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<${1:div}${2}> - ${3} -${4} diff --git a/bundle/snipmate-snippets/html/table/basic.snippet b/bundle/snipmate-snippets/html/table/basic.snippet deleted file mode 100644 index 2100d13d..00000000 --- a/bundle/snipmate-snippets/html/table/basic.snippet +++ /dev/null @@ -1,3 +0,0 @@ - - ${2} -
diff --git a/bundle/snipmate-snippets/html/table/hardcore.snippet b/bundle/snipmate-snippets/html/table/hardcore.snippet deleted file mode 100644 index 35fa01ae..00000000 --- a/bundle/snipmate-snippets/html/table/hardcore.snippet +++ /dev/null @@ -1,9 +0,0 @@ -+>> - - <++> - - - - - - diff --git a/bundle/snipmate-snippets/html/textarea.snippet b/bundle/snipmate-snippets/html/textarea.snippet deleted file mode 100644 index 0b3fb84b..00000000 --- a/bundle/snipmate-snippets/html/textarea.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/java/class/basic+constructor+main.snippet b/bundle/snipmate-snippets/java/class/basic+constructor+main.snippet deleted file mode 100644 index 3bd770e2..00000000 --- a/bundle/snipmate-snippets/java/class/basic+constructor+main.snippet +++ /dev/null @@ -1,17 +0,0 @@ -/** - * class $2 - * @author ${4:`g:snips_author`} - */ -${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} { - - /** - * Constructor for $2 - */ - public $2(${4}) { - ${5} - } - - public static void main(String args[]) { - } - -} diff --git a/bundle/snipmate-snippets/java/class/basic+constructor.snippet b/bundle/snipmate-snippets/java/class/basic+constructor.snippet deleted file mode 100644 index 05eabefa..00000000 --- a/bundle/snipmate-snippets/java/class/basic+constructor.snippet +++ /dev/null @@ -1,14 +0,0 @@ -/** - * class $2 - * @author ${4:`g:snips_author`} - */ -${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} { - - /** - * Constructor for $2 - */ - public $2(${5}){ - ${6} - } - -} diff --git a/bundle/snipmate-snippets/java/class/basic.snippet b/bundle/snipmate-snippets/java/class/basic.snippet deleted file mode 100644 index 05eabefa..00000000 --- a/bundle/snipmate-snippets/java/class/basic.snippet +++ /dev/null @@ -1,14 +0,0 @@ -/** - * class $2 - * @author ${4:`g:snips_author`} - */ -${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} { - - /** - * Constructor for $2 - */ - public $2(${5}){ - ${6} - } - -} diff --git a/bundle/snipmate-snippets/java/for.snippet b/bundle/snipmate-snippets/java/for.snippet deleted file mode 100644 index 70a41086..00000000 --- a/bundle/snipmate-snippets/java/for.snippet +++ /dev/null @@ -1,3 +0,0 @@ -for(${1:int i=0}; ${2:condition}; ${3:i++}){ - ${4} -} diff --git a/bundle/snipmate-snippets/java/gs.snippet b/bundle/snipmate-snippets/java/gs.snippet deleted file mode 100644 index 954a9a09..00000000 --- a/bundle/snipmate-snippets/java/gs.snippet +++ /dev/null @@ -1,9 +0,0 @@ -//getter for $3 -public ${2:variable_type} get${1:VariableName}() { - return ${3:variableName}; -} - -//setter for $3 -public void set$1($2 $3) { - this.$3 = $3; -}${4} diff --git a/bundle/snipmate-snippets/java/if.snippet b/bundle/snipmate-snippets/java/if.snippet deleted file mode 100644 index b9d1c5c3..00000000 --- a/bundle/snipmate-snippets/java/if.snippet +++ /dev/null @@ -1,3 +0,0 @@ -if(${1}){ - ${2} -} diff --git a/bundle/snipmate-snippets/java/ife.snippet b/bundle/snipmate-snippets/java/ife.snippet deleted file mode 100644 index a7e43d09..00000000 --- a/bundle/snipmate-snippets/java/ife.snippet +++ /dev/null @@ -1,4 +0,0 @@ -if(${1}){ - ${2} -}else{ -} diff --git a/bundle/snipmate-snippets/java/log.snippet b/bundle/snipmate-snippets/java/log.snippet deleted file mode 100644 index abb7c7d6..00000000 --- a/bundle/snipmate-snippets/java/log.snippet +++ /dev/null @@ -1 +0,0 @@ -System.${1:out}.println(${2}); diff --git a/bundle/snipmate-snippets/java/m.snippet b/bundle/snipmate-snippets/java/m.snippet deleted file mode 100644 index 67bf3fb0..00000000 --- a/bundle/snipmate-snippets/java/m.snippet +++ /dev/null @@ -1,8 +0,0 @@ -/** - * ${7:Method Description} - * ${5} - * @return ${6} - */ -${1:public} ${2:void} ${3:methodName}(${4}) { - ${8} -} diff --git a/bundle/snipmate-snippets/javascript-jquery/add.snippet b/bundle/snipmate-snippets/javascript-jquery/add.snippet deleted file mode 100644 index 3bf9756d..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/add.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.add('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/addClass.snippet b/bundle/snipmate-snippets/javascript-jquery/addClass.snippet deleted file mode 100644 index 68007744..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/addClass.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.addClass('${2:class name}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/after.snippet b/bundle/snipmate-snippets/javascript-jquery/after.snippet deleted file mode 100644 index 34d1956d..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/after.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.after('${2:Some text and bold!}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/ajax.snippet b/bundle/snipmate-snippets/javascript-jquery/ajax.snippet deleted file mode 100644 index 5453a257..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajax.snippet +++ /dev/null @@ -1,18 +0,0 @@ -$.ajax({ - url: "${1:mydomain.com/url}", - type: "${2:POST}", - dataType: "${3:xml/html/script/json}", - data: $.param( $("${4:Element or Expression}") ), - - complete: function() { - ${5://called when complete} - }, - - success: function() { - ${6://called when successful} - }, - - error: function() { - ${7://called when there is an error} - }, -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxerror.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxerror.snippet deleted file mode 100644 index 0f8ccdaf..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxerror.snippet +++ /dev/null @@ -1,4 +0,0 @@ -.ajaxError(function(${1:request, settings}) { - ${2://stuff to do when an AJAX call returns an error}; -}); -${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxget.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxget.snippet deleted file mode 100644 index 1489859a..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxget.snippet +++ /dev/null @@ -1,3 +0,0 @@ -$.get('${1:/test/ajax-test.xml}', function(xml){ - ${2:alert( ("title",xml).text() ) //optional stuff to do after get;} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxgetif.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxgetif.snippet deleted file mode 100644 index 0f4d1ef0..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxgetif.snippet +++ /dev/null @@ -1,3 +0,0 @@ -$.getIfModified('${1:/test/test.cgi}', function(data){ - ${2:alert( "Data loaded: " + data ) //optional stuff to do after get;} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxpost.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxpost.snippet deleted file mode 100644 index f62bf102..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxpost.snippet +++ /dev/null @@ -1,5 +0,0 @@ -$.post('<+/path/to/file.cgi+>',{ - <+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+>}, - function(){ - <+//stuff to do after event occurs;+> -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxsend.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxsend.snippet deleted file mode 100644 index 4b74cd98..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxsend.snippet +++ /dev/null @@ -1,4 +0,0 @@ -.ajaxSend(function(${1:request, settings}) { - ${2://stuff to do when an AJAX call returns an error}; -}); -${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxsetup.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxsetup.snippet deleted file mode 100644 index c5b4ad02..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxsetup.snippet +++ /dev/null @@ -1,18 +0,0 @@ -$.ajaxSetup({ - url: "${1:mydomain.com/url}", - type: "${2:POST}", - dataType: "${3:xml/html/script/json}", - data: $.param( $("${4:Element or Expression}") ), - - complete: function() { - ${5://called when complete} - }, - - success: function() { - ${6://called when successful} - }, - - error: function() { - ${7://called when there is an error} - }, -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxstart.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxstart.snippet deleted file mode 100644 index 3caafd58..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxstart.snippet +++ /dev/null @@ -1,4 +0,0 @@ -$.ajaxStart(function() { - ${1://stuff to do when an AJAX call is started and no other AJAX calls are in progress}; -}); -${2} diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxstop.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxstop.snippet deleted file mode 100644 index 6088a9f5..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxstop.snippet +++ /dev/null @@ -1,4 +0,0 @@ -$.ajaxStop(function() { - ${1://stuff to do when an AJAX call is started and no other AJAX calls are in progress}; -}); -${2} diff --git a/bundle/snipmate-snippets/javascript-jquery/ajaxsuccess.snippet b/bundle/snipmate-snippets/javascript-jquery/ajaxsuccess.snippet deleted file mode 100644 index ba2247dc..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ajaxsuccess.snippet +++ /dev/null @@ -1,4 +0,0 @@ -$.ajaxSuccess(function() { - ${1://stuff to do when an AJAX call is started and no other AJAX calls are in progress}; -}); -${2} diff --git a/bundle/snipmate-snippets/javascript-jquery/animate.snippet b/bundle/snipmate-snippets/javascript-jquery/animate.snippet deleted file mode 100644 index 19135327..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/animate.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.animate({${2:param1: value1, param2: value2}}, ${3:speed})${4} diff --git a/bundle/snipmate-snippets/javascript-jquery/append.snippet b/bundle/snipmate-snippets/javascript-jquery/append.snippet deleted file mode 100644 index bc4ff4d3..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/append.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.append('${2:Some text and bold!}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/appendTo.snippet b/bundle/snipmate-snippets/javascript-jquery/appendTo.snippet deleted file mode 100644 index 97883710..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/appendTo.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.appendTo('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/attr.snippet b/bundle/snipmate-snippets/javascript-jquery/attr.snippet deleted file mode 100644 index fb7e2f42..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/attr.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.attr('${2:attribute}', '${3:value}')${4} diff --git a/bundle/snipmate-snippets/javascript-jquery/attrm.snippet b/bundle/snipmate-snippets/javascript-jquery/attrm.snippet deleted file mode 100644 index 15685512..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/attrm.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.attr({'${2:attr1}': '${3:value1}', '${4:attr2}': '${5:value2}'})${6} diff --git a/bundle/snipmate-snippets/javascript-jquery/before.snippet b/bundle/snipmate-snippets/javascript-jquery/before.snippet deleted file mode 100644 index e12c4aed..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/before.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.before('${2:Some text and bold!}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/bind.snippet b/bundle/snipmate-snippets/javascript-jquery/bind.snippet deleted file mode 100644 index dda284d9..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/bind.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.bind('${2:event name}', function(${3:event}) { - ${4:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/blur.snippet b/bundle/snipmate-snippets/javascript-jquery/blur.snippet deleted file mode 100644 index 674623db..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/blur.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.blur(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/change.snippet b/bundle/snipmate-snippets/javascript-jquery/change.snippet deleted file mode 100644 index 184f8a99..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/change.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.change(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/children.snippet b/bundle/snipmate-snippets/javascript-jquery/children.snippet deleted file mode 100644 index 2db688b1..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/children.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.children('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/click.snippet b/bundle/snipmate-snippets/javascript-jquery/click.snippet deleted file mode 100644 index d17a047e..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/click.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.click(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/clone.snippet b/bundle/snipmate-snippets/javascript-jquery/clone.snippet deleted file mode 100644 index 83b0b421..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/clone.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.clone()${2} diff --git a/bundle/snipmate-snippets/javascript-jquery/contains.snippet b/bundle/snipmate-snippets/javascript-jquery/contains.snippet deleted file mode 100644 index 2a073948..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/contains.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.contains('${2:text to find}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/css.snippet b/bundle/snipmate-snippets/javascript-jquery/css.snippet deleted file mode 100644 index 408199eb..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/css.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.css('${2:attribute}', '${3:value}')${4} diff --git a/bundle/snipmate-snippets/javascript-jquery/cssm.snippet b/bundle/snipmate-snippets/javascript-jquery/cssm.snippet deleted file mode 100644 index 7eebe1e4..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/cssm.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.css({${2:attribute1}: '${3:value1}', ${4:attribute2}: '${5:value2}'})${6} diff --git a/bundle/snipmate-snippets/javascript-jquery/dblclick.snippet b/bundle/snipmate-snippets/javascript-jquery/dblclick.snippet deleted file mode 100644 index 4b2d6b2a..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/dblclick.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.dblclick(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/each.snippet b/bundle/snipmate-snippets/javascript-jquery/each.snippet deleted file mode 100644 index 05beed2e..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/each.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.each(function(index) { - ${2:this.innerHTML = this + " is the element, " + index + " is the position";} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/el.snippet b/bundle/snipmate-snippets/javascript-jquery/el.snippet deleted file mode 100644 index d2065238..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/el.snippet +++ /dev/null @@ -1 +0,0 @@ -$('${1}')${2:} diff --git a/bundle/snipmate-snippets/javascript-jquery/eltrim.snippet b/bundle/snipmate-snippets/javascript-jquery/eltrim.snippet deleted file mode 100644 index 9cc0d692..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/eltrim.snippet +++ /dev/null @@ -1 +0,0 @@ -$.trim('${1:string}')${2} diff --git a/bundle/snipmate-snippets/javascript-jquery/end.snippet b/bundle/snipmate-snippets/javascript-jquery/end.snippet deleted file mode 100644 index 293102c4..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/end.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.end()${2} diff --git a/bundle/snipmate-snippets/javascript-jquery/error.snippet b/bundle/snipmate-snippets/javascript-jquery/error.snippet deleted file mode 100644 index 23b0e650..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/error.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.error(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/fadein.snippet b/bundle/snipmate-snippets/javascript-jquery/fadein.snippet deleted file mode 100644 index 549d8464..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/fadein.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.fadeIn('${2:slow/400/fast}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/fadeinc.snippet b/bundle/snipmate-snippets/javascript-jquery/fadeinc.snippet deleted file mode 100644 index 9090853e..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/fadeinc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.fadeIn('slow/400/fast', function() { - ${2://Stuff to do *after* the animation takes place}; -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/fadeout.snippet b/bundle/snipmate-snippets/javascript-jquery/fadeout.snippet deleted file mode 100644 index 24d6c763..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/fadeout.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.fadeOut('${2:slow/400/fast}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/fadeoutc.snippet b/bundle/snipmate-snippets/javascript-jquery/fadeoutc.snippet deleted file mode 100644 index 76d54571..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/fadeoutc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.fadeOut('slow/400/fast', function() { - ${2://Stuff to do *after* the animation takes place}; -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/fadeto.snippet b/bundle/snipmate-snippets/javascript-jquery/fadeto.snippet deleted file mode 100644 index b0e584aa..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/fadeto.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.fadeTo('${2:slow/400/fast}', ${3:0.5})${4} diff --git a/bundle/snipmate-snippets/javascript-jquery/fadetoc.snippet b/bundle/snipmate-snippets/javascript-jquery/fadetoc.snippet deleted file mode 100644 index 17243b4c..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/fadetoc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.fadeTo('slow/400/fast', ${2:0.5}, function() { - ${3://Stuff to do *after* the animation takes place}; -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/filter.snippet b/bundle/snipmate-snippets/javascript-jquery/filter.snippet deleted file mode 100644 index d33fdf2b..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/filter.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.filter('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/find.snippet b/bundle/snipmate-snippets/javascript-jquery/find.snippet deleted file mode 100644 index 1791e912..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/find.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.find('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/focus.snippet b/bundle/snipmate-snippets/javascript-jquery/focus.snippet deleted file mode 100644 index 3b1b5719..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/focus.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.focus(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/get.snippet b/bundle/snipmate-snippets/javascript-jquery/get.snippet deleted file mode 100644 index 4374c183..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/get.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.get(${2:element index})${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/getjson.snippet b/bundle/snipmate-snippets/javascript-jquery/getjson.snippet deleted file mode 100644 index 518d676d..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/getjson.snippet +++ /dev/null @@ -1,5 +0,0 @@ -$.getJSON('<+/path/to/file.cgi+>',{ - <+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+>}, - function(json){ - <+//stuff to do after event occurs;+> -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/getscript.snippet b/bundle/snipmate-snippets/javascript-jquery/getscript.snippet deleted file mode 100644 index 0b62d90b..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/getscript.snippet +++ /dev/null @@ -1,3 +0,0 @@ -$.getScript('${1:somescript.js}', function(){ - ${2://optional stuff to do after getScript;} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/height.snippet b/bundle/snipmate-snippets/javascript-jquery/height.snippet deleted file mode 100644 index 1515d5c6..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/height.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.height(${2:integer})${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/hide.snippet b/bundle/snipmate-snippets/javascript-jquery/hide.snippet deleted file mode 100644 index c8071cbc..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/hide.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.hide('${2:slow/400/fast}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/hidec.snippet b/bundle/snipmate-snippets/javascript-jquery/hidec.snippet deleted file mode 100644 index 62f2280a..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/hidec.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.hide('${2:slow/400/fast}', function() { - ${3://Stuff to do *after* the animation takes place} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/hover.snippet b/bundle/snipmate-snippets/javascript-jquery/hover.snippet deleted file mode 100644 index d8468c1a..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/hover.snippet +++ /dev/null @@ -1,5 +0,0 @@ -${1:obj}.hover(function() { - ${2:// Stuff to do when the mouse enters the element;} -}, function() { - ${3:// Stuff to do when the mouse leaves the element;} -});${4} diff --git a/bundle/snipmate-snippets/javascript-jquery/html.snippet b/bundle/snipmate-snippets/javascript-jquery/html.snippet deleted file mode 100644 index 0c5a25e1..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/html.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.html('${2:Some text and bold!}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/insertAfter.snippet b/bundle/snipmate-snippets/javascript-jquery/insertAfter.snippet deleted file mode 100644 index 66c389eb..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/insertAfter.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.insertAfter('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/insertBefore.snippet b/bundle/snipmate-snippets/javascript-jquery/insertBefore.snippet deleted file mode 100644 index e7090d4d..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/insertBefore.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.insertBefore('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/is.snippet b/bundle/snipmate-snippets/javascript-jquery/is.snippet deleted file mode 100644 index 28eefb02..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/is.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.is('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/load.snippet b/bundle/snipmate-snippets/javascript-jquery/load.snippet deleted file mode 100644 index 1f09fbc9..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/load.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.load(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/loadf.snippet b/bundle/snipmate-snippets/javascript-jquery/loadf.snippet deleted file mode 100644 index 2e7d9c8b..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/loadf.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<+obj+>.load('<+/path/to/file.htm+>', { <+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+> }, function() { - <+// Stuff to do after the page is loaded+> -}); \ No newline at end of file diff --git a/bundle/snipmate-snippets/javascript-jquery/loadif.snippet b/bundle/snipmate-snippets/javascript-jquery/loadif.snippet deleted file mode 100644 index fe45d05a..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/loadif.snippet +++ /dev/null @@ -1,3 +0,0 @@ -<+obj+>.loadIfModified('<+/path/to/file.htm+>', { <+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+> }, function() { - <+// Stuff to do after the page is loaded+> -}); \ No newline at end of file diff --git a/bundle/snipmate-snippets/javascript-jquery/mdown.snippet b/bundle/snipmate-snippets/javascript-jquery/mdown.snippet deleted file mode 100644 index 3be70e1b..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/mdown.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.mousedown(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/mmove.snippet b/bundle/snipmate-snippets/javascript-jquery/mmove.snippet deleted file mode 100644 index eb7ac052..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/mmove.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.mousemove(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/mout.snippet b/bundle/snipmate-snippets/javascript-jquery/mout.snippet deleted file mode 100644 index f2142756..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/mout.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.mouseout(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/mover.snippet b/bundle/snipmate-snippets/javascript-jquery/mover.snippet deleted file mode 100644 index f1eb19cc..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/mover.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.mouseover(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/mup.snippet b/bundle/snipmate-snippets/javascript-jquery/mup.snippet deleted file mode 100644 index 04fb36a3..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/mup.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.mouseup(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/next.snippet b/bundle/snipmate-snippets/javascript-jquery/next.snippet deleted file mode 100644 index b6a65281..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/next.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.next('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/not.snippet b/bundle/snipmate-snippets/javascript-jquery/not.snippet deleted file mode 100644 index c6a217f6..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/not.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.not('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/one.snippet b/bundle/snipmate-snippets/javascript-jquery/one.snippet deleted file mode 100644 index cacdbfb5..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/one.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.one('${2:event name}', function(${3:event}) { - ${4:// Act on the event once} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/parent.snippet b/bundle/snipmate-snippets/javascript-jquery/parent.snippet deleted file mode 100644 index 0490f05a..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/parent.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.parent('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/parents.snippet b/bundle/snipmate-snippets/javascript-jquery/parents.snippet deleted file mode 100644 index fb0bd131..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/parents.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.parents('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/prepend.snippet b/bundle/snipmate-snippets/javascript-jquery/prepend.snippet deleted file mode 100644 index bc41d48f..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/prepend.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.prepend('${2:Some text and bold!}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/prependto.snippet b/bundle/snipmate-snippets/javascript-jquery/prependto.snippet deleted file mode 100644 index e4406957..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/prependto.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.prependTo('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/prev.snippet b/bundle/snipmate-snippets/javascript-jquery/prev.snippet deleted file mode 100644 index b7aba645..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/prev.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.prev('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/ready.snippet b/bundle/snipmate-snippets/javascript-jquery/ready.snippet deleted file mode 100644 index d0005318..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/ready.snippet +++ /dev/null @@ -1,3 +0,0 @@ -$(document).ready(function() { - ${1:// Stuff to do as soon as the DOM is ready;} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/remove.snippet b/bundle/snipmate-snippets/javascript-jquery/remove.snippet deleted file mode 100644 index 4c976a17..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/remove.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.remove()${2} diff --git a/bundle/snipmate-snippets/javascript-jquery/removeattr.snippet b/bundle/snipmate-snippets/javascript-jquery/removeattr.snippet deleted file mode 100644 index 267d584a..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/removeattr.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.removeAttr('${2:attribute name}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/removeclass.snippet b/bundle/snipmate-snippets/javascript-jquery/removeclass.snippet deleted file mode 100644 index f5538030..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/removeclass.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.removeClass('${2:class name}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/reset.snippet b/bundle/snipmate-snippets/javascript-jquery/reset.snippet deleted file mode 100644 index 777af958..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/reset.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.reset(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/resize.snippet b/bundle/snipmate-snippets/javascript-jquery/resize.snippet deleted file mode 100644 index b46ac0a0..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/resize.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.resize(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/scroll.snippet b/bundle/snipmate-snippets/javascript-jquery/scroll.snippet deleted file mode 100644 index 7a512442..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/scroll.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.scroll(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/sdown.snippet b/bundle/snipmate-snippets/javascript-jquery/sdown.snippet deleted file mode 100644 index b39840e9..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/sdown.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.slideDown('${2:slow/400/fast}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/sdownc.snippet b/bundle/snipmate-snippets/javascript-jquery/sdownc.snippet deleted file mode 100644 index 3404b783..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/sdownc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.slideDown('${2:slow/400/fast}', function() { - ${3://Stuff to do *after* the animation takes place}; -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/sdupc.snippet b/bundle/snipmate-snippets/javascript-jquery/sdupc.snippet deleted file mode 100644 index 873c6657..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/sdupc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.slideUp('${2:slow/400/fast}', function() { - ${3://Stuff to do *after* the animation takes place}; -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/select.snippet b/bundle/snipmate-snippets/javascript-jquery/select.snippet deleted file mode 100644 index 986437ed..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/select.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.select(function() { - ${2:// Act on the event} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/show.snippet b/bundle/snipmate-snippets/javascript-jquery/show.snippet deleted file mode 100644 index 31819b1e..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/show.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.show('${2:slow/400/fast}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/showc.snippet b/bundle/snipmate-snippets/javascript-jquery/showc.snippet deleted file mode 100644 index 6dc5bacc..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/showc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.show('${2:slow/400/fast}', function() { - ${3://Stuff to do *after* the animation takes place} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/sib.snippet b/bundle/snipmate-snippets/javascript-jquery/sib.snippet deleted file mode 100644 index 014f1f79..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/sib.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.siblings('${2:selector expression}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/size.snippet b/bundle/snipmate-snippets/javascript-jquery/size.snippet deleted file mode 100644 index 1ba15439..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/size.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.size()${2} diff --git a/bundle/snipmate-snippets/javascript-jquery/stoggle.snippet b/bundle/snipmate-snippets/javascript-jquery/stoggle.snippet deleted file mode 100644 index daba37d2..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/stoggle.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.slideToggle('${2:slow/400/fast}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/submit.snippet b/bundle/snipmate-snippets/javascript-jquery/submit.snippet deleted file mode 100644 index ae98d83e..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/submit.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:obj}.submit(function() { - ${2:// Act on the event once} -}); diff --git a/bundle/snipmate-snippets/javascript-jquery/sup.snippet b/bundle/snipmate-snippets/javascript-jquery/sup.snippet deleted file mode 100644 index d844a68e..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/sup.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.slideUp('${2:slow/400/fast}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/text.snippet b/bundle/snipmate-snippets/javascript-jquery/text.snippet deleted file mode 100644 index 5f667c07..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/text.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.text(${2:'some text'})${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/this.snippet b/bundle/snipmate-snippets/javascript-jquery/this.snippet deleted file mode 100644 index b3cee8d3..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/this.snippet +++ /dev/null @@ -1 +0,0 @@ -$(this)${1} diff --git a/bundle/snipmate-snippets/javascript-jquery/tog.snippet b/bundle/snipmate-snippets/javascript-jquery/tog.snippet deleted file mode 100644 index 54f5f17a..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/tog.snippet +++ /dev/null @@ -1,6 +0,0 @@ -${1:obj}.toggle(function() { - ${2:// Stuff to do every *odd* time the element is clicked;} -}, function() { - ${3:// Stuff to do every *even* time the element is clicked;} -}); -${4} diff --git a/bundle/snipmate-snippets/javascript-jquery/togclass.snippet b/bundle/snipmate-snippets/javascript-jquery/togclass.snippet deleted file mode 100644 index 023a4b7d..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/togclass.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.toggleClass('${2:class name}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/togsh.snippet b/bundle/snipmate-snippets/javascript-jquery/togsh.snippet deleted file mode 100644 index 265a62d0..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/togsh.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.toggle('${2:slow/400/fast}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/trig.snippet b/bundle/snipmate-snippets/javascript-jquery/trig.snippet deleted file mode 100644 index f7105e08..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/trig.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.trigger('${2:event name}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/unbind.snippet b/bundle/snipmate-snippets/javascript-jquery/unbind.snippet deleted file mode 100644 index 0fe423d5..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/unbind.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.unbind('${2:event name}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/val.snippet b/bundle/snipmate-snippets/javascript-jquery/val.snippet deleted file mode 100644 index cafe0b0b..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/val.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.val('${2:text}')${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/width.snippet b/bundle/snipmate-snippets/javascript-jquery/width.snippet deleted file mode 100644 index 415631c6..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/width.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.width(${2:integer})${3} diff --git a/bundle/snipmate-snippets/javascript-jquery/wrap.snippet b/bundle/snipmate-snippets/javascript-jquery/wrap.snippet deleted file mode 100644 index 55df53ff..00000000 --- a/bundle/snipmate-snippets/javascript-jquery/wrap.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:obj}.wrap('${2:<div class="extra-wrapper"></div>}')${3} diff --git a/bundle/snipmate-snippets/javascript/anon.snippet b/bundle/snipmate-snippets/javascript/anon.snippet deleted file mode 100644 index d486c430..00000000 --- a/bundle/snipmate-snippets/javascript/anon.snippet +++ /dev/null @@ -1 +0,0 @@ -function(${1}) { ${2} }; diff --git a/bundle/snipmate-snippets/javascript/for.snippet b/bundle/snipmate-snippets/javascript/for.snippet deleted file mode 100644 index 3933153f..00000000 --- a/bundle/snipmate-snippets/javascript/for.snippet +++ /dev/null @@ -1,3 +0,0 @@ -for (var <+i+>=0; <+i+> < <+<+Things+>.length+>; <+i+>++) { -<+<+Things+>[<+i+>]+> -}; diff --git a/bundle/snipmate-snippets/javascript/fun.snippet b/bundle/snipmate-snippets/javascript/fun.snippet deleted file mode 100644 index 064b9593..00000000 --- a/bundle/snipmate-snippets/javascript/fun.snippet +++ /dev/null @@ -1,3 +0,0 @@ -function ${1:function_name} (${2:argument}) { - ${3:// body} -} diff --git a/bundle/snipmate-snippets/javascript/if.snippet b/bundle/snipmate-snippets/javascript/if.snippet deleted file mode 100644 index 931b9f17..00000000 --- a/bundle/snipmate-snippets/javascript/if.snippet +++ /dev/null @@ -1 +0,0 @@ -if (${1:true}) { ${2} }; diff --git a/bundle/snipmate-snippets/javascript/ife.snippet b/bundle/snipmate-snippets/javascript/ife.snippet deleted file mode 100644 index 6b172d07..00000000 --- a/bundle/snipmate-snippets/javascript/ife.snippet +++ /dev/null @@ -1,4 +0,0 @@ -if (${1:true}) { - ${2} -} else { -}; diff --git a/bundle/snipmate-snippets/javascript/log.snippet b/bundle/snipmate-snippets/javascript/log.snippet deleted file mode 100644 index b4cf84fe..00000000 --- a/bundle/snipmate-snippets/javascript/log.snippet +++ /dev/null @@ -1 +0,0 @@ -console.log(${1}); diff --git a/bundle/snipmate-snippets/javascript/met.snippet b/bundle/snipmate-snippets/javascript/met.snippet deleted file mode 100644 index 1c30d617..00000000 --- a/bundle/snipmate-snippets/javascript/met.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:method_name}: function(${2:attribute}){ - ${3} -}${4:, } diff --git a/bundle/snipmate-snippets/javascript/proto.snippet b/bundle/snipmate-snippets/javascript/proto.snippet deleted file mode 100644 index 37cd6d49..00000000 --- a/bundle/snipmate-snippets/javascript/proto.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) { - ${4:// body} -}; diff --git a/bundle/snipmate-snippets/javascript/timeout.snippet b/bundle/snipmate-snippets/javascript/timeout.snippet deleted file mode 100644 index 6ea2842c..00000000 --- a/bundle/snipmate-snippets/javascript/timeout.snippet +++ /dev/null @@ -1 +0,0 @@ -setTimeout(function() { ${1} }, ${2:10}); diff --git a/bundle/snipmate-snippets/objc/I.snippet b/bundle/snipmate-snippets/objc/I.snippet deleted file mode 100644 index 0032f65f..00000000 --- a/bundle/snipmate-snippets/objc/I.snippet +++ /dev/null @@ -1,6 +0,0 @@ -+ (void) initialize -{ - [[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWIthObjectsAndKeys: - ${1}@"value", @"key", - nil]]; -} diff --git a/bundle/snipmate-snippets/objc/Imp.snippet b/bundle/snipmate-snippets/objc/Imp.snippet deleted file mode 100644 index 91724d3f..00000000 --- a/bundle/snipmate-snippets/objc/Imp.snippet +++ /dev/null @@ -1 +0,0 @@ -#import "${1:`Filename()`.h}"${2} diff --git a/bundle/snipmate-snippets/objc/alloc.snippet b/bundle/snipmate-snippets/objc/alloc.snippet deleted file mode 100644 index e4d15993..00000000 --- a/bundle/snipmate-snippets/objc/alloc.snippet +++ /dev/null @@ -1 +0,0 @@ -[[${1:foo} alloc] init]${2};${3} diff --git a/bundle/snipmate-snippets/objc/array.snippet b/bundle/snipmate-snippets/objc/array.snippet deleted file mode 100644 index 45d3ef01..00000000 --- a/bundle/snipmate-snippets/objc/array.snippet +++ /dev/null @@ -1 +0,0 @@ -NSMutableArray *${1:array} = [NSMutable array];${2} diff --git a/bundle/snipmate-snippets/objc/bez.snippet b/bundle/snipmate-snippets/objc/bez.snippet deleted file mode 100644 index 493aff69..00000000 --- a/bundle/snipmate-snippets/objc/bez.snippet +++ /dev/null @@ -1 +0,0 @@ -NSBezierPath *${1:path} = [NSBezierPath bezierPath];${2} diff --git a/bundle/snipmate-snippets/objc/cat.snippet b/bundle/snipmate-snippets/objc/cat.snippet deleted file mode 100644 index fd57aae3..00000000 --- a/bundle/snipmate-snippets/objc/cat.snippet +++ /dev/null @@ -1,6 +0,0 @@ -@interface ${1:NSObject} (${2:Category}) -@end - -@implementation $1 ($2) -${3} -@end diff --git a/bundle/snipmate-snippets/objc/cati.snippet b/bundle/snipmate-snippets/objc/cati.snippet deleted file mode 100644 index d2852600..00000000 --- a/bundle/snipmate-snippets/objc/cati.snippet +++ /dev/null @@ -1,3 +0,0 @@ -@interface ${1:NSObject} (${2:Category}) -${3} -@end diff --git a/bundle/snipmate-snippets/objc/cli.snippet b/bundle/snipmate-snippets/objc/cli.snippet deleted file mode 100644 index fa896224..00000000 --- a/bundle/snipmate-snippets/objc/cli.snippet +++ /dev/null @@ -1,5 +0,0 @@ -@interface ${1:ClassName} : ${2:NSObject} -{${3} -} -${4} -@end diff --git a/bundle/snipmate-snippets/objc/dict.snippet b/bundle/snipmate-snippets/objc/dict.snippet deleted file mode 100644 index 8b2d7e90..00000000 --- a/bundle/snipmate-snippets/objc/dict.snippet +++ /dev/null @@ -1 +0,0 @@ -NSMutableDictionary *${1:dict} = [NSMutableDictionary dictionary];${2} diff --git a/bundle/snipmate-snippets/objc/forarray.snippet b/bundle/snipmate-snippets/objc/forarray.snippet deleted file mode 100644 index d32215d0..00000000 --- a/bundle/snipmate-snippets/objc/forarray.snippet +++ /dev/null @@ -1,7 +0,0 @@ -unsigned int ${1:object}Count = [${2:array} count]; - -for (unsigned int index = 0; index < $1Count; index++) -{ - ${3:id} $1 = [$2 $1AtIndex:index]; - ${4} -} diff --git a/bundle/snipmate-snippets/objc/log.snippet b/bundle/snipmate-snippets/objc/log.snippet deleted file mode 100644 index 69f9c067..00000000 --- a/bundle/snipmate-snippets/objc/log.snippet +++ /dev/null @@ -1 +0,0 @@ -NSLog(@"${1}"${2});${3} diff --git a/bundle/snipmate-snippets/objc/m/class method.snippet b/bundle/snipmate-snippets/objc/m/class method.snippet deleted file mode 100644 index 191ee160..00000000 --- a/bundle/snipmate-snippets/objc/m/class method.snippet +++ /dev/null @@ -1,4 +0,0 @@ -+ (${1:id}) ${2:method} -{${3} - return nil; -} diff --git a/bundle/snipmate-snippets/objc/m/method.snippet b/bundle/snipmate-snippets/objc/m/method.snippet deleted file mode 100644 index 9f7390e2..00000000 --- a/bundle/snipmate-snippets/objc/m/method.snippet +++ /dev/null @@ -1,4 +0,0 @@ -- (${1:id}) ${2:method} -{${3} - ${4:return nil;} -} diff --git a/bundle/snipmate-snippets/objc/objacc.snippet b/bundle/snipmate-snippets/objc/objacc.snippet deleted file mode 100644 index 840ebfd0..00000000 --- a/bundle/snipmate-snippets/objc/objacc.snippet +++ /dev/null @@ -1,11 +0,0 @@ -- (${1:id})${2:thing} -{ - return $2; -} - -- (void) set$2:($1) -{ - $1 old$2 = $2; - $2 = [aValue retain]; - [old$2 release]; -} diff --git a/bundle/snipmate-snippets/objc/objc.snippet b/bundle/snipmate-snippets/objc/objc.snippet deleted file mode 100644 index d6671487..00000000 --- a/bundle/snipmate-snippets/objc/objc.snippet +++ /dev/null @@ -1,14 +0,0 @@ -@interface ${1:`Filename('', 'object')`} : ${2:NSObject} -{ -} -@end - -@implementation $1 -- (id) init -{ - if (self = [super init]) - {${3} - } - return self -} -@end diff --git a/bundle/snipmate-snippets/objc/prop.snippet b/bundle/snipmate-snippets/objc/prop.snippet deleted file mode 100644 index d77495a6..00000000 --- a/bundle/snipmate-snippets/objc/prop.snippet +++ /dev/null @@ -1 +0,0 @@ -@property (${1:retain}) ${2:NSSomeClass} *${3:$2};${4} diff --git a/bundle/snipmate-snippets/objc/rel.snippet b/bundle/snipmate-snippets/objc/rel.snippet deleted file mode 100644 index 5dea04dd..00000000 --- a/bundle/snipmate-snippets/objc/rel.snippet +++ /dev/null @@ -1 +0,0 @@ -[${1:foo} release];${2} diff --git a/bundle/snipmate-snippets/objc/ret.snippet b/bundle/snipmate-snippets/objc/ret.snippet deleted file mode 100644 index ee8eba46..00000000 --- a/bundle/snipmate-snippets/objc/ret.snippet +++ /dev/null @@ -1 +0,0 @@ -[${1:foo} retain];${2} diff --git a/bundle/snipmate-snippets/objc/sel.snippet b/bundle/snipmate-snippets/objc/sel.snippet deleted file mode 100644 index 4d4996d1..00000000 --- a/bundle/snipmate-snippets/objc/sel.snippet +++ /dev/null @@ -1 +0,0 @@ -@selector(${1:method}:)${2} diff --git a/bundle/snipmate-snippets/objc/sm.snippet b/bundle/snipmate-snippets/objc/sm.snippet deleted file mode 100644 index af139a90..00000000 --- a/bundle/snipmate-snippets/objc/sm.snippet +++ /dev/null @@ -1,5 +0,0 @@ -- (${1:id}) ${2:method}:(${3:id})${4:anArgument} -{ - $1 res = [super $2:$4];${5} - return res; -} diff --git a/bundle/snipmate-snippets/objc/syn.snippet b/bundle/snipmate-snippets/objc/syn.snippet deleted file mode 100644 index eef7581c..00000000 --- a/bundle/snipmate-snippets/objc/syn.snippet +++ /dev/null @@ -1 +0,0 @@ -@synthesize ${1:NSSomeClass};${2} diff --git a/bundle/snipmate-snippets/php/array.snippet b/bundle/snipmate-snippets/php/array.snippet deleted file mode 100644 index 922542e0..00000000 --- a/bundle/snipmate-snippets/php/array.snippet +++ /dev/null @@ -1 +0,0 @@ -$${1:arrayName} = array('${2}' => ${3});${4} diff --git a/bundle/snipmate-snippets/php/case.snippet b/bundle/snipmate-snippets/php/case.snippet deleted file mode 100644 index 8f9e4daf..00000000 --- a/bundle/snipmate-snippets/php/case.snippet +++ /dev/null @@ -1,3 +0,0 @@ -case '${1:value}': - ${2:// code...} - break;${3} diff --git a/bundle/snipmate-snippets/php/class.snippet b/bundle/snipmate-snippets/php/class.snippet deleted file mode 100644 index 4929a955..00000000 --- a/bundle/snipmate-snippets/php/class.snippet +++ /dev/null @@ -1,11 +0,0 @@ -/** - * ${1} - */ -class ${2:ClassName} -{ - ${3} - function ${4:__construct}(${5:argument}) - { - ${6:// code...} - } -} diff --git a/bundle/snipmate-snippets/php/classe.snippet b/bundle/snipmate-snippets/php/classe.snippet deleted file mode 100644 index 2f2b0bc3..00000000 --- a/bundle/snipmate-snippets/php/classe.snippet +++ /dev/null @@ -1,12 +0,0 @@ -/** - * ${1} - */ -class ${2:ClassName} extends ${3:AnotherClass} -{ - ${4} - function ${5:__construct}(${6:argument}) - { - ${7:// code...} - } -} - diff --git a/bundle/snipmate-snippets/php/def.snippet b/bundle/snipmate-snippets/php/def.snippet deleted file mode 100644 index df0f5ebd..00000000 --- a/bundle/snipmate-snippets/php/def.snippet +++ /dev/null @@ -1 +0,0 @@ -define('${1}'${2});${3} diff --git a/bundle/snipmate-snippets/php/defd.snippet b/bundle/snipmate-snippets/php/defd.snippet deleted file mode 100644 index 6758cdad..00000000 --- a/bundle/snipmate-snippets/php/defd.snippet +++ /dev/null @@ -1 +0,0 @@ -${1}defined('${2}')${3} diff --git a/bundle/snipmate-snippets/php/do.snippet b/bundle/snipmate-snippets/php/do.snippet deleted file mode 100644 index e7dd5b06..00000000 --- a/bundle/snipmate-snippets/php/do.snippet +++ /dev/null @@ -1,3 +0,0 @@ -do { - ${2:// code... } -} while (${1:/* condition */});" diff --git a/bundle/snipmate-snippets/php/doc_cp.snippet b/bundle/snipmate-snippets/php/doc_cp.snippet deleted file mode 100644 index d6d1b3fc..00000000 --- a/bundle/snipmate-snippets/php/doc_cp.snippet +++ /dev/null @@ -1,6 +0,0 @@ -/** - * ${1:undocumented class} - * - * @package ${2:default} - * @author ${3:`g:snips_author`} - **/${4} diff --git a/bundle/snipmate-snippets/php/doc_f.snippet b/bundle/snipmate-snippets/php/doc_f.snippet deleted file mode 100644 index a9adbb07..00000000 --- a/bundle/snipmate-snippets/php/doc_f.snippet +++ /dev/null @@ -1,8 +0,0 @@ -/** - * $2 - * @return ${4:void} - * @author ${5:`g:snips_author`} - **/ -${1:public }function ${2:someFunc}(${3}) -{${6} -} diff --git a/bundle/snipmate-snippets/php/doc_h.snippet b/bundle/snipmate-snippets/php/doc_h.snippet deleted file mode 100644 index a0c12e01..00000000 --- a/bundle/snipmate-snippets/php/doc_h.snippet +++ /dev/null @@ -1,10 +0,0 @@ -/** - * ${1} - * - * @author ${2:`g:snips_author`} - * @version ${3:$Id$} - * @copyright ${4:$2}, `strftime('%d %B, %Y')` - * @package ${5:default} - **/ -/** - * Define DocBlock *// diff --git a/bundle/snipmate-snippets/php/doc_i.snippet b/bundle/snipmate-snippets/php/doc_i.snippet deleted file mode 100644 index e62eab72..00000000 --- a/bundle/snipmate-snippets/php/doc_i.snippet +++ /dev/null @@ -1,8 +0,0 @@ -/** - * $1 - * @package ${2:default} - * @author ${3:`g:snips_author`} - **/ -interface ${1:someClass} -{${4} -} // END interface $1" diff --git a/bundle/snipmate-snippets/php/ec.snippet b/bundle/snipmate-snippets/php/ec.snippet deleted file mode 100644 index 489d759b..00000000 --- a/bundle/snipmate-snippets/php/ec.snippet +++ /dev/null @@ -1 +0,0 @@ -echo "${1:string}"${2}; diff --git a/bundle/snipmate-snippets/php/else.snippet b/bundle/snipmate-snippets/php/else.snippet deleted file mode 100644 index b910e982..00000000 --- a/bundle/snipmate-snippets/php/else.snippet +++ /dev/null @@ -1,3 +0,0 @@ -else { - ${1:// code...} -} diff --git a/bundle/snipmate-snippets/php/elseif.snippet b/bundle/snipmate-snippets/php/elseif.snippet deleted file mode 100644 index a57dec80..00000000 --- a/bundle/snipmate-snippets/php/elseif.snippet +++ /dev/null @@ -1,3 +0,0 @@ -elseif (${1:/* condition */}) { - ${2:// code...} -} diff --git a/bundle/snipmate-snippets/php/for.snippet b/bundle/snipmate-snippets/php/for.snippet deleted file mode 100644 index e9bc52aa..00000000 --- a/bundle/snipmate-snippets/php/for.snippet +++ /dev/null @@ -1,3 +0,0 @@ -for ($${2:i} = 0; $$2 < ${1:count}; $$2${3:++}) { - ${4:// code...} -} diff --git a/bundle/snipmate-snippets/php/foreach.snippet b/bundle/snipmate-snippets/php/foreach.snippet deleted file mode 100644 index 5fe47e5b..00000000 --- a/bundle/snipmate-snippets/php/foreach.snippet +++ /dev/null @@ -1,3 +0,0 @@ -foreach ($${1:variable} as $${2:key}){ - ${3:// code...} -} diff --git a/bundle/snipmate-snippets/php/foreachk.snippet b/bundle/snipmate-snippets/php/foreachk.snippet deleted file mode 100644 index f78d57ae..00000000 --- a/bundle/snipmate-snippets/php/foreachk.snippet +++ /dev/null @@ -1,3 +0,0 @@ -foreach ($${1:variable} as $${2:key} => $${3:value}){ - ${4:// code...} -} diff --git a/bundle/snipmate-snippets/php/fun.snippet b/bundle/snipmate-snippets/php/fun.snippet deleted file mode 100644 index 0f5d3534..00000000 --- a/bundle/snipmate-snippets/php/fun.snippet +++ /dev/null @@ -1,4 +0,0 @@ -${1:public }function ${2:FunctionName}(${3}) -{ - ${4:// code...} -} diff --git a/bundle/snipmate-snippets/php/get.snippet b/bundle/snipmate-snippets/php/get.snippet deleted file mode 100644 index af32e0a5..00000000 --- a/bundle/snipmate-snippets/php/get.snippet +++ /dev/null @@ -1 +0,0 @@ -$_GET['${1}']${2} diff --git a/bundle/snipmate-snippets/php/globals.snippet b/bundle/snipmate-snippets/php/globals.snippet deleted file mode 100644 index 6f5b04f3..00000000 --- a/bundle/snipmate-snippets/php/globals.snippet +++ /dev/null @@ -1 +0,0 @@ -$GLOBALS['${1:variable}']${2: = }${3:something}${4:;}${5} diff --git a/bundle/snipmate-snippets/php/if.snippet b/bundle/snipmate-snippets/php/if.snippet deleted file mode 100644 index 69ac0bd6..00000000 --- a/bundle/snipmate-snippets/php/if.snippet +++ /dev/null @@ -1,3 +0,0 @@ -if (${1:/* condition */}) { - ${2:// code...} -} diff --git a/bundle/snipmate-snippets/php/ife.snippet b/bundle/snipmate-snippets/php/ife.snippet deleted file mode 100644 index b8621c1b..00000000 --- a/bundle/snipmate-snippets/php/ife.snippet +++ /dev/null @@ -1,4 +0,0 @@ -if (${1:/* condition */}) { - ${2:// code...} -} else { -} diff --git a/bundle/snipmate-snippets/php/inc.snippet b/bundle/snipmate-snippets/php/inc.snippet deleted file mode 100644 index 8df3966c..00000000 --- a/bundle/snipmate-snippets/php/inc.snippet +++ /dev/null @@ -1 +0,0 @@ -include '${1:file}';${2} diff --git a/bundle/snipmate-snippets/php/inc1.snippet b/bundle/snipmate-snippets/php/inc1.snippet deleted file mode 100644 index ba262818..00000000 --- a/bundle/snipmate-snippets/php/inc1.snippet +++ /dev/null @@ -1 +0,0 @@ -include_once '${1:file}';${2} diff --git a/bundle/snipmate-snippets/php/log.snippet b/bundle/snipmate-snippets/php/log.snippet deleted file mode 100644 index 2b8dcc4b..00000000 --- a/bundle/snipmate-snippets/php/log.snippet +++ /dev/null @@ -1 +0,0 @@ -error_log(var_export(${1}, true));${2} diff --git a/bundle/snipmate-snippets/php/php.snippet b/bundle/snipmate-snippets/php/php.snippet deleted file mode 100644 index ed2ed1ce..00000000 --- a/bundle/snipmate-snippets/php/php.snippet +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/bundle/snipmate-snippets/php/post.snippet b/bundle/snipmate-snippets/php/post.snippet deleted file mode 100644 index 2de7aa5f..00000000 --- a/bundle/snipmate-snippets/php/post.snippet +++ /dev/null @@ -1 +0,0 @@ -$_POST['${1}']${2} diff --git a/bundle/snipmate-snippets/php/req.snippet b/bundle/snipmate-snippets/php/req.snippet deleted file mode 100644 index c03ea36f..00000000 --- a/bundle/snipmate-snippets/php/req.snippet +++ /dev/null @@ -1 +0,0 @@ -require '${1:file}';${2} diff --git a/bundle/snipmate-snippets/php/req1.snippet b/bundle/snipmate-snippets/php/req1.snippet deleted file mode 100644 index e909c3bc..00000000 --- a/bundle/snipmate-snippets/php/req1.snippet +++ /dev/null @@ -1 +0,0 @@ -require_once '${1:file}';${2} diff --git a/bundle/snipmate-snippets/php/request.snippet b/bundle/snipmate-snippets/php/request.snippet deleted file mode 100644 index 9a839b1b..00000000 --- a/bundle/snipmate-snippets/php/request.snippet +++ /dev/null @@ -1 +0,0 @@ -$_REQUEST['${1}']${2} diff --git a/bundle/snipmate-snippets/php/session.snippet b/bundle/snipmate-snippets/php/session.snippet deleted file mode 100644 index 5e3e11b9..00000000 --- a/bundle/snipmate-snippets/php/session.snippet +++ /dev/null @@ -1 +0,0 @@ -$_SESSION['${1}']${2} diff --git a/bundle/snipmate-snippets/php/switch.snippet b/bundle/snipmate-snippets/php/switch.snippet deleted file mode 100644 index 7fc47c63..00000000 --- a/bundle/snipmate-snippets/php/switch.snippet +++ /dev/null @@ -1,9 +0,0 @@ -switch ($${1:variable}) { - case '${2:value}': - ${3:// code...} - break; - ${5} - default: - ${4:// code...} - break; -} diff --git a/bundle/snipmate-snippets/php/t.snippet b/bundle/snipmate-snippets/php/t.snippet deleted file mode 100644 index e8deae52..00000000 --- a/bundle/snipmate-snippets/php/t.snippet +++ /dev/null @@ -1 +0,0 @@ -$${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b};${5} diff --git a/bundle/snipmate-snippets/php/try.snippet b/bundle/snipmate-snippets/php/try.snippet deleted file mode 100644 index 66a7f651..00000000 --- a/bundle/snipmate-snippets/php/try.snippet +++ /dev/null @@ -1,6 +0,0 @@ -try { - ${1:// code...} -} catch (${2:Exception} $e) { - ${3:// code...} -} - diff --git a/bundle/snipmate-snippets/php/var.snippet b/bundle/snipmate-snippets/php/var.snippet deleted file mode 100644 index 1f8cd08e..00000000 --- a/bundle/snipmate-snippets/php/var.snippet +++ /dev/null @@ -1 +0,0 @@ -var_export(${1});${2} diff --git a/bundle/snipmate-snippets/php/wh.snippet b/bundle/snipmate-snippets/php/wh.snippet deleted file mode 100644 index 36ae0ffc..00000000 --- a/bundle/snipmate-snippets/php/wh.snippet +++ /dev/null @@ -1,3 +0,0 @@ -while (${1:/* condition */}) { - ${2:// code...} -} diff --git a/bundle/snipmate-snippets/po/msg.snippet b/bundle/snipmate-snippets/po/msg.snippet deleted file mode 100644 index 2ad6638a..00000000 --- a/bundle/snipmate-snippets/po/msg.snippet +++ /dev/null @@ -1,2 +0,0 @@ -msgid "${1}" -msgstr "${2}"${3} diff --git a/bundle/snipmate-snippets/python/class.snippet b/bundle/snipmate-snippets/python/class.snippet deleted file mode 100644 index d9e2b8e8..00000000 --- a/bundle/snipmate-snippets/python/class.snippet +++ /dev/null @@ -1,2 +0,0 @@ -class ${1:``Snippet_PythonClassNameFromFilename()``}(${2:data}): -${3} diff --git a/bundle/snipmate-snippets/python/def.snippet b/bundle/snipmate-snippets/python/def.snippet deleted file mode 100644 index c7cc9d38..00000000 --- a/bundle/snipmate-snippets/python/def.snippet +++ /dev/null @@ -1,2 +0,0 @@ -def ${1:name}(${2:data}): -${3} diff --git a/bundle/snipmate-snippets/python/for.snippet b/bundle/snipmate-snippets/python/for.snippet deleted file mode 100644 index fb69c05f..00000000 --- a/bundle/snipmate-snippets/python/for.snippet +++ /dev/null @@ -1,3 +0,0 @@ -for ${1:var} in ${2:type}: -${3:pass} -${4} diff --git a/bundle/snipmate-snippets/python/from.snippet b/bundle/snipmate-snippets/python/from.snippet deleted file mode 100644 index 98d0d825..00000000 --- a/bundle/snipmate-snippets/python/from.snippet +++ /dev/null @@ -1,2 +0,0 @@ -from ${1:module} import ${2:name} -${3} diff --git a/bundle/snipmate-snippets/python/get.snippet b/bundle/snipmate-snippets/python/get.snippet deleted file mode 100644 index bc0bf63d..00000000 --- a/bundle/snipmate-snippets/python/get.snippet +++ /dev/null @@ -1,3 +0,0 @@ -def get_${1:name}(self): -return self._$1 -${2} diff --git a/bundle/snipmate-snippets/python/ifmain.snippet b/bundle/snipmate-snippets/python/ifmain.snippet deleted file mode 100644 index f6e7a262..00000000 --- a/bundle/snipmate-snippets/python/ifmain.snippet +++ /dev/null @@ -1,2 +0,0 @@ -if __name__ == '__main__': -${1} diff --git a/bundle/snipmate-snippets/python/import.snippet b/bundle/snipmate-snippets/python/import.snippet deleted file mode 100644 index 58c9acdc..00000000 --- a/bundle/snipmate-snippets/python/import.snippet +++ /dev/null @@ -1,2 +0,0 @@ -import ${1:module} -${2} diff --git a/bundle/snipmate-snippets/python/init.snippet b/bundle/snipmate-snippets/python/init.snippet deleted file mode 100644 index c1a4f0fa..00000000 --- a/bundle/snipmate-snippets/python/init.snippet +++ /dev/null @@ -1,2 +0,0 @@ -def __init__(self, ${1:args}): -${2} diff --git a/bundle/snipmate-snippets/python/set.snippet b/bundle/snipmate-snippets/python/set.snippet deleted file mode 100644 index 6ab0b5aa..00000000 --- a/bundle/snipmate-snippets/python/set.snippet +++ /dev/null @@ -1 +0,0 @@ -def set_${1:name}(self, ${2:value}): diff --git a/bundle/snipmate-snippets/python/try.snippet b/bundle/snipmate-snippets/python/try.snippet deleted file mode 100644 index fd5f6e59..00000000 --- a/bundle/snipmate-snippets/python/try.snippet +++ /dev/null @@ -1,4 +0,0 @@ -try: -${1} -except ${2:Exception} -${3} diff --git a/bundle/snipmate-snippets/ruby-factorygirl/fac.snippet b/bundle/snipmate-snippets/ruby-factorygirl/fac.snippet deleted file mode 100644 index 05cc3e8e..00000000 --- a/bundle/snipmate-snippets/ruby-factorygirl/fac.snippet +++ /dev/null @@ -1 +0,0 @@ -Factory(:${1}, ${2})${3} diff --git a/bundle/snipmate-snippets/ruby-factorygirl/facb.snippet b/bundle/snipmate-snippets/ruby-factorygirl/facb.snippet deleted file mode 100644 index 299c0335..00000000 --- a/bundle/snipmate-snippets/ruby-factorygirl/facb.snippet +++ /dev/null @@ -1 +0,0 @@ -Factory.build(:${1}, ${2})${3} diff --git a/bundle/snipmate-snippets/ruby-factorygirl/facd.snippet b/bundle/snipmate-snippets/ruby-factorygirl/facd.snippet deleted file mode 100644 index 41d1503c..00000000 --- a/bundle/snipmate-snippets/ruby-factorygirl/facd.snippet +++ /dev/null @@ -1,4 +0,0 @@ -Factory.define(:${1:model}) do |${2:f}| - ${3} -end -${4} diff --git a/bundle/snipmate-snippets/ruby-factorygirl/facn.snippet b/bundle/snipmate-snippets/ruby-factorygirl/facn.snippet deleted file mode 100644 index 7232308c..00000000 --- a/bundle/snipmate-snippets/ruby-factorygirl/facn.snippet +++ /dev/null @@ -1 +0,0 @@ -Factory.next(:${1:sequence-name})${2} diff --git a/bundle/snipmate-snippets/ruby-factorygirl/facs.snippet b/bundle/snipmate-snippets/ruby-factorygirl/facs.snippet deleted file mode 100644 index 13fd5b9d..00000000 --- a/bundle/snipmate-snippets/ruby-factorygirl/facs.snippet +++ /dev/null @@ -1,4 +0,0 @@ -Factory.sequence :${1:sequence-name} do |${2:m}| - ${3} -end -${4} diff --git a/bundle/snipmate-snippets/ruby-rails/art.snippet b/bundle/snipmate-snippets/ruby-rails/art.snippet deleted file mode 100644 index a5a7d34e..00000000 --- a/bundle/snipmate-snippets/ruby-rails/art.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_redirected_to ${1::action => "${2:index}"} diff --git a/bundle/snipmate-snippets/ruby-rails/artnp.snippet b/bundle/snipmate-snippets/ruby-rails/artnp.snippet deleted file mode 100644 index 2c9bfef0..00000000 --- a/bundle/snipmate-snippets/ruby-rails/artnp.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_redirected_to <+<+parent+>_<+child+>_path(<+@<+parent+>+>, <+@<+child+>+>)+> diff --git a/bundle/snipmate-snippets/ruby-rails/artnpp.snippet b/bundle/snipmate-snippets/ruby-rails/artnpp.snippet deleted file mode 100644 index becd79b5..00000000 --- a/bundle/snipmate-snippets/ruby-rails/artnpp.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_redirected_to <+<+parent+>_<+child+>_path(<+@<+parent+>+>)+> diff --git a/bundle/snipmate-snippets/ruby-rails/artp.snippet b/bundle/snipmate-snippets/ruby-rails/artp.snippet deleted file mode 100644 index 55b9204a..00000000 --- a/bundle/snipmate-snippets/ruby-rails/artp.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_redirected_to <+<+model+>_path(<+@<+model+>+>)+> diff --git a/bundle/snipmate-snippets/ruby-rails/artpp.snippet b/bundle/snipmate-snippets/ruby-rails/artpp.snippet deleted file mode 100644 index 1d1d203d..00000000 --- a/bundle/snipmate-snippets/ruby-rails/artpp.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_redirected_to <+<+model+>s_path+> diff --git a/bundle/snipmate-snippets/ruby-rails/asd.snippet b/bundle/snipmate-snippets/ruby-rails/asd.snippet deleted file mode 100644 index 35ab7301..00000000 --- a/bundle/snipmate-snippets/ruby-rails/asd.snippet +++ /dev/null @@ -1,3 +0,0 @@ -assert_difference "${1:Model}.${2:count}", $1 do - ${3} -end diff --git a/bundle/snipmate-snippets/ruby-rails/asnd.snippet b/bundle/snipmate-snippets/ruby-rails/asnd.snippet deleted file mode 100644 index c5124e04..00000000 --- a/bundle/snipmate-snippets/ruby-rails/asnd.snippet +++ /dev/null @@ -1,3 +0,0 @@ -assert_no_difference "${1:Model}.${2:count}" do - ${3} -end diff --git a/bundle/snipmate-snippets/ruby-rails/asre.snippet b/bundle/snipmate-snippets/ruby-rails/asre.snippet deleted file mode 100644 index d0ac6b26..00000000 --- a/bundle/snipmate-snippets/ruby-rails/asre.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_response :${1:success}, @response.body${2} diff --git a/bundle/snipmate-snippets/ruby-rails/asrj.snippet b/bundle/snipmate-snippets/ruby-rails/asrj.snippet deleted file mode 100644 index 6ee13f2d..00000000 --- a/bundle/snipmate-snippets/ruby-rails/asrj.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_rjs :<+replace+>, <+"<+dom id+>"+> diff --git a/bundle/snipmate-snippets/ruby-rails/ass.snippet b/bundle/snipmate-snippets/ruby-rails/ass.snippet deleted file mode 100644 index 4cc696f6..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ass.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_select '<+path+>'<+, :<+text+> => <+'<+inner_html+>'+>+> <+do<++>+> diff --git a/bundle/snipmate-snippets/ruby-rails/bf.snippet b/bundle/snipmate-snippets/ruby-rails/bf.snippet deleted file mode 100644 index ad25cc90..00000000 --- a/bundle/snipmate-snippets/ruby-rails/bf.snippet +++ /dev/null @@ -1 +0,0 @@ -before_filter :${1:method} diff --git a/bundle/snipmate-snippets/ruby-rails/bt.snippet b/bundle/snipmate-snippets/ruby-rails/bt.snippet deleted file mode 100644 index b28e1e62..00000000 --- a/bundle/snipmate-snippets/ruby-rails/bt.snippet +++ /dev/null @@ -1 +0,0 @@ -belongs_to :${1:association} diff --git a/bundle/snipmate-snippets/ruby-rails/crw.snippet b/bundle/snipmate-snippets/ruby-rails/crw.snippet deleted file mode 100644 index 3b1ab619..00000000 --- a/bundle/snipmate-snippets/ruby-rails/crw.snippet +++ /dev/null @@ -1 +0,0 @@ -cattr_accessor :${1:attr_names} diff --git a/bundle/snipmate-snippets/ruby-rails/defcreate.snippet b/bundle/snipmate-snippets/ruby-rails/defcreate.snippet deleted file mode 100644 index e878d3a6..00000000 --- a/bundle/snipmate-snippets/ruby-rails/defcreate.snippet +++ /dev/null @@ -1,14 +0,0 @@ -def create - @${1:model_class_name} = ${2:ModelClassName}.new(params[:$1]) - - respond_to do |wants| - if @$1.save - flash[:notice] = '$2 was successfully created.' - wants.html { redirect_to(@$1) } - wants.xml { render :xml => @$1, :status => :created, :location => @$1 } - else - wants.html { render :action => "new" } - wants.xml { render :xml => @$1.errors, :status => :unprocessable_entity } - end - end -end${3} diff --git a/bundle/snipmate-snippets/ruby-rails/defdestroy.snippet b/bundle/snipmate-snippets/ruby-rails/defdestroy.snippet deleted file mode 100644 index 9c340808..00000000 --- a/bundle/snipmate-snippets/ruby-rails/defdestroy.snippet +++ /dev/null @@ -1,9 +0,0 @@ -def destroy - @${1:model_class_name} = ${2:ModelClassName}.find(params[:id]) - @$1.destroy - - respond_to do |wants| - wants.html { redirect_to($1s_url) } - wants.xml { head :ok } - end -end${3} diff --git a/bundle/snipmate-snippets/ruby-rails/defedit.snippet b/bundle/snipmate-snippets/ruby-rails/defedit.snippet deleted file mode 100644 index 0e80dcb8..00000000 --- a/bundle/snipmate-snippets/ruby-rails/defedit.snippet +++ /dev/null @@ -1,3 +0,0 @@ -def edit - @${1:model_class_name} = ${2:ModelClassName}.find(params[:id]) -end diff --git a/bundle/snipmate-snippets/ruby-rails/defindex.snippet b/bundle/snipmate-snippets/ruby-rails/defindex.snippet deleted file mode 100644 index aa776f9a..00000000 --- a/bundle/snipmate-snippets/ruby-rails/defindex.snippet +++ /dev/null @@ -1,8 +0,0 @@ -def index - @${1:model_class_name} = ${2:ModelClassName}.all - - respond_to do |wants| - wants.html # index.html.erb - wants.xml { render :xml => @$1s } - end -end${3} diff --git a/bundle/snipmate-snippets/ruby-rails/defnew.snippet b/bundle/snipmate-snippets/ruby-rails/defnew.snippet deleted file mode 100644 index 0a4762b9..00000000 --- a/bundle/snipmate-snippets/ruby-rails/defnew.snippet +++ /dev/null @@ -1,8 +0,0 @@ -def new - @${1:model_class_name} = ${2:ModelClassName}.new - - respond_to do |wants| - wants.html # new.html.erb - wants.xml { render :xml => @$1 } - end -end${3} diff --git a/bundle/snipmate-snippets/ruby-rails/defshow.snippet b/bundle/snipmate-snippets/ruby-rails/defshow.snippet deleted file mode 100644 index ba745d52..00000000 --- a/bundle/snipmate-snippets/ruby-rails/defshow.snippet +++ /dev/null @@ -1,8 +0,0 @@ -def show - @${1:model_class_name} = ${2:ModelClassName}.find(params[:id]) - - respond_to do |wants| - wants.html # show.html.erb - wants.xml { render :xml => @$1 } - end -end${3} diff --git a/bundle/snipmate-snippets/ruby-rails/defupdate.snippet b/bundle/snipmate-snippets/ruby-rails/defupdate.snippet deleted file mode 100644 index 0556895c..00000000 --- a/bundle/snipmate-snippets/ruby-rails/defupdate.snippet +++ /dev/null @@ -1,14 +0,0 @@ -def update - @${1:model_class_name} = ${2:ModelClassName}.find(params[:id]) - - respond_to do |wants| - if @$1.update_attributes(params[:$1]) - flash[:notice] = '$2 was successfully updated.' - wants.html { redirect_to(@$1) } - wants.xml { head :ok } - else - wants.html { render :action => "edit" } - wants.xml { render :xml => @$1.errors, :status => :unprocessable_entity } - end - end -end${3} diff --git a/bundle/snipmate-snippets/ruby-rails/fina.snippet b/bundle/snipmate-snippets/ruby-rails/fina.snippet deleted file mode 100644 index af5ec413..00000000 --- a/bundle/snipmate-snippets/ruby-rails/fina.snippet +++ /dev/null @@ -1 +0,0 @@ -find(:all<+, :conditions => ['<+<+field+> = ?+>', <+true+>]+>) diff --git a/bundle/snipmate-snippets/ruby-rails/finf.snippet b/bundle/snipmate-snippets/ruby-rails/finf.snippet deleted file mode 100644 index 24ba2da3..00000000 --- a/bundle/snipmate-snippets/ruby-rails/finf.snippet +++ /dev/null @@ -1 +0,0 @@ -find(:first<+, :conditions => ['<+<+field+> = ?+>', <+true+>]+>) diff --git a/bundle/snipmate-snippets/ruby-rails/fini.snippet b/bundle/snipmate-snippets/ruby-rails/fini.snippet deleted file mode 100644 index 96d68a5f..00000000 --- a/bundle/snipmate-snippets/ruby-rails/fini.snippet +++ /dev/null @@ -1 +0,0 @@ -find(<+id+>) diff --git a/bundle/snipmate-snippets/ruby-rails/finl.snippet b/bundle/snipmate-snippets/ruby-rails/finl.snippet deleted file mode 100644 index 7ee6efec..00000000 --- a/bundle/snipmate-snippets/ruby-rails/finl.snippet +++ /dev/null @@ -1 +0,0 @@ -find(:last<+, :conditions => ['<+<+field+> = ?+>', <+true+>]+>) diff --git a/bundle/snipmate-snippets/ruby-rails/flash.snippet b/bundle/snipmate-snippets/ruby-rails/flash.snippet deleted file mode 100644 index 2a069307..00000000 --- a/bundle/snipmate-snippets/ruby-rails/flash.snippet +++ /dev/null @@ -1 +0,0 @@ -flash[:${1:notice}] = "${2}" diff --git a/bundle/snipmate-snippets/ruby-rails/habtm.snippet b/bundle/snipmate-snippets/ruby-rails/habtm.snippet deleted file mode 100644 index 1b27396a..00000000 --- a/bundle/snipmate-snippets/ruby-rails/habtm.snippet +++ /dev/null @@ -1 +0,0 @@ -has_and_belongs_to_many :${1:object}, :join_table => "${2:table_name}", :foreign_key => "${3}_id"${4} diff --git a/bundle/snipmate-snippets/ruby-rails/hm.snippet b/bundle/snipmate-snippets/ruby-rails/hm.snippet deleted file mode 100644 index 9204df56..00000000 --- a/bundle/snipmate-snippets/ruby-rails/hm.snippet +++ /dev/null @@ -1 +0,0 @@ -has_many :${1:object} diff --git a/bundle/snipmate-snippets/ruby-rails/hmd.snippet b/bundle/snipmate-snippets/ruby-rails/hmd.snippet deleted file mode 100644 index 6aadd73b..00000000 --- a/bundle/snipmate-snippets/ruby-rails/hmd.snippet +++ /dev/null @@ -1 +0,0 @@ -has_many :<+object+>s<+, :class_name => "<+object+>", :foreign_key => "<+reference+>_id"+>, :dependent => :destroy<++> diff --git a/bundle/snipmate-snippets/ruby-rails/hmt.snippet b/bundle/snipmate-snippets/ruby-rails/hmt.snippet deleted file mode 100644 index 4128e037..00000000 --- a/bundle/snipmate-snippets/ruby-rails/hmt.snippet +++ /dev/null @@ -1 +0,0 @@ -has_many :${1:object}, :through => :${2:object} diff --git a/bundle/snipmate-snippets/ruby-rails/ho.snippet b/bundle/snipmate-snippets/ruby-rails/ho.snippet deleted file mode 100644 index 77e14e7a..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ho.snippet +++ /dev/null @@ -1 +0,0 @@ -has_one :${1:object} diff --git a/bundle/snipmate-snippets/ruby-rails/i18.snippet b/bundle/snipmate-snippets/ruby-rails/i18.snippet deleted file mode 100644 index 2a30fae0..00000000 --- a/bundle/snipmate-snippets/ruby-rails/i18.snippet +++ /dev/null @@ -1 +0,0 @@ -I18n.t('${1:type.key}')${2} diff --git a/bundle/snipmate-snippets/ruby-rails/ist.snippet b/bundle/snipmate-snippets/ruby-rails/ist.snippet deleted file mode 100644 index d97d4829..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ist.snippet +++ /dev/null @@ -1 +0,0 @@ -<%= image_submit_tag("<+agree.png+>"<+<+, :id => "<+id+>"+><+, :name => "<+name+>"+><+, :class => "<+class+>"+><+, :disabled => <+false+>+>+>) %> diff --git a/bundle/snipmate-snippets/ruby-rails/log.snippet b/bundle/snipmate-snippets/ruby-rails/log.snippet deleted file mode 100644 index 53360dd5..00000000 --- a/bundle/snipmate-snippets/ruby-rails/log.snippet +++ /dev/null @@ -1 +0,0 @@ -RAILS_DEFAULT_LOGGER.${1:debug} ${2} diff --git a/bundle/snipmate-snippets/ruby-rails/logd.snippet b/bundle/snipmate-snippets/ruby-rails/logd.snippet deleted file mode 100644 index 36236a31..00000000 --- a/bundle/snipmate-snippets/ruby-rails/logd.snippet +++ /dev/null @@ -1 +0,0 @@ -logger.debug { "${1:message}" }${2} diff --git a/bundle/snipmate-snippets/ruby-rails/loge.snippet b/bundle/snipmate-snippets/ruby-rails/loge.snippet deleted file mode 100644 index 4417ad2e..00000000 --- a/bundle/snipmate-snippets/ruby-rails/loge.snippet +++ /dev/null @@ -1 +0,0 @@ -logger.error { "${1:message}" }${2} diff --git a/bundle/snipmate-snippets/ruby-rails/logf.snippet b/bundle/snipmate-snippets/ruby-rails/logf.snippet deleted file mode 100644 index 1bd419c8..00000000 --- a/bundle/snipmate-snippets/ruby-rails/logf.snippet +++ /dev/null @@ -1 +0,0 @@ -logger.fatal { "${1:message}" }${2} diff --git a/bundle/snipmate-snippets/ruby-rails/logi.snippet b/bundle/snipmate-snippets/ruby-rails/logi.snippet deleted file mode 100644 index bf508dc1..00000000 --- a/bundle/snipmate-snippets/ruby-rails/logi.snippet +++ /dev/null @@ -1 +0,0 @@ -logger.info { "${1:message}" }${2} diff --git a/bundle/snipmate-snippets/ruby-rails/logw.snippet b/bundle/snipmate-snippets/ruby-rails/logw.snippet deleted file mode 100644 index 447f6886..00000000 --- a/bundle/snipmate-snippets/ruby-rails/logw.snippet +++ /dev/null @@ -1 +0,0 @@ -logger.warn { "${1:message}" }${2} diff --git a/bundle/snipmate-snippets/ruby-rails/mac.snippet b/bundle/snipmate-snippets/ruby-rails/mac.snippet deleted file mode 100644 index 548d4af0..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mac.snippet +++ /dev/null @@ -1 +0,0 @@ -add_column :${1:table}, :${2:column}, :${3:type} diff --git a/bundle/snipmate-snippets/ruby-rails/mapc.snippet b/bundle/snipmate-snippets/ruby-rails/mapc.snippet deleted file mode 100644 index b14ec4ca..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mapc.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:map}.${2:connect} '${3:controller/:action/:id}' diff --git a/bundle/snipmate-snippets/ruby-rails/mapca.snippet b/bundle/snipmate-snippets/ruby-rails/mapca.snippet deleted file mode 100644 index 9292ffe9..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mapca.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:map}.catch_all "*${2:anything}", :controller => "${3:default}", :action => "${4:error}"${5} diff --git a/bundle/snipmate-snippets/ruby-rails/mapr.snippet b/bundle/snipmate-snippets/ruby-rails/mapr.snippet deleted file mode 100644 index 424805b7..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mapr.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:map}.resource :${2:resource} diff --git a/bundle/snipmate-snippets/ruby-rails/maprs.snippet b/bundle/snipmate-snippets/ruby-rails/maprs.snippet deleted file mode 100644 index a18c4df3..00000000 --- a/bundle/snipmate-snippets/ruby-rails/maprs.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:map}.resources :${2:resource} diff --git a/bundle/snipmate-snippets/ruby-rails/mapwo.snippet b/bundle/snipmate-snippets/ruby-rails/mapwo.snippet deleted file mode 100644 index b3cf7911..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mapwo.snippet +++ /dev/null @@ -1,3 +0,0 @@ -${1:map}.with_options :${2:controller} => '${3:thing}' do |$3| - ${4} -end diff --git a/bundle/snipmate-snippets/ruby-rails/mbs.snippet b/bundle/snipmate-snippets/ruby-rails/mbs.snippet deleted file mode 100644 index a3b34bb3..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mbs.snippet +++ /dev/null @@ -1 +0,0 @@ -before_save :${1:method} diff --git a/bundle/snipmate-snippets/ruby-rails/mcc.snippet b/bundle/snipmate-snippets/ruby-rails/mcc.snippet deleted file mode 100644 index 74dc7af0..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mcc.snippet +++ /dev/null @@ -1 +0,0 @@ -change_column :${1:table}, :${2:column}, :${3:type} diff --git a/bundle/snipmate-snippets/ruby-rails/mccc.snippet b/bundle/snipmate-snippets/ruby-rails/mccc.snippet deleted file mode 100644 index 2915a37f..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mccc.snippet +++ /dev/null @@ -1 +0,0 @@ -t.column :${1:title}, :${2:string} diff --git a/bundle/snipmate-snippets/ruby-rails/mcht.snippet b/bundle/snipmate-snippets/ruby-rails/mcht.snippet deleted file mode 100644 index a71b4731..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mcht.snippet +++ /dev/null @@ -1,3 +0,0 @@ -change_table :${1:table_name} do |t| - ${2} -end diff --git a/bundle/snipmate-snippets/ruby-rails/mcol.snippet b/bundle/snipmate-snippets/ruby-rails/mcol.snippet deleted file mode 100644 index 8a5bd1ff..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mcol.snippet +++ /dev/null @@ -1 +0,0 @@ -remove_column :${1:table}, :${2:column} diff --git a/bundle/snipmate-snippets/ruby-rails/mct.snippet b/bundle/snipmate-snippets/ruby-rails/mct.snippet deleted file mode 100644 index 8dbe1eab..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mct.snippet +++ /dev/null @@ -1,3 +0,0 @@ -create_table :${1:table_name} do |t| - t.column :${2:name}, :${3:type} -end diff --git a/bundle/snipmate-snippets/ruby-rails/migration.snippet b/bundle/snipmate-snippets/ruby-rails/migration.snippet deleted file mode 100644 index 9f54e0b9..00000000 --- a/bundle/snipmate-snippets/ruby-rails/migration.snippet +++ /dev/null @@ -1,8 +0,0 @@ -class ${1:`Snippet_MigrationNameFromFilename()`} < ActiveRecord::Migration - def self.up - ${2} - end - - def self.down - end -end diff --git a/bundle/snipmate-snippets/ruby-rails/mp.snippet b/bundle/snipmate-snippets/ruby-rails/mp.snippet deleted file mode 100644 index 1264a595..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mp.snippet +++ /dev/null @@ -1 +0,0 @@ -map(&:${1:id}) diff --git a/bundle/snipmate-snippets/ruby-rails/mrc.snippet b/bundle/snipmate-snippets/ruby-rails/mrc.snippet deleted file mode 100644 index aaeba258..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mrc.snippet +++ /dev/null @@ -1 +0,0 @@ -remove_column :${1:column} diff --git a/bundle/snipmate-snippets/ruby-rails/mrmc.snippet b/bundle/snipmate-snippets/ruby-rails/mrmc.snippet deleted file mode 100644 index 8a5bd1ff..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mrmc.snippet +++ /dev/null @@ -1 +0,0 @@ -remove_column :${1:table}, :${2:column} diff --git a/bundle/snipmate-snippets/ruby-rails/mrnc.snippet b/bundle/snipmate-snippets/ruby-rails/mrnc.snippet deleted file mode 100644 index 6e167210..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mrnc.snippet +++ /dev/null @@ -1 +0,0 @@ -rename_column :${1:table}, :${2:old}, :${3:new} diff --git a/bundle/snipmate-snippets/ruby-rails/mrw.snippet b/bundle/snipmate-snippets/ruby-rails/mrw.snippet deleted file mode 100644 index 9ef0f8fe..00000000 --- a/bundle/snipmate-snippets/ruby-rails/mrw.snippet +++ /dev/null @@ -1 +0,0 @@ -mattr_accessor :${1:attr_names} diff --git a/bundle/snipmate-snippets/ruby-rails/nc.snippet b/bundle/snipmate-snippets/ruby-rails/nc.snippet deleted file mode 100644 index cfc42ca4..00000000 --- a/bundle/snipmate-snippets/ruby-rails/nc.snippet +++ /dev/null @@ -1 +0,0 @@ -named_scope :<+name+><+, :joins => :<+table+>+>, :conditions => <+['<+<+field+> = ?+>', <+true+>]+> diff --git a/bundle/snipmate-snippets/ruby-rails/ncl.snippet b/bundle/snipmate-snippets/ruby-rails/ncl.snippet deleted file mode 100644 index c420ef2f..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ncl.snippet +++ /dev/null @@ -1 +0,0 @@ -named_scope :<+name+>, lambda { |<+param+>| { :conditions => <+['<+<+field+> = ?+>', <+param+>]+> } } diff --git a/bundle/snipmate-snippets/ruby-rails/pa.snippet b/bundle/snipmate-snippets/ruby-rails/pa.snippet deleted file mode 100644 index 14fa54fb..00000000 --- a/bundle/snipmate-snippets/ruby-rails/pa.snippet +++ /dev/null @@ -1 +0,0 @@ -params[:${1:id}]${2} diff --git a/bundle/snipmate-snippets/ruby-rails/ra.snippet b/bundle/snipmate-snippets/ruby-rails/ra.snippet deleted file mode 100644 index 56a9bbf6..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ra.snippet +++ /dev/null @@ -1 +0,0 @@ -render :action => "${1:action}" diff --git a/bundle/snipmate-snippets/ruby-rails/ral.snippet b/bundle/snipmate-snippets/ruby-rails/ral.snippet deleted file mode 100644 index 0a0b202d..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ral.snippet +++ /dev/null @@ -1 +0,0 @@ -render :action => "${1:action}", :layout => "${2:layoutname}" diff --git a/bundle/snipmate-snippets/ruby-rails/rest.snippet b/bundle/snipmate-snippets/ruby-rails/rest.snippet deleted file mode 100644 index 7938f9d6..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rest.snippet +++ /dev/null @@ -1,3 +0,0 @@ -respond_to do |wants| - wants.${1:html} <+{ <++> }+> -end diff --git a/bundle/snipmate-snippets/ruby-rails/rf.snippet b/bundle/snipmate-snippets/ruby-rails/rf.snippet deleted file mode 100644 index 76fcdb1d..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rf.snippet +++ /dev/null @@ -1 +0,0 @@ -render :file => "${1:filepath}" diff --git a/bundle/snipmate-snippets/ruby-rails/rfu.snippet b/bundle/snipmate-snippets/ruby-rails/rfu.snippet deleted file mode 100644 index c0bb72bf..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rfu.snippet +++ /dev/null @@ -1 +0,0 @@ -render :file => "${1:filepath}", :use_full_path => ${2:false} diff --git a/bundle/snipmate-snippets/ruby-rails/ri.snippet b/bundle/snipmate-snippets/ruby-rails/ri.snippet deleted file mode 100644 index 17a04048..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ri.snippet +++ /dev/null @@ -1 +0,0 @@ -render :inline => "<+<%= 'hello' %>+>" diff --git a/bundle/snipmate-snippets/ruby-rails/ril.snippet b/bundle/snipmate-snippets/ruby-rails/ril.snippet deleted file mode 100644 index b1801aa4..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ril.snippet +++ /dev/null @@ -1 +0,0 @@ -render :inline => "${1:<%= 'hello' %>}", :locals => { ${2::name} => "${3:value}"${4} } diff --git a/bundle/snipmate-snippets/ruby-rails/rit.snippet b/bundle/snipmate-snippets/ruby-rails/rit.snippet deleted file mode 100644 index b3cd8343..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rit.snippet +++ /dev/null @@ -1 +0,0 @@ -render :inline => "${1:<%= 'hello' %>}", :type => ${2::rxml} diff --git a/bundle/snipmate-snippets/ruby-rails/rjson.snippet b/bundle/snipmate-snippets/ruby-rails/rjson.snippet deleted file mode 100644 index fece1fcc..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rjson.snippet +++ /dev/null @@ -1 +0,0 @@ -render :json => ${1:text to render} diff --git a/bundle/snipmate-snippets/ruby-rails/rl.snippet b/bundle/snipmate-snippets/ruby-rails/rl.snippet deleted file mode 100644 index 53e8340a..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rl.snippet +++ /dev/null @@ -1 +0,0 @@ -render :layout => "${1:layoutname}" diff --git a/bundle/snipmate-snippets/ruby-rails/rn.snippet b/bundle/snipmate-snippets/ruby-rails/rn.snippet deleted file mode 100644 index 6c6b0fec..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rn.snippet +++ /dev/null @@ -1 +0,0 @@ -render :nothing => ${1:true} diff --git a/bundle/snipmate-snippets/ruby-rails/rns.snippet b/bundle/snipmate-snippets/ruby-rails/rns.snippet deleted file mode 100644 index d1a581f8..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rns.snippet +++ /dev/null @@ -1 +0,0 @@ -render :nothing => ${1:true}, :status => ${2:401} diff --git a/bundle/snipmate-snippets/ruby-rails/rp.snippet b/bundle/snipmate-snippets/ruby-rails/rp.snippet deleted file mode 100644 index 0c5daa25..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rp.snippet +++ /dev/null @@ -1 +0,0 @@ -render :partial => "${1:item}" diff --git a/bundle/snipmate-snippets/ruby-rails/rpc.snippet b/bundle/snipmate-snippets/ruby-rails/rpc.snippet deleted file mode 100644 index 570644b5..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rpc.snippet +++ /dev/null @@ -1 +0,0 @@ -render :partial => "<+item+>", :collection => <+@<+item+>s+> diff --git a/bundle/snipmate-snippets/ruby-rails/rpl.snippet b/bundle/snipmate-snippets/ruby-rails/rpl.snippet deleted file mode 100644 index 6981fbc3..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rpl.snippet +++ /dev/null @@ -1 +0,0 @@ -render :partial => "<+item+>", :locals => { :<+item+> => <+@<+item+>+><++> } diff --git a/bundle/snipmate-snippets/ruby-rails/rpo.snippet b/bundle/snipmate-snippets/ruby-rails/rpo.snippet deleted file mode 100644 index bab9da96..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rpo.snippet +++ /dev/null @@ -1 +0,0 @@ -render :partial => "<+item+>", :object => <+@<+item+>+> diff --git a/bundle/snipmate-snippets/ruby-rails/rps.snippet b/bundle/snipmate-snippets/ruby-rails/rps.snippet deleted file mode 100644 index aef4c494..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rps.snippet +++ /dev/null @@ -1 +0,0 @@ -render :partial => "${1:item}", :status => ${2:500} diff --git a/bundle/snipmate-snippets/ruby-rails/rt.snippet b/bundle/snipmate-snippets/ruby-rails/rt.snippet deleted file mode 100644 index c464879c..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rt.snippet +++ /dev/null @@ -1 +0,0 @@ -render :text => "${1:text to render}" diff --git a/bundle/snipmate-snippets/ruby-rails/rtl.snippet b/bundle/snipmate-snippets/ruby-rails/rtl.snippet deleted file mode 100644 index fc78bf14..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rtl.snippet +++ /dev/null @@ -1 +0,0 @@ -render :text => "${1:text to render}", :layout => "${2:layoutname}" diff --git a/bundle/snipmate-snippets/ruby-rails/rtlt.snippet b/bundle/snipmate-snippets/ruby-rails/rtlt.snippet deleted file mode 100644 index 69618be0..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rtlt.snippet +++ /dev/null @@ -1 +0,0 @@ -render :text => "${1:text to render}", :layout => ${2:true} diff --git a/bundle/snipmate-snippets/ruby-rails/rts.snippet b/bundle/snipmate-snippets/ruby-rails/rts.snippet deleted file mode 100644 index 04fe409d..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rts.snippet +++ /dev/null @@ -1 +0,0 @@ -render :text => "${1:text to render}", :status => ${2:401} diff --git a/bundle/snipmate-snippets/ruby-rails/ru.snippet b/bundle/snipmate-snippets/ruby-rails/ru.snippet deleted file mode 100644 index 3a2d1ed0..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ru.snippet +++ /dev/null @@ -1,3 +0,0 @@ -render :update do |${1:page}| - $1.${2} -end diff --git a/bundle/snipmate-snippets/ruby-rails/rxml.snippet b/bundle/snipmate-snippets/ruby-rails/rxml.snippet deleted file mode 100644 index e4e721a0..00000000 --- a/bundle/snipmate-snippets/ruby-rails/rxml.snippet +++ /dev/null @@ -1 +0,0 @@ -render :xml => ${1:text to render} diff --git a/bundle/snipmate-snippets/ruby-rails/sha1.snippet b/bundle/snipmate-snippets/ruby-rails/sha1.snippet deleted file mode 100644 index 19847471..00000000 --- a/bundle/snipmate-snippets/ruby-rails/sha1.snippet +++ /dev/null @@ -1 +0,0 @@ -Digest::SHA1.hexdigest(${1:string}) diff --git a/bundle/snipmate-snippets/ruby-rails/sweeper.snippet b/bundle/snipmate-snippets/ruby-rails/sweeper.snippet deleted file mode 100644 index 659aeb0d..00000000 --- a/bundle/snipmate-snippets/ruby-rails/sweeper.snippet +++ /dev/null @@ -1,15 +0,0 @@ -class ${1:ModelClassName}Sweeper < ActionController::Caching::Sweeper - observe $1 - - def after_save(${2:model_class_name}) - expire_cache($2) - end - - def after_destroy($2) - expire_cache($2) - end - - def expire_cache($2) - expire_page - end -end diff --git a/bundle/snipmate-snippets/ruby-rails/tcb.snippet b/bundle/snipmate-snippets/ruby-rails/tcb.snippet deleted file mode 100644 index 021740df..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcb.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.boolean :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tcbi.snippet b/bundle/snipmate-snippets/ruby-rails/tcbi.snippet deleted file mode 100644 index 3e6d3c9c..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcbi.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.binary :<+title+><+, :limit => <+2+>.megabytes+> -<++> diff --git a/bundle/snipmate-snippets/ruby-rails/tcd.snippet b/bundle/snipmate-snippets/ruby-rails/tcd.snippet deleted file mode 100644 index 0932f2c1..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcd.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.decimal :<+title+><+<+, :precision => <+10+>+><+, :scale => <+2+>+>+> -<++> diff --git a/bundle/snipmate-snippets/ruby-rails/tcda.snippet b/bundle/snipmate-snippets/ruby-rails/tcda.snippet deleted file mode 100644 index b716e8b0..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcda.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.date :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tcdt.snippet b/bundle/snipmate-snippets/ruby-rails/tcdt.snippet deleted file mode 100644 index d060532e..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcdt.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.datetime :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tcf.snippet b/bundle/snipmate-snippets/ruby-rails/tcf.snippet deleted file mode 100644 index f09f7904..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcf.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.float :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tch.snippet b/bundle/snipmate-snippets/ruby-rails/tch.snippet deleted file mode 100644 index bcce7271..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tch.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.change :<+name+><+, :<+string+><+, :<+limit+> => <+80+>+>+> -<++> diff --git a/bundle/snipmate-snippets/ruby-rails/tci.snippet b/bundle/snipmate-snippets/ruby-rails/tci.snippet deleted file mode 100644 index 7cb011ca..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tci.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.integer :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tcl.snippet b/bundle/snipmate-snippets/ruby-rails/tcl.snippet deleted file mode 100644 index ffa359f5..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcl.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.integer :lock_version, :null => false, :default => 0 -${1} diff --git a/bundle/snipmate-snippets/ruby-rails/tcr.snippet b/bundle/snipmate-snippets/ruby-rails/tcr.snippet deleted file mode 100644 index 2b421dd7..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcr.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.references :<+taggable+><+, :polymorphic => <+{ :default => '<+Photo+>' }+>+> -<++> diff --git a/bundle/snipmate-snippets/ruby-rails/tcs.snippet b/bundle/snipmate-snippets/ruby-rails/tcs.snippet deleted file mode 100644 index a7b8473b..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcs.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.string :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tct.snippet b/bundle/snipmate-snippets/ruby-rails/tct.snippet deleted file mode 100644 index f28518f4..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tct.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.text :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tcti.snippet b/bundle/snipmate-snippets/ruby-rails/tcti.snippet deleted file mode 100644 index 0006c819..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcti.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.time :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tcts.snippet b/bundle/snipmate-snippets/ruby-rails/tcts.snippet deleted file mode 100644 index e46e844c..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tcts.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.timestamp :${1:title} -${2} diff --git a/bundle/snipmate-snippets/ruby-rails/tctss.snippet b/bundle/snipmate-snippets/ruby-rails/tctss.snippet deleted file mode 100644 index f009ee62..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tctss.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.timestamps -${1} diff --git a/bundle/snipmate-snippets/ruby-rails/trc.snippet b/bundle/snipmate-snippets/ruby-rails/trc.snippet deleted file mode 100644 index 2d6250ab..00000000 --- a/bundle/snipmate-snippets/ruby-rails/trc.snippet +++ /dev/null @@ -1 +0,0 @@ -t.remove :${1:column} diff --git a/bundle/snipmate-snippets/ruby-rails/tre.snippet b/bundle/snipmate-snippets/ruby-rails/tre.snippet deleted file mode 100644 index 8f70788c..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tre.snippet +++ /dev/null @@ -1,2 +0,0 @@ -t.rename :<+old_column_name+>, :<+new_column_name+> -<++> diff --git a/bundle/snipmate-snippets/ruby-rails/tref.snippet b/bundle/snipmate-snippets/ruby-rails/tref.snippet deleted file mode 100644 index 12867868..00000000 --- a/bundle/snipmate-snippets/ruby-rails/tref.snippet +++ /dev/null @@ -1 +0,0 @@ -t.references :${1:model} diff --git a/bundle/snipmate-snippets/ruby-rails/va.snippet b/bundle/snipmate-snippets/ruby-rails/va.snippet deleted file mode 100644 index 064bb7b2..00000000 --- a/bundle/snipmate-snippets/ruby-rails/va.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_associated :${1:attribute} diff --git a/bundle/snipmate-snippets/ruby-rails/vao.snippet b/bundle/snipmate-snippets/ruby-rails/vao.snippet deleted file mode 100644 index 4c6c98b6..00000000 --- a/bundle/snipmate-snippets/ruby-rails/vao.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_acceptance_of :${1:terms} diff --git a/bundle/snipmate-snippets/ruby-rails/vc.snippet b/bundle/snipmate-snippets/ruby-rails/vc.snippet deleted file mode 100644 index 0aa1a75d..00000000 --- a/bundle/snipmate-snippets/ruby-rails/vc.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_confirmation_of :${1:attribute} diff --git a/bundle/snipmate-snippets/ruby-rails/ve.snippet b/bundle/snipmate-snippets/ruby-rails/ve.snippet deleted file mode 100644 index b6a4c4d5..00000000 --- a/bundle/snipmate-snippets/ruby-rails/ve.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_exclusion_of :${1:attribute}, :in => ${2:%w( mov avi )} diff --git a/bundle/snipmate-snippets/ruby-rails/vf.snippet b/bundle/snipmate-snippets/ruby-rails/vf.snippet deleted file mode 100644 index adc142c7..00000000 --- a/bundle/snipmate-snippets/ruby-rails/vf.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_format_of :${1:attribute}, :with => /${2:regex}/ diff --git a/bundle/snipmate-snippets/ruby-rails/vi.snippet b/bundle/snipmate-snippets/ruby-rails/vi.snippet deleted file mode 100644 index 8ba16d2e..00000000 --- a/bundle/snipmate-snippets/ruby-rails/vi.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_inclusion_of :${1:attribute}, :in => %w(${2: mov avi }) diff --git a/bundle/snipmate-snippets/ruby-rails/vl.snippet b/bundle/snipmate-snippets/ruby-rails/vl.snippet deleted file mode 100644 index 71d802bd..00000000 --- a/bundle/snipmate-snippets/ruby-rails/vl.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_length_of :${1:attribute}, :within => ${2:3}..${3:20} diff --git a/bundle/snipmate-snippets/ruby-rails/vn.snippet b/bundle/snipmate-snippets/ruby-rails/vn.snippet deleted file mode 100644 index 34bfaa72..00000000 --- a/bundle/snipmate-snippets/ruby-rails/vn.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_numericality_of :${1:attribute} diff --git a/bundle/snipmate-snippets/ruby-rails/vpo.snippet b/bundle/snipmate-snippets/ruby-rails/vpo.snippet deleted file mode 100644 index c8fdff9c..00000000 --- a/bundle/snipmate-snippets/ruby-rails/vpo.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_presence_of :${1:attribute} diff --git a/bundle/snipmate-snippets/ruby-rails/vu.snippet b/bundle/snipmate-snippets/ruby-rails/vu.snippet deleted file mode 100644 index 0c06e655..00000000 --- a/bundle/snipmate-snippets/ruby-rails/vu.snippet +++ /dev/null @@ -1 +0,0 @@ -validates_uniqueness_of :${1:attribute} diff --git a/bundle/snipmate-snippets/ruby-rails/wants.snippet b/bundle/snipmate-snippets/ruby-rails/wants.snippet deleted file mode 100644 index 909c8d59..00000000 --- a/bundle/snipmate-snippets/ruby-rails/wants.snippet +++ /dev/null @@ -1 +0,0 @@ -wants.<+js|xml|html+> <+{ <++> }+> diff --git a/bundle/snipmate-snippets/ruby-rails/xdelete.snippet b/bundle/snipmate-snippets/ruby-rails/xdelete.snippet deleted file mode 100644 index 41184e9e..00000000 --- a/bundle/snipmate-snippets/ruby-rails/xdelete.snippet +++ /dev/null @@ -1 +0,0 @@ -xhr :delete, :${1:destroy}, :id => ${2:1}${3} diff --git a/bundle/snipmate-snippets/ruby-rails/xget.snippet b/bundle/snipmate-snippets/ruby-rails/xget.snippet deleted file mode 100644 index 1ae7834e..00000000 --- a/bundle/snipmate-snippets/ruby-rails/xget.snippet +++ /dev/null @@ -1 +0,0 @@ -xhr :get, :<+show+><+, :id => <+1+>+><++> diff --git a/bundle/snipmate-snippets/ruby-rails/xpost.snippet b/bundle/snipmate-snippets/ruby-rails/xpost.snippet deleted file mode 100644 index 3681a95f..00000000 --- a/bundle/snipmate-snippets/ruby-rails/xpost.snippet +++ /dev/null @@ -1 +0,0 @@ -xhr :post, :${1:create}, :${2:object} => { ${3} } diff --git a/bundle/snipmate-snippets/ruby-rails/xput.snippet b/bundle/snipmate-snippets/ruby-rails/xput.snippet deleted file mode 100644 index f046f2ea..00000000 --- a/bundle/snipmate-snippets/ruby-rails/xput.snippet +++ /dev/null @@ -1 +0,0 @@ -xhr :put, :${1:update}, :id => ${2:1}, :${3:object} => { ${4} }${5} diff --git a/bundle/snipmate-snippets/ruby-rspec/aft.snippet b/bundle/snipmate-snippets/ruby-rspec/aft.snippet deleted file mode 100644 index 528f1b30..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/aft.snippet +++ /dev/null @@ -1,3 +0,0 @@ -after(${1::each}) do - ${2} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/annot.snippet b/bundle/snipmate-snippets/ruby-rspec/annot.snippet deleted file mode 100644 index 7199170c..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/annot.snippet +++ /dev/null @@ -1 +0,0 @@ -any_number_of_times diff --git a/bundle/snipmate-snippets/ruby-rspec/anr.snippet b/bundle/snipmate-snippets/ruby-rspec/anr.snippet deleted file mode 100644 index 573addd5..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/anr.snippet +++ /dev/null @@ -1 +0,0 @@ -and_return(${1:value}) diff --git a/bundle/snipmate-snippets/ruby-rspec/anra.snippet b/bundle/snipmate-snippets/ruby-rspec/anra.snippet deleted file mode 100644 index ab03deb4..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/anra.snippet +++ /dev/null @@ -1 +0,0 @@ -and_raise(${1:exception}) diff --git a/bundle/snipmate-snippets/ruby-rspec/anrb.snippet b/bundle/snipmate-snippets/ruby-rspec/anrb.snippet deleted file mode 100644 index e313a512..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/anrb.snippet +++ /dev/null @@ -1 +0,0 @@ -and_return { ${1} } diff --git a/bundle/snipmate-snippets/ruby-rspec/ant.snippet b/bundle/snipmate-snippets/ruby-rspec/ant.snippet deleted file mode 100644 index d230e92c..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/ant.snippet +++ /dev/null @@ -1 +0,0 @@ -and_throw(${1:sym}) diff --git a/bundle/snipmate-snippets/ruby-rspec/any.snippet b/bundle/snipmate-snippets/ruby-rspec/any.snippet deleted file mode 100644 index 34c08d69..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/any.snippet +++ /dev/null @@ -1 +0,0 @@ -and_yield(${1:values}) diff --git a/bundle/snipmate-snippets/ruby-rspec/atl.snippet b/bundle/snipmate-snippets/ruby-rspec/atl.snippet deleted file mode 100644 index b95128bb..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/atl.snippet +++ /dev/null @@ -1 +0,0 @@ -at_least(${1:n}).times diff --git a/bundle/snipmate-snippets/ruby-rspec/atm.snippet b/bundle/snipmate-snippets/ruby-rspec/atm.snippet deleted file mode 100644 index fa5c6060..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/atm.snippet +++ /dev/null @@ -1 +0,0 @@ -at_most(${1:n}).times diff --git a/bundle/snipmate-snippets/ruby-rspec/bef.snippet b/bundle/snipmate-snippets/ruby-rspec/bef.snippet deleted file mode 100644 index f96608c5..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/bef.snippet +++ /dev/null @@ -1,3 +0,0 @@ -before(${1::each}) do - ${2} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/conn.snippet b/bundle/snipmate-snippets/ruby-rspec/conn.snippet deleted file mode 100644 index 4bd9d239..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/conn.snippet +++ /dev/null @@ -1 +0,0 @@ -controller_name :${1:controller} diff --git a/bundle/snipmate-snippets/ruby-rspec/des.snippet b/bundle/snipmate-snippets/ruby-rspec/des.snippet deleted file mode 100644 index 44c75845..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/des.snippet +++ /dev/null @@ -1,3 +0,0 @@ -describe "${1:subject}" do - ${2} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/desc.snippet b/bundle/snipmate-snippets/ruby-rspec/desc.snippet deleted file mode 100644 index 6311aa1d..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/desc.snippet +++ /dev/null @@ -1,5 +0,0 @@ -require 'spec_helper' - -describe ${1:`Snippet_RubyClassNameFromFilename()`} do - ${2} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/desrc.snippet b/bundle/snipmate-snippets/ruby-rspec/desrc.snippet deleted file mode 100644 index a9c8ac2b..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/desrc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -describe ${1:controller}, "${2:GET|POST|PUT|DELETE} ${3:/some/path}${4}" do - ${5} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/dest.snippet b/bundle/snipmate-snippets/ruby-rspec/dest.snippet deleted file mode 100644 index b3b3e01a..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/dest.snippet +++ /dev/null @@ -1,3 +0,0 @@ -describe ${1:Type} do - ${2} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/dests.snippet b/bundle/snipmate-snippets/ruby-rspec/dests.snippet deleted file mode 100644 index 89e9372c..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/dests.snippet +++ /dev/null @@ -1,3 +0,0 @@ -describe ${1:Type}, "${2:description}" do - ${3} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/ex.snippet b/bundle/snipmate-snippets/ruby-rspec/ex.snippet deleted file mode 100644 index 2e5a4a01..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/ex.snippet +++ /dev/null @@ -1 +0,0 @@ -exactly(${1:n}).times diff --git a/bundle/snipmate-snippets/ruby-rspec/isbl.snippet b/bundle/snipmate-snippets/ruby-rspec/isbl.snippet deleted file mode 100644 index 728223f0..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/isbl.snippet +++ /dev/null @@ -1 +0,0 @@ -it_should_behave_like '${1:do something}' diff --git a/bundle/snipmate-snippets/ruby-rspec/it.snippet b/bundle/snipmate-snippets/ruby-rspec/it.snippet deleted file mode 100644 index 8af38db4..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/it.snippet +++ /dev/null @@ -1,3 +0,0 @@ -it "${1}" do - ${2} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/its.snippet b/bundle/snipmate-snippets/ruby-rspec/its.snippet deleted file mode 100644 index 963f4041..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/its.snippet +++ /dev/null @@ -1 +0,0 @@ -it "should ${1:do something}" do${2} diff --git a/bundle/snipmate-snippets/ruby-rspec/mat.snippet b/bundle/snipmate-snippets/ruby-rspec/mat.snippet deleted file mode 100644 index 2f047710..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/mat.snippet +++ /dev/null @@ -1,24 +0,0 @@ -class ${1:ReverseTo} - def initialize(${2:param}) - @$2 = $2 - end - - def matches?(actual) - @actual = actual - # Satisfy expectation here. Return false or raise an error if it's not met. - ${3:@actual.reverse.should == @$2} - true - end - - def failure_message - "expected #{@actual.inspect} to ${4} #{@$2.inspect}, but it didn't" - end - - def negative_failure_message - "expected #{@actual.inspect} not to ${5} #{@$2.inspect}, but it did" - end -end - -def ${6:reverse_to}(${7:expected}) - ${8}.new($7) -end diff --git a/bundle/snipmate-snippets/ruby-rspec/mm.snippet b/bundle/snipmate-snippets/ruby-rspec/mm.snippet deleted file mode 100644 index b10aa1d5..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/mm.snippet +++ /dev/null @@ -1 +0,0 @@ -mock_model(${1:model})${2} diff --git a/bundle/snipmate-snippets/ruby-rspec/moc.snippet b/bundle/snipmate-snippets/ruby-rspec/moc.snippet deleted file mode 100644 index 4ff954f1..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/moc.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:var} = mock("${2:mock_name}"${3:, :null_object => true}) -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/mocw.snippet b/bundle/snipmate-snippets/ruby-rspec/mocw.snippet deleted file mode 100644 index 09f93e07..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/mocw.snippet +++ /dev/null @@ -1,3 +0,0 @@ -Spec::Runner.configure do |config| - config.mock_with :${1:mocha|flexmock|rr} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/on.snippet b/bundle/snipmate-snippets/ruby-rspec/on.snippet deleted file mode 100644 index b2d1a776..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/on.snippet +++ /dev/null @@ -1 +0,0 @@ -once diff --git a/bundle/snipmate-snippets/ruby-rspec/resh.snippet b/bundle/snipmate-snippets/ruby-rspec/resh.snippet deleted file mode 100644 index 91cd5b06..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/resh.snippet +++ /dev/null @@ -1 +0,0 @@ -require File.dirname(__FILE__) + '/../spec_helper' diff --git a/bundle/snipmate-snippets/ruby-rspec/sef.snippet b/bundle/snipmate-snippets/ruby-rspec/sef.snippet deleted file mode 100644 index 89d34116..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/sef.snippet +++ /dev/null @@ -1,3 +0,0 @@ -shared_examples_for "${1:do something}" do - ${2} -end diff --git a/bundle/snipmate-snippets/ruby-rspec/sh.snippet b/bundle/snipmate-snippets/ruby-rspec/sh.snippet deleted file mode 100644 index 67530e9d..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/sh.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should == ${2:value} -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shb.snippet b/bundle/snipmate-snippets/ruby-rspec/shb.snippet deleted file mode 100644 index b909d9c0..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shb.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should be(${2:result}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shbc.snippet b/bundle/snipmate-snippets/ruby-rspec/shbc.snippet deleted file mode 100644 index 9080a3c2..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shbc.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should be_close(${2:result}, ${3:tolerance}) -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/shbio.snippet b/bundle/snipmate-snippets/ruby-rspec/shbio.snippet deleted file mode 100644 index 98a73893..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shbio.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should be_instance_of(${2:class}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shbko.snippet b/bundle/snipmate-snippets/ruby-rspec/shbko.snippet deleted file mode 100644 index 74bf8520..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shbko.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should be_a_kind_of(${2:class}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shbr.snippet b/bundle/snipmate-snippets/ruby-rspec/shbr.snippet deleted file mode 100644 index 887ef800..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shbr.snippet +++ /dev/null @@ -1,2 +0,0 @@ -response.should be_redirect -${1} diff --git a/bundle/snipmate-snippets/ruby-rspec/shbs.snippet b/bundle/snipmate-snippets/ruby-rspec/shbs.snippet deleted file mode 100644 index 602074b5..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shbs.snippet +++ /dev/null @@ -1,2 +0,0 @@ -response.should be_success -${1} diff --git a/bundle/snipmate-snippets/ruby-rspec/shc.snippet b/bundle/snipmate-snippets/ruby-rspec/shc.snippet deleted file mode 100644 index 16206fa1..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -lambda do - ${1} -end.should change(${2:target}, :${3:method}).from(${4:old_value}).to(${5:new_value}).by(${6:change}) diff --git a/bundle/snipmate-snippets/ruby-rspec/shdm.snippet b/bundle/snipmate-snippets/ruby-rspec/shdm.snippet deleted file mode 100644 index e82d82e7..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shdm.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should match(/${2:regexp}/) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/she.snippet b/bundle/snipmate-snippets/ruby-rspec/she.snippet deleted file mode 100644 index f896a26e..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/she.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should eql(${2:value}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/sheq.snippet b/bundle/snipmate-snippets/ruby-rspec/sheq.snippet deleted file mode 100644 index e3c389e6..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/sheq.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should equal(${2:value}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shh.snippet b/bundle/snipmate-snippets/ruby-rspec/shh.snippet deleted file mode 100644 index 93189cb8..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shh.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should have(${2:num}).${3:things} -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/shhal.snippet b/bundle/snipmate-snippets/ruby-rspec/shhal.snippet deleted file mode 100644 index dabe237a..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shhal.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should have_at_least(${2:num}).${3:things} -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/shham.snippet b/bundle/snipmate-snippets/ruby-rspec/shham.snippet deleted file mode 100644 index 7072add1..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shham.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should have_at_most(${2:num}).${3:things} -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/shhr.snippet b/bundle/snipmate-snippets/ruby-rspec/shhr.snippet deleted file mode 100644 index b8a8997f..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shhr.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should have(${2:n}).records -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shn.snippet b/bundle/snipmate-snippets/ruby-rspec/shn.snippet deleted file mode 100644 index b19cbb67..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shn.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not == ${2:value} -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnb.snippet b/bundle/snipmate-snippets/ruby-rspec/shnb.snippet deleted file mode 100644 index a34d62e5..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnb.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not be(${2:result}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnbc.snippet b/bundle/snipmate-snippets/ruby-rspec/shnbc.snippet deleted file mode 100644 index 55ac6d3a..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnbc.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not be_close(${2:result}, ${3:tolerance}) -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnbio.snippet b/bundle/snipmate-snippets/ruby-rspec/shnbio.snippet deleted file mode 100644 index b6f15267..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnbio.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not be_instance_of(${2:klass}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnbko.snippet b/bundle/snipmate-snippets/ruby-rspec/shnbko.snippet deleted file mode 100644 index 0b0cfc7f..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnbko.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not be_a_kind_of(${2:klass}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnbr.snippet b/bundle/snipmate-snippets/ruby-rspec/shnbr.snippet deleted file mode 100644 index 25519b08..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnbr.snippet +++ /dev/null @@ -1,2 +0,0 @@ -response.should_not be_redirect -${1} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnbs.snippet b/bundle/snipmate-snippets/ruby-rspec/shnbs.snippet deleted file mode 100644 index 7d35ab20..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnbs.snippet +++ /dev/null @@ -1,2 +0,0 @@ -response.should_not be_success -${1} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnc.snippet b/bundle/snipmate-snippets/ruby-rspec/shnc.snippet deleted file mode 100644 index 7baead27..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnc.snippet +++ /dev/null @@ -1,3 +0,0 @@ -lambda do - ${1} -end.should_not change(${2:target}, :${3:method}) diff --git a/bundle/snipmate-snippets/ruby-rspec/shne.snippet b/bundle/snipmate-snippets/ruby-rspec/shne.snippet deleted file mode 100644 index 68a7451c..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shne.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not eql(${2:value}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shneq.snippet b/bundle/snipmate-snippets/ruby-rspec/shneq.snippet deleted file mode 100644 index da4f59b9..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shneq.snippet +++ /dev/null @@ -1,2 +0,0 @@ - ${1:target}.should_not equal(${2:value}) - ${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnm.snippet b/bundle/snipmate-snippets/ruby-rspec/shnm.snippet deleted file mode 100644 index ee7b6043..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnm.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not match(/${2:regexp}/) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnp.snippet b/bundle/snipmate-snippets/ruby-rspec/shnp.snippet deleted file mode 100644 index 9f1298b7..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnp.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:target}.should_not be_${2:predicate} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnr.snippet b/bundle/snipmate-snippets/ruby-rspec/shnr.snippet deleted file mode 100644 index 98c0fc08..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnr.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:mock}.should_not_receive(:${2:message})${3} -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnre.snippet b/bundle/snipmate-snippets/ruby-rspec/shnre.snippet deleted file mode 100644 index fbf9604e..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnre.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not raise_error(${2:error}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnredt.snippet b/bundle/snipmate-snippets/ruby-rspec/shnredt.snippet deleted file mode 100644 index 2afb69cc..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnredt.snippet +++ /dev/null @@ -1,2 +0,0 @@ -response.should_not redirect_to(${1:url}) -${2} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnrt.snippet b/bundle/snipmate-snippets/ruby-rspec/shnrt.snippet deleted file mode 100644 index c2c5f2cb..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnrt.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not respond_to(:${2:sym}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shns.snippet b/bundle/snipmate-snippets/ruby-rspec/shns.snippet deleted file mode 100644 index b73a71c8..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shns.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should_not satisfy { |${2:obj}| ${3} } -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/shnt.snippet b/bundle/snipmate-snippets/ruby-rspec/shnt.snippet deleted file mode 100644 index 0353376b..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shnt.snippet +++ /dev/null @@ -1,2 +0,0 @@ -lambda { ${1} }.should_not throw_symbol(:${2:symbol}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shp.snippet b/bundle/snipmate-snippets/ruby-rspec/shp.snippet deleted file mode 100644 index 9267b612..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shp.snippet +++ /dev/null @@ -1 +0,0 @@ -${1:target}.should be_${2:predicate} diff --git a/bundle/snipmate-snippets/ruby-rspec/shr.snippet b/bundle/snipmate-snippets/ruby-rspec/shr.snippet deleted file mode 100644 index 4effa2c1..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shr.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:mock}.should_receive(:${2:message})${3} -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/shre.snippet b/bundle/snipmate-snippets/ruby-rspec/shre.snippet deleted file mode 100644 index 420bbe80..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shre.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should raise_error(${2:error}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shredt.snippet b/bundle/snipmate-snippets/ruby-rspec/shredt.snippet deleted file mode 100644 index 979c1d6e..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shredt.snippet +++ /dev/null @@ -1,2 +0,0 @@ -response.should redirect_to(${1:url}) -${2} diff --git a/bundle/snipmate-snippets/ruby-rspec/shrt.snippet b/bundle/snipmate-snippets/ruby-rspec/shrt.snippet deleted file mode 100644 index a796ebd2..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shrt.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should respond_to(:${2:sym}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shs.snippet b/bundle/snipmate-snippets/ruby-rspec/shs.snippet deleted file mode 100644 index 08eb9419..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shs.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should satisfy { |${2:obj}| ${3} } -${4} diff --git a/bundle/snipmate-snippets/ruby-rspec/sht.snippet b/bundle/snipmate-snippets/ruby-rspec/sht.snippet deleted file mode 100644 index 86f55fa3..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/sht.snippet +++ /dev/null @@ -1,2 +0,0 @@ -${1:target}.should throw_symble(:${2:symbol}) -${3} diff --git a/bundle/snipmate-snippets/ruby-rspec/shtemp.snippet b/bundle/snipmate-snippets/ruby-rspec/shtemp.snippet deleted file mode 100644 index 9b08c10e..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/shtemp.snippet +++ /dev/null @@ -1,2 +0,0 @@ -response.should render_template(:${1:template}) -${2} diff --git a/bundle/snipmate-snippets/ruby-rspec/tw.snippet b/bundle/snipmate-snippets/ruby-rspec/tw.snippet deleted file mode 100644 index 6ebb6d4a..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/tw.snippet +++ /dev/null @@ -1 +0,0 @@ -twice diff --git a/bundle/snipmate-snippets/ruby-rspec/wia.snippet b/bundle/snipmate-snippets/ruby-rspec/wia.snippet deleted file mode 100644 index 21eda197..00000000 --- a/bundle/snipmate-snippets/ruby-rspec/wia.snippet +++ /dev/null @@ -1,2 +0,0 @@ -with(${1:args}) -${2} diff --git a/bundle/snipmate-snippets/ruby-shoulda/context.snippet b/bundle/snipmate-snippets/ruby-shoulda/context.snippet deleted file mode 100644 index 0e5a7fd2..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/context.snippet +++ /dev/null @@ -1,5 +0,0 @@ -context "${1:context}" do - - ${2} - -end diff --git a/bundle/snipmate-snippets/ruby-shoulda/samao.snippet b/bundle/snipmate-snippets/ruby-shoulda/samao.snippet deleted file mode 100644 index cfd4e59f..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/samao.snippet +++ /dev/null @@ -1 +0,0 @@ -should_allow_mass_assignment_of :${1:field} diff --git a/bundle/snipmate-snippets/ruby-shoulda/savf.snippet b/bundle/snipmate-snippets/ruby-shoulda/savf.snippet deleted file mode 100644 index 39cfd6f1..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/savf.snippet +++ /dev/null @@ -1 +0,0 @@ -should_allow_values_for :${1:field}, "${2:value}" diff --git a/bundle/snipmate-snippets/ruby-shoulda/sbt.snippet b/bundle/snipmate-snippets/ruby-shoulda/sbt.snippet deleted file mode 100644 index 90d25c84..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/sbt.snippet +++ /dev/null @@ -1 +0,0 @@ -should_belong_to :${1:association} diff --git a/bundle/snipmate-snippets/ruby-shoulda/selal.snippet b/bundle/snipmate-snippets/ruby-shoulda/selal.snippet deleted file mode 100644 index 2fc48b4a..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/selal.snippet +++ /dev/null @@ -1 +0,0 @@ -should_ensure_length_at_least :${1:field}, ${2:min_length} diff --git a/bundle/snipmate-snippets/ruby-shoulda/seli.snippet b/bundle/snipmate-snippets/ruby-shoulda/seli.snippet deleted file mode 100644 index 8bc2bf87..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/seli.snippet +++ /dev/null @@ -1 +0,0 @@ -should_ensure_length_is :${1:field}, ${2:length} diff --git a/bundle/snipmate-snippets/ruby-shoulda/selir.snippet b/bundle/snipmate-snippets/ruby-shoulda/selir.snippet deleted file mode 100644 index 1f0bdc98..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/selir.snippet +++ /dev/null @@ -1 +0,0 @@ -should_ensure_length_in_range :${1:field}, ${2:start}..${3:end} diff --git a/bundle/snipmate-snippets/ruby-shoulda/setup.snippet b/bundle/snipmate-snippets/ruby-shoulda/setup.snippet deleted file mode 100644 index 68b895c1..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/setup.snippet +++ /dev/null @@ -1,3 +0,0 @@ -setup do - ${1} -end diff --git a/bundle/snipmate-snippets/ruby-shoulda/sevir.snippet b/bundle/snipmate-snippets/ruby-shoulda/sevir.snippet deleted file mode 100644 index 195f7484..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/sevir.snippet +++ /dev/null @@ -1 +0,0 @@ -should_ensure_value_in_range :${1:field}, ${2:start}..${3:end} diff --git a/bundle/snipmate-snippets/ruby-shoulda/shabtm.snippet b/bundle/snipmate-snippets/ruby-shoulda/shabtm.snippet deleted file mode 100644 index 03c70e24..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/shabtm.snippet +++ /dev/null @@ -1 +0,0 @@ -should_have_and_belong_to_many :${1:association} diff --git a/bundle/snipmate-snippets/ruby-shoulda/shcm.snippet b/bundle/snipmate-snippets/ruby-shoulda/shcm.snippet deleted file mode 100644 index 6948aea9..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/shcm.snippet +++ /dev/null @@ -1 +0,0 @@ -should_have_class_methods :${1:method} diff --git a/bundle/snipmate-snippets/ruby-shoulda/shdc.snippet b/bundle/snipmate-snippets/ruby-shoulda/shdc.snippet deleted file mode 100644 index d841d650..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/shdc.snippet +++ /dev/null @@ -1 +0,0 @@ -should_have_db_columns :${1:field} diff --git a/bundle/snipmate-snippets/ruby-shoulda/shi.snippet b/bundle/snipmate-snippets/ruby-shoulda/shi.snippet deleted file mode 100644 index d6d2b389..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/shi.snippet +++ /dev/null @@ -1 +0,0 @@ -should_have_indices :${1:field} diff --git a/bundle/snipmate-snippets/ruby-shoulda/shim.snippet b/bundle/snipmate-snippets/ruby-shoulda/shim.snippet deleted file mode 100644 index 1f442528..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/shim.snippet +++ /dev/null @@ -1 +0,0 @@ -should_have_instance_methods :${1:method} diff --git a/bundle/snipmate-snippets/ruby-shoulda/shm.snippet b/bundle/snipmate-snippets/ruby-shoulda/shm.snippet deleted file mode 100644 index 8c98c17e..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/shm.snippet +++ /dev/null @@ -1 +0,0 @@ -should_have_many :${1:association} diff --git a/bundle/snipmate-snippets/ruby-shoulda/sho.snippet b/bundle/snipmate-snippets/ruby-shoulda/sho.snippet deleted file mode 100644 index a652b4f5..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/sho.snippet +++ /dev/null @@ -1 +0,0 @@ -should_have_one :${1:association} diff --git a/bundle/snipmate-snippets/ruby-shoulda/shroa.snippet b/bundle/snipmate-snippets/ruby-shoulda/shroa.snippet deleted file mode 100644 index 022015df..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/shroa.snippet +++ /dev/null @@ -1 +0,0 @@ -should_have_read_only_attributes :${1:field} diff --git a/bundle/snipmate-snippets/ruby-shoulda/snamao.snippet b/bundle/snipmate-snippets/ruby-shoulda/snamao.snippet deleted file mode 100644 index 236190b5..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/snamao.snippet +++ /dev/null @@ -1 +0,0 @@ -should_not_allow_mass_assignment_of :${1:field} diff --git a/bundle/snipmate-snippets/ruby-shoulda/snavf.snippet b/bundle/snipmate-snippets/ruby-shoulda/snavf.snippet deleted file mode 100644 index 029c5bab..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/snavf.snippet +++ /dev/null @@ -1 +0,0 @@ -should_not_allow_values_for :${1:field}, "${2:value}" diff --git a/bundle/snipmate-snippets/ruby-shoulda/svao.snippet b/bundle/snipmate-snippets/ruby-shoulda/svao.snippet deleted file mode 100644 index 8eccb887..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/svao.snippet +++ /dev/null @@ -1 +0,0 @@ -should_validate_acceptance_of :${1:field} diff --git a/bundle/snipmate-snippets/ruby-shoulda/svno.snippet b/bundle/snipmate-snippets/ruby-shoulda/svno.snippet deleted file mode 100644 index a90c1cab..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/svno.snippet +++ /dev/null @@ -1 +0,0 @@ -should_validate_numericality_of :${1:field} diff --git a/bundle/snipmate-snippets/ruby-shoulda/svpo.snippet b/bundle/snipmate-snippets/ruby-shoulda/svpo.snippet deleted file mode 100644 index 13598f86..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/svpo.snippet +++ /dev/null @@ -1 +0,0 @@ -should_validate_presence_of :${1:field} diff --git a/bundle/snipmate-snippets/ruby-shoulda/svuo.snippet b/bundle/snipmate-snippets/ruby-shoulda/svuo.snippet deleted file mode 100644 index 6e26912d..00000000 --- a/bundle/snipmate-snippets/ruby-shoulda/svuo.snippet +++ /dev/null @@ -1 +0,0 @@ -should_validate_uniqueness_of :${1:field}, :scoped_to => ${2:arrayofnames} diff --git a/bundle/snipmate-snippets/ruby/Md.snippet b/bundle/snipmate-snippets/ruby/Md.snippet deleted file mode 100644 index 1c2c9f10..00000000 --- a/bundle/snipmate-snippets/ruby/Md.snippet +++ /dev/null @@ -1 +0,0 @@ -File.open(${1:dump_path}, "wb") { |${2:file}| Marshal.dump(${3:obj}, ${4:$2}) } diff --git a/bundle/snipmate-snippets/ruby/Ml.snippet b/bundle/snipmate-snippets/ruby/Ml.snippet deleted file mode 100644 index 33c3200c..00000000 --- a/bundle/snipmate-snippets/ruby/Ml.snippet +++ /dev/null @@ -1 +0,0 @@ -File.open(${1:dump_path}, "rb") { |${2:file}| Marshal.load(${3:$2}) } diff --git a/bundle/snipmate-snippets/ruby/Pn.snippet b/bundle/snipmate-snippets/ruby/Pn.snippet deleted file mode 100644 index e2136913..00000000 --- a/bundle/snipmate-snippets/ruby/Pn.snippet +++ /dev/null @@ -1 +0,0 @@ -PStore.new(${1}) diff --git a/bundle/snipmate-snippets/ruby/Yd.snippet b/bundle/snipmate-snippets/ruby/Yd.snippet deleted file mode 100644 index e667a081..00000000 --- a/bundle/snipmate-snippets/ruby/Yd.snippet +++ /dev/null @@ -1 +0,0 @@ -File.open(${1:path_to_yml}, "w") { |${2:file}| YAML.dump(${3:obj}, ${4:$2}) } diff --git a/bundle/snipmate-snippets/ruby/Yl.snippet b/bundle/snipmate-snippets/ruby/Yl.snippet deleted file mode 100644 index b37d1bb5..00000000 --- a/bundle/snipmate-snippets/ruby/Yl.snippet +++ /dev/null @@ -1 +0,0 @@ -File.open(${1:path_to_yml}) { |${2:file}| YAML.load(${3:$2}) } diff --git a/bundle/snipmate-snippets/ruby/am.snippet b/bundle/snipmate-snippets/ruby/am.snippet deleted file mode 100644 index 91209b9b..00000000 --- a/bundle/snipmate-snippets/ruby/am.snippet +++ /dev/null @@ -1 +0,0 @@ -alias_method :${1:new_name}, :${2:old_name} diff --git a/bundle/snipmate-snippets/ruby/as.snippet b/bundle/snipmate-snippets/ruby/as.snippet deleted file mode 100644 index a8c7f5cb..00000000 --- a/bundle/snipmate-snippets/ruby/as.snippet +++ /dev/null @@ -1 +0,0 @@ -assert ${1:test}, "${2:failure_message}" diff --git a/bundle/snipmate-snippets/ruby/asam.snippet b/bundle/snipmate-snippets/ruby/asam.snippet deleted file mode 100644 index 3c95b31c..00000000 --- a/bundle/snipmate-snippets/ruby/asam.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_alias_method ${1:object}, ${2:alias_name}, ${3:original_name} diff --git a/bundle/snipmate-snippets/ruby/asb.snippet b/bundle/snipmate-snippets/ruby/asb.snippet deleted file mode 100644 index ab1eff71..00000000 --- a/bundle/snipmate-snippets/ruby/asb.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_boolean ${1:actual} diff --git a/bundle/snipmate-snippets/ruby/asc.snippet b/bundle/snipmate-snippets/ruby/asc.snippet deleted file mode 100644 index c6badc3e..00000000 --- a/bundle/snipmate-snippets/ruby/asc.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_compare ${1:expected}, ${2:operator}, ${3:actual} diff --git a/bundle/snipmate-snippets/ruby/ascd.snippet b/bundle/snipmate-snippets/ruby/ascd.snippet deleted file mode 100644 index bc77908f..00000000 --- a/bundle/snipmate-snippets/ruby/ascd.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_const_defined ${1:object}, ${2:constant_name} diff --git a/bundle/snipmate-snippets/ruby/ase.snippet b/bundle/snipmate-snippets/ruby/ase.snippet deleted file mode 100644 index 5f650990..00000000 --- a/bundle/snipmate-snippets/ruby/ase.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_equal ${1:expected}, ${2:actual} diff --git a/bundle/snipmate-snippets/ruby/asem.snippet b/bundle/snipmate-snippets/ruby/asem.snippet deleted file mode 100644 index 46428325..00000000 --- a/bundle/snipmate-snippets/ruby/asem.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_empty ${1:object} diff --git a/bundle/snipmate-snippets/ruby/asf.snippet b/bundle/snipmate-snippets/ruby/asf.snippet deleted file mode 100644 index 27ff6da5..00000000 --- a/bundle/snipmate-snippets/ruby/asf.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_false ${1:actual} diff --git a/bundle/snipmate-snippets/ruby/asfa.snippet b/bundle/snipmate-snippets/ruby/asfa.snippet deleted file mode 100644 index f45fa53f..00000000 --- a/bundle/snipmate-snippets/ruby/asfa.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_fail_assertion { ${1:block} } diff --git a/bundle/snipmate-snippets/ruby/asi.snippet b/bundle/snipmate-snippets/ruby/asi.snippet deleted file mode 100644 index dedf94d2..00000000 --- a/bundle/snipmate-snippets/ruby/asi.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_include ${1:collection}, ${2:object} diff --git a/bundle/snipmate-snippets/ruby/asid.snippet b/bundle/snipmate-snippets/ruby/asid.snippet deleted file mode 100644 index 683fb06c..00000000 --- a/bundle/snipmate-snippets/ruby/asid.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_in_delta ${1:expected_float}, ${2:actual_float}, ${3:delta_float} diff --git a/bundle/snipmate-snippets/ruby/asie.snippet b/bundle/snipmate-snippets/ruby/asie.snippet deleted file mode 100644 index f13d0a36..00000000 --- a/bundle/snipmate-snippets/ruby/asie.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_in_epsilon ${1:expected_float}, ${2:actual_float} diff --git a/bundle/snipmate-snippets/ruby/asio.snippet b/bundle/snipmate-snippets/ruby/asio.snippet deleted file mode 100644 index 56f0ab7e..00000000 --- a/bundle/snipmate-snippets/ruby/asio.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_instance_of ${1:ExpectedClass}, ${2:actual_instance} diff --git a/bundle/snipmate-snippets/ruby/asko.snippet b/bundle/snipmate-snippets/ruby/asko.snippet deleted file mode 100644 index 555bf138..00000000 --- a/bundle/snipmate-snippets/ruby/asko.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_kind_of ${1:ExpectedKind}, ${2:actual_instance} diff --git a/bundle/snipmate-snippets/ruby/asm.snippet b/bundle/snipmate-snippets/ruby/asm.snippet deleted file mode 100644 index 9860b4cf..00000000 --- a/bundle/snipmate-snippets/ruby/asm.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_match /${1:expected_pattern}/, ${2:actual_string} diff --git a/bundle/snipmate-snippets/ruby/asn.snippet b/bundle/snipmate-snippets/ruby/asn.snippet deleted file mode 100644 index 36a2898e..00000000 --- a/bundle/snipmate-snippets/ruby/asn.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_nil ${1:instance} diff --git a/bundle/snipmate-snippets/ruby/asncd.snippet b/bundle/snipmate-snippets/ruby/asncd.snippet deleted file mode 100644 index b4dcd735..00000000 --- a/bundle/snipmate-snippets/ruby/asncd.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_const_defined ${1:object}, ${2:constant_name} diff --git a/bundle/snipmate-snippets/ruby/asne.snippet b/bundle/snipmate-snippets/ruby/asne.snippet deleted file mode 100644 index 91db286a..00000000 --- a/bundle/snipmate-snippets/ruby/asne.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_equal ${1:unexpected}, ${2:actual} diff --git a/bundle/snipmate-snippets/ruby/asnem.snippet b/bundle/snipmate-snippets/ruby/asnem.snippet deleted file mode 100644 index 43d07728..00000000 --- a/bundle/snipmate-snippets/ruby/asnem.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_empty ${1:object} diff --git a/bundle/snipmate-snippets/ruby/asni.snippet b/bundle/snipmate-snippets/ruby/asni.snippet deleted file mode 100644 index d450d9ea..00000000 --- a/bundle/snipmate-snippets/ruby/asni.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_include ${1:collection}, ${2:object} diff --git a/bundle/snipmate-snippets/ruby/asnid.snippet b/bundle/snipmate-snippets/ruby/asnid.snippet deleted file mode 100644 index 23e039ad..00000000 --- a/bundle/snipmate-snippets/ruby/asnid.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_in_delta ${1:expected_float}, ${2:actual_float} diff --git a/bundle/snipmate-snippets/ruby/asnie.snippet b/bundle/snipmate-snippets/ruby/asnie.snippet deleted file mode 100644 index 25eb7515..00000000 --- a/bundle/snipmate-snippets/ruby/asnie.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_in_epsilon ${1:expected_float}, ${2:actual_float} diff --git a/bundle/snipmate-snippets/ruby/asnm.snippet b/bundle/snipmate-snippets/ruby/asnm.snippet deleted file mode 100644 index 95dbf247..00000000 --- a/bundle/snipmate-snippets/ruby/asnm.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_no_match /${1:unexpected_pattern}/, ${2:actual_string} diff --git a/bundle/snipmate-snippets/ruby/asnn.snippet b/bundle/snipmate-snippets/ruby/asnn.snippet deleted file mode 100644 index 9227bc8a..00000000 --- a/bundle/snipmate-snippets/ruby/asnn.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_nil ${1:instance} diff --git a/bundle/snipmate-snippets/ruby/asnp.snippet b/bundle/snipmate-snippets/ruby/asnp.snippet deleted file mode 100644 index a540f84d..00000000 --- a/bundle/snipmate-snippets/ruby/asnp.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_predicate ${1:object}, ${2:predicate} diff --git a/bundle/snipmate-snippets/ruby/asnr.snippet b/bundle/snipmate-snippets/ruby/asnr.snippet deleted file mode 100644 index fc9a8204..00000000 --- a/bundle/snipmate-snippets/ruby/asnr.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_nothing_raised { ${1:block} } diff --git a/bundle/snipmate-snippets/ruby/asnrt.snippet b/bundle/snipmate-snippets/ruby/asnrt.snippet deleted file mode 100644 index fb063d28..00000000 --- a/bundle/snipmate-snippets/ruby/asnrt.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_respond_to ${1:object}, ${2:method} diff --git a/bundle/snipmate-snippets/ruby/asns.snippet b/bundle/snipmate-snippets/ruby/asns.snippet deleted file mode 100644 index 509e467a..00000000 --- a/bundle/snipmate-snippets/ruby/asns.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_same ${1:unexpected}, ${2:actual} diff --git a/bundle/snipmate-snippets/ruby/asnse.snippet b/bundle/snipmate-snippets/ruby/asnse.snippet deleted file mode 100644 index befde129..00000000 --- a/bundle/snipmate-snippets/ruby/asnse.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_not_send ${1:send_array} diff --git a/bundle/snipmate-snippets/ruby/asnt.snippet b/bundle/snipmate-snippets/ruby/asnt.snippet deleted file mode 100644 index cb633c22..00000000 --- a/bundle/snipmate-snippets/ruby/asnt.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_nothing_thrown { ${1} } diff --git a/bundle/snipmate-snippets/ruby/aso.snippet b/bundle/snipmate-snippets/ruby/aso.snippet deleted file mode 100644 index 5b7faf64..00000000 --- a/bundle/snipmate-snippets/ruby/aso.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_operator ${1:left}, :${2:operator}, ${3:right} diff --git a/bundle/snipmate-snippets/ruby/asp.snippet b/bundle/snipmate-snippets/ruby/asp.snippet deleted file mode 100644 index c23fd3f6..00000000 --- a/bundle/snipmate-snippets/ruby/asp.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_predicate ${1:object}, ${2:predicate} diff --git a/bundle/snipmate-snippets/ruby/aspe.snippet b/bundle/snipmate-snippets/ruby/aspe.snippet deleted file mode 100644 index 3a3eed4f..00000000 --- a/bundle/snipmate-snippets/ruby/aspe.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_path_exist ${1:path} diff --git a/bundle/snipmate-snippets/ruby/aspne.snippet b/bundle/snipmate-snippets/ruby/aspne.snippet deleted file mode 100644 index f7a8873a..00000000 --- a/bundle/snipmate-snippets/ruby/aspne.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_path_not_exist ${1:path} diff --git a/bundle/snipmate-snippets/ruby/asr.snippet b/bundle/snipmate-snippets/ruby/asr.snippet deleted file mode 100644 index 834038d5..00000000 --- a/bundle/snipmate-snippets/ruby/asr.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_raise(${1:Exception}) { ${2} } diff --git a/bundle/snipmate-snippets/ruby/asrko.snippet b/bundle/snipmate-snippets/ruby/asrko.snippet deleted file mode 100644 index f82820ed..00000000 --- a/bundle/snipmate-snippets/ruby/asrko.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_raise_kind_of(${1:kinds...}) { ${2:block} } diff --git a/bundle/snipmate-snippets/ruby/asrm.snippet b/bundle/snipmate-snippets/ruby/asrm.snippet deleted file mode 100644 index f62f208b..00000000 --- a/bundle/snipmate-snippets/ruby/asrm.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_raise_message ${1:expected_message} diff --git a/bundle/snipmate-snippets/ruby/asrt.snippet b/bundle/snipmate-snippets/ruby/asrt.snippet deleted file mode 100644 index ca8e84b7..00000000 --- a/bundle/snipmate-snippets/ruby/asrt.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_respond_to ${1:object}, :${2:method} diff --git a/bundle/snipmate-snippets/ruby/asse.snippet b/bundle/snipmate-snippets/ruby/asse.snippet deleted file mode 100644 index 4fb9ef9a..00000000 --- a/bundle/snipmate-snippets/ruby/asse.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_send ${1:send_array} diff --git a/bundle/snipmate-snippets/ruby/ast.snippet b/bundle/snipmate-snippets/ruby/ast.snippet deleted file mode 100644 index 8962cfb7..00000000 --- a/bundle/snipmate-snippets/ruby/ast.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_throws(:${1:expected}) { ${2} } diff --git a/bundle/snipmate-snippets/ruby/astr.snippet b/bundle/snipmate-snippets/ruby/astr.snippet deleted file mode 100644 index b9d14f6e..00000000 --- a/bundle/snipmate-snippets/ruby/astr.snippet +++ /dev/null @@ -1 +0,0 @@ -assert_true ${1:actual} diff --git a/bundle/snipmate-snippets/ruby/bm.snippet b/bundle/snipmate-snippets/ruby/bm.snippet deleted file mode 100644 index 681c5621..00000000 --- a/bundle/snipmate-snippets/ruby/bm.snippet +++ /dev/null @@ -1,4 +0,0 @@ -TESTS = ${1:10_000} -Benchmark.bmbm do |results| - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/case.snippet b/bundle/snipmate-snippets/ruby/case.snippet deleted file mode 100644 index 085a45db..00000000 --- a/bundle/snipmate-snippets/ruby/case.snippet +++ /dev/null @@ -1,5 +0,0 @@ -case ${1} -when ${2} -else - ${3} -end diff --git a/bundle/snipmate-snippets/ruby/class.snippet b/bundle/snipmate-snippets/ruby/class.snippet deleted file mode 100644 index cb396704..00000000 --- a/bundle/snipmate-snippets/ruby/class.snippet +++ /dev/null @@ -1,3 +0,0 @@ -class ${1:`Snippet_RubyClassNameFromFilename()`}${2} - ${3} -end diff --git a/bundle/snipmate-snippets/ruby/classe.snippet b/bundle/snipmate-snippets/ruby/classe.snippet deleted file mode 100644 index f683c688..00000000 --- a/bundle/snipmate-snippets/ruby/classe.snippet +++ /dev/null @@ -1 +0,0 @@ -class ${1:ErrorClassName} < ${2:StandardError}; end${3} diff --git a/bundle/snipmate-snippets/ruby/def.snippet b/bundle/snipmate-snippets/ruby/def.snippet deleted file mode 100644 index ad9bc8cf..00000000 --- a/bundle/snipmate-snippets/ruby/def.snippet +++ /dev/null @@ -1,3 +0,0 @@ -def ${1:name} - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/defi.snippet b/bundle/snipmate-snippets/ruby/defi.snippet deleted file mode 100644 index 12c354c8..00000000 --- a/bundle/snipmate-snippets/ruby/defi.snippet +++ /dev/null @@ -1,3 +0,0 @@ -def initialize${1} - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/defmm.snippet b/bundle/snipmate-snippets/ruby/defmm.snippet deleted file mode 100644 index e3b263a8..00000000 --- a/bundle/snipmate-snippets/ruby/defmm.snippet +++ /dev/null @@ -1,3 +0,0 @@ -def method_missing(meth, *args, &blk) - ${1} -end diff --git a/bundle/snipmate-snippets/ruby/defs.snippet b/bundle/snipmate-snippets/ruby/defs.snippet deleted file mode 100644 index 837733f2..00000000 --- a/bundle/snipmate-snippets/ruby/defs.snippet +++ /dev/null @@ -1,3 +0,0 @@ -def self.${1:class_method_name} - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/deft.snippet b/bundle/snipmate-snippets/ruby/deft.snippet deleted file mode 100644 index 9c2adbff..00000000 --- a/bundle/snipmate-snippets/ruby/deft.snippet +++ /dev/null @@ -1,3 +0,0 @@ -def test_${1:case_name} - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/detect.snippet b/bundle/snipmate-snippets/ruby/detect.snippet deleted file mode 100644 index 5fc24aaa..00000000 --- a/bundle/snipmate-snippets/ruby/detect.snippet +++ /dev/null @@ -1 +0,0 @@ -detect { |${1:element}| ${2:body} } diff --git a/bundle/snipmate-snippets/ruby/detecto.snippet b/bundle/snipmate-snippets/ruby/detecto.snippet deleted file mode 100644 index 904b2a67..00000000 --- a/bundle/snipmate-snippets/ruby/detecto.snippet +++ /dev/null @@ -1,3 +0,0 @@ -detect do |${1:element}| - ${2:body} -end diff --git a/bundle/snipmate-snippets/ruby/dglob.snippet b/bundle/snipmate-snippets/ruby/dglob.snippet deleted file mode 100644 index ca326ade..00000000 --- a/bundle/snipmate-snippets/ruby/dglob.snippet +++ /dev/null @@ -1 +0,0 @@ -Dir.glob(${1:"<+dir}"+>) { |${2:file}| ${3} } diff --git a/bundle/snipmate-snippets/ruby/do.snippet b/bundle/snipmate-snippets/ruby/do.snippet deleted file mode 100644 index 596c11a9..00000000 --- a/bundle/snipmate-snippets/ruby/do.snippet +++ /dev/null @@ -1,3 +0,0 @@ -do - ${1} -end diff --git a/bundle/snipmate-snippets/ruby/dop.snippet b/bundle/snipmate-snippets/ruby/dop.snippet deleted file mode 100644 index 9bf1898a..00000000 --- a/bundle/snipmate-snippets/ruby/dop.snippet +++ /dev/null @@ -1,3 +0,0 @@ -do |${1:param}| - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/ea.snippet b/bundle/snipmate-snippets/ruby/ea.snippet deleted file mode 100644 index 5f7edec0..00000000 --- a/bundle/snipmate-snippets/ruby/ea.snippet +++ /dev/null @@ -1 +0,0 @@ -each { |${1:element}| ${2:body} } diff --git a/bundle/snipmate-snippets/ruby/each.snippet b/bundle/snipmate-snippets/ruby/each.snippet deleted file mode 100644 index 5f7edec0..00000000 --- a/bundle/snipmate-snippets/ruby/each.snippet +++ /dev/null @@ -1 +0,0 @@ -each { |${1:element}| ${2:body} } diff --git a/bundle/snipmate-snippets/ruby/each_with_index.snippet b/bundle/snipmate-snippets/ruby/each_with_index.snippet deleted file mode 100644 index f4d3ef11..00000000 --- a/bundle/snipmate-snippets/ruby/each_with_index.snippet +++ /dev/null @@ -1 +0,0 @@ -each_with_index { |${1:element},${2:i}| ${3:} } diff --git a/bundle/snipmate-snippets/ruby/each_with_indexo.snippet b/bundle/snipmate-snippets/ruby/each_with_indexo.snippet deleted file mode 100644 index e4fb7080..00000000 --- a/bundle/snipmate-snippets/ruby/each_with_indexo.snippet +++ /dev/null @@ -1,4 +0,0 @@ -each_with_index do |${1:element},${2:i}| - ${3:body} -end - diff --git a/bundle/snipmate-snippets/ruby/eacho.snippet b/bundle/snipmate-snippets/ruby/eacho.snippet deleted file mode 100644 index 7c133426..00000000 --- a/bundle/snipmate-snippets/ruby/eacho.snippet +++ /dev/null @@ -1,3 +0,0 @@ -each do |${1:element}| - ${2:body} -end diff --git a/bundle/snipmate-snippets/ruby/eado.snippet b/bundle/snipmate-snippets/ruby/eado.snippet deleted file mode 100644 index 7c133426..00000000 --- a/bundle/snipmate-snippets/ruby/eado.snippet +++ /dev/null @@ -1,3 +0,0 @@ -each do |${1:element}| - ${2:body} -end diff --git a/bundle/snipmate-snippets/ruby/eawi.snippet b/bundle/snipmate-snippets/ruby/eawi.snippet deleted file mode 100644 index f4d3ef11..00000000 --- a/bundle/snipmate-snippets/ruby/eawi.snippet +++ /dev/null @@ -1 +0,0 @@ -each_with_index { |${1:element},${2:i}| ${3:} } diff --git a/bundle/snipmate-snippets/ruby/eawido.snippet b/bundle/snipmate-snippets/ruby/eawido.snippet deleted file mode 100644 index e4fb7080..00000000 --- a/bundle/snipmate-snippets/ruby/eawido.snippet +++ /dev/null @@ -1,4 +0,0 @@ -each_with_index do |${1:element},${2:i}| - ${3:body} -end - diff --git a/bundle/snipmate-snippets/ruby/elsif.snippet b/bundle/snipmate-snippets/ruby/elsif.snippet deleted file mode 100644 index 84d8134e..00000000 --- a/bundle/snipmate-snippets/ruby/elsif.snippet +++ /dev/null @@ -1,2 +0,0 @@ -elsif ${1:condition} - ${2} diff --git a/bundle/snipmate-snippets/ruby/fileeach.snippet b/bundle/snipmate-snippets/ruby/fileeach.snippet deleted file mode 100644 index 5076ef1a..00000000 --- a/bundle/snipmate-snippets/ruby/fileeach.snippet +++ /dev/null @@ -1 +0,0 @@ -File.foreach(${1:"<+path}"+>) { |${2:line}| ${3} } diff --git a/bundle/snipmate-snippets/ruby/fopen.snippet b/bundle/snipmate-snippets/ruby/fopen.snippet deleted file mode 100644 index b630bfeb..00000000 --- a/bundle/snipmate-snippets/ruby/fopen.snippet +++ /dev/null @@ -1 +0,0 @@ -File.open(${1:path}, "${2:rwab}") { |${3:file}| ${4} } diff --git a/bundle/snipmate-snippets/ruby/fread.snippet b/bundle/snipmate-snippets/ruby/fread.snippet deleted file mode 100644 index d9e6074c..00000000 --- a/bundle/snipmate-snippets/ruby/fread.snippet +++ /dev/null @@ -1 +0,0 @@ -File.read(${1}) diff --git a/bundle/snipmate-snippets/ruby/http_get.snippet b/bundle/snipmate-snippets/ruby/http_get.snippet deleted file mode 100644 index cba6d589..00000000 --- a/bundle/snipmate-snippets/ruby/http_get.snippet +++ /dev/null @@ -1,2 +0,0 @@ -require 'net/http' -res = Net::HTTP.get URI.parse('${1:url}') diff --git a/bundle/snipmate-snippets/ruby/http_post.snippet b/bundle/snipmate-snippets/ruby/http_post.snippet deleted file mode 100644 index 3b2036ad..00000000 --- a/bundle/snipmate-snippets/ruby/http_post.snippet +++ /dev/null @@ -1,2 +0,0 @@ -require 'net/http' -res = Net::HTTP.post_form URI.parse('${1:url}')${2:, params} diff --git a/bundle/snipmate-snippets/ruby/if.snippet b/bundle/snipmate-snippets/ruby/if.snippet deleted file mode 100644 index b2d1e39e..00000000 --- a/bundle/snipmate-snippets/ruby/if.snippet +++ /dev/null @@ -1,3 +0,0 @@ -if ${1:condition} - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/ife.snippet b/bundle/snipmate-snippets/ruby/ife.snippet deleted file mode 100644 index 2a7468df..00000000 --- a/bundle/snipmate-snippets/ruby/ife.snippet +++ /dev/null @@ -1,4 +0,0 @@ -if ${1:condition} - ${2} -else -end diff --git a/bundle/snipmate-snippets/ruby/inj.snippet b/bundle/snipmate-snippets/ruby/inj.snippet deleted file mode 100644 index 90dea0d8..00000000 --- a/bundle/snipmate-snippets/ruby/inj.snippet +++ /dev/null @@ -1 +0,0 @@ -inject(${1:init}) { |${2:total}, ${3:next}| ${4:body} } diff --git a/bundle/snipmate-snippets/ruby/injdo.snippet b/bundle/snipmate-snippets/ruby/injdo.snippet deleted file mode 100644 index d3235e90..00000000 --- a/bundle/snipmate-snippets/ruby/injdo.snippet +++ /dev/null @@ -1,3 +0,0 @@ -inject(${1:init}) do |${2:total}, ${3:next}| - ${4:body} -end diff --git a/bundle/snipmate-snippets/ruby/inject.snippet b/bundle/snipmate-snippets/ruby/inject.snippet deleted file mode 100644 index 78ad721d..00000000 --- a/bundle/snipmate-snippets/ruby/inject.snippet +++ /dev/null @@ -1 +0,0 @@ -inject { |${1:total},${2:next}| ${3:body} } diff --git a/bundle/snipmate-snippets/ruby/injecto.snippet b/bundle/snipmate-snippets/ruby/injecto.snippet deleted file mode 100644 index 1631033d..00000000 --- a/bundle/snipmate-snippets/ruby/injecto.snippet +++ /dev/null @@ -1,3 +0,0 @@ -inject do |${1:total},${2:next}| - ${3:body} -end diff --git a/bundle/snipmate-snippets/ruby/ip.snippet b/bundle/snipmate-snippets/ruby/ip.snippet deleted file mode 100644 index 91769768..00000000 --- a/bundle/snipmate-snippets/ruby/ip.snippet +++ /dev/null @@ -1 +0,0 @@ -ip_addr = request.env['REMOTE_ADDR'] diff --git a/bundle/snipmate-snippets/ruby/map.snippet b/bundle/snipmate-snippets/ruby/map.snippet deleted file mode 100644 index b3e7719f..00000000 --- a/bundle/snipmate-snippets/ruby/map.snippet +++ /dev/null @@ -1 +0,0 @@ -map { |${1:element}| ${2:body} } diff --git a/bundle/snipmate-snippets/ruby/mapdo.snippet b/bundle/snipmate-snippets/ruby/mapdo.snippet deleted file mode 100644 index 316e7c7c..00000000 --- a/bundle/snipmate-snippets/ruby/mapdo.snippet +++ /dev/null @@ -1,3 +0,0 @@ -map do |${1:element}| - ${2:body} -end diff --git a/bundle/snipmate-snippets/ruby/mapo.snippet b/bundle/snipmate-snippets/ruby/mapo.snippet deleted file mode 100644 index 316e7c7c..00000000 --- a/bundle/snipmate-snippets/ruby/mapo.snippet +++ /dev/null @@ -1,3 +0,0 @@ -map do |${1:element}| - ${2:body} -end diff --git a/bundle/snipmate-snippets/ruby/mod.snippet b/bundle/snipmate-snippets/ruby/mod.snippet deleted file mode 100644 index 457fd615..00000000 --- a/bundle/snipmate-snippets/ruby/mod.snippet +++ /dev/null @@ -1,3 +0,0 @@ -module ${1:`Snippet_RubyClassNameFromFilename()`} - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/module.snippet b/bundle/snipmate-snippets/ruby/module.snippet deleted file mode 100644 index 78e025a1..00000000 --- a/bundle/snipmate-snippets/ruby/module.snippet +++ /dev/null @@ -1,14 +0,0 @@ -module ${1:`Snippet_RubyClassNameFromFilename()`} - module ClassMethods - ${2} - end - - module InstanceMethods - - end - - def self.included(receiver) - receiver.extend ClassMethods - receiver.send :include, InstanceMethods - end -end diff --git a/bundle/snipmate-snippets/ruby/nam.snippet b/bundle/snipmate-snippets/ruby/nam.snippet deleted file mode 100644 index 19b90a76..00000000 --- a/bundle/snipmate-snippets/ruby/nam.snippet +++ /dev/null @@ -1,3 +0,0 @@ -namespace :${1:namespace} do - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/ope.snippet b/bundle/snipmate-snippets/ruby/ope.snippet deleted file mode 100644 index cfe92471..00000000 --- a/bundle/snipmate-snippets/ruby/ope.snippet +++ /dev/null @@ -1 +0,0 @@ -open(${1:path}, "${2:rwab}") { |${3:io}| ${4} } diff --git a/bundle/snipmate-snippets/ruby/pathhere.snippet b/bundle/snipmate-snippets/ruby/pathhere.snippet deleted file mode 100644 index f4ed9440..00000000 --- a/bundle/snipmate-snippets/ruby/pathhere.snippet +++ /dev/null @@ -1 +0,0 @@ -File.join(File.dirname(__FILE__), *%w[${1:rel_path_here}]) diff --git a/bundle/snipmate-snippets/ruby/r.snippet b/bundle/snipmate-snippets/ruby/r.snippet deleted file mode 100644 index f232fc94..00000000 --- a/bundle/snipmate-snippets/ruby/r.snippet +++ /dev/null @@ -1 +0,0 @@ -attr_reader :${1:attr_names} diff --git a/bundle/snipmate-snippets/ruby/reject.snippet b/bundle/snipmate-snippets/ruby/reject.snippet deleted file mode 100644 index 07d2787f..00000000 --- a/bundle/snipmate-snippets/ruby/reject.snippet +++ /dev/null @@ -1 +0,0 @@ -reject { |${1:element}| ${2:body} } diff --git a/bundle/snipmate-snippets/ruby/rejecto.snippet b/bundle/snipmate-snippets/ruby/rejecto.snippet deleted file mode 100644 index e906bd7e..00000000 --- a/bundle/snipmate-snippets/ruby/rejecto.snippet +++ /dev/null @@ -1,3 +0,0 @@ -reject do |${1:element}| - ${2:body} -end diff --git a/bundle/snipmate-snippets/ruby/rep.snippet b/bundle/snipmate-snippets/ruby/rep.snippet deleted file mode 100644 index 04b77b0d..00000000 --- a/bundle/snipmate-snippets/ruby/rep.snippet +++ /dev/null @@ -1 +0,0 @@ -results.report("${1:name}:") { TESTS.times { ${2} } } diff --git a/bundle/snipmate-snippets/ruby/rw.snippet b/bundle/snipmate-snippets/ruby/rw.snippet deleted file mode 100644 index 1862da33..00000000 --- a/bundle/snipmate-snippets/ruby/rw.snippet +++ /dev/null @@ -1 +0,0 @@ -attr_accessor :${1:attr_names} diff --git a/bundle/snipmate-snippets/ruby/select.snippet b/bundle/snipmate-snippets/ruby/select.snippet deleted file mode 100644 index 8ab228cc..00000000 --- a/bundle/snipmate-snippets/ruby/select.snippet +++ /dev/null @@ -1 +0,0 @@ -select { |${1:element}| ${2:body} } diff --git a/bundle/snipmate-snippets/ruby/selecto.snippet b/bundle/snipmate-snippets/ruby/selecto.snippet deleted file mode 100644 index a22a6505..00000000 --- a/bundle/snipmate-snippets/ruby/selecto.snippet +++ /dev/null @@ -1,3 +0,0 @@ -select do |${1:element}| - ${2:body} -end diff --git a/bundle/snipmate-snippets/ruby/sinc.snippet b/bundle/snipmate-snippets/ruby/sinc.snippet deleted file mode 100644 index 20e2c4c9..00000000 --- a/bundle/snipmate-snippets/ruby/sinc.snippet +++ /dev/null @@ -1 +0,0 @@ -class << self; self end diff --git a/bundle/snipmate-snippets/ruby/sort.snippet b/bundle/snipmate-snippets/ruby/sort.snippet deleted file mode 100644 index 08a67c1a..00000000 --- a/bundle/snipmate-snippets/ruby/sort.snippet +++ /dev/null @@ -1 +0,0 @@ -sort { |${1:x},${2:y}| ${3:body} } diff --git a/bundle/snipmate-snippets/ruby/sorto.snippet b/bundle/snipmate-snippets/ruby/sorto.snippet deleted file mode 100644 index 76c38e40..00000000 --- a/bundle/snipmate-snippets/ruby/sorto.snippet +++ /dev/null @@ -1,3 +0,0 @@ -sort do |${1:x},${2:y}| - ${3:body} -end diff --git a/bundle/snipmate-snippets/ruby/tas.snippet b/bundle/snipmate-snippets/ruby/tas.snippet deleted file mode 100644 index d949a6b5..00000000 --- a/bundle/snipmate-snippets/ruby/tas.snippet +++ /dev/null @@ -1,4 +0,0 @@ -desc "${1:Task description}" -task :${2:task_name}${3: => [:dependent, :tasks]} do - ${4} -end diff --git a/bundle/snipmate-snippets/ruby/task.snippet b/bundle/snipmate-snippets/ruby/task.snippet deleted file mode 100644 index d949a6b5..00000000 --- a/bundle/snipmate-snippets/ruby/task.snippet +++ /dev/null @@ -1,4 +0,0 @@ -desc "${1:Task description}" -task :${2:task_name}${3: => [:dependent, :tasks]} do - ${4} -end diff --git a/bundle/snipmate-snippets/ruby/tc.snippet b/bundle/snipmate-snippets/ruby/tc.snippet deleted file mode 100644 index 3e28f61a..00000000 --- a/bundle/snipmate-snippets/ruby/tc.snippet +++ /dev/null @@ -1,9 +0,0 @@ -require "test/unit" - -require "${1:library_file_name}" - -class Test${2:`Snippet_RubyClassNameFromFilename()`} < Test::Unit::TestCase - def test_${3:case_name} - ${4} - end -end diff --git a/bundle/snipmate-snippets/ruby/unless.snippet b/bundle/snipmate-snippets/ruby/unless.snippet deleted file mode 100644 index 3495d2ba..00000000 --- a/bundle/snipmate-snippets/ruby/unless.snippet +++ /dev/null @@ -1,3 +0,0 @@ -unless ${1:condition} - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/unlesse.snippet b/bundle/snipmate-snippets/ruby/unlesse.snippet deleted file mode 100644 index d190b45e..00000000 --- a/bundle/snipmate-snippets/ruby/unlesse.snippet +++ /dev/null @@ -1,4 +0,0 @@ -unless ${1:condition} - ${2} -else -end diff --git a/bundle/snipmate-snippets/ruby/w.snippet b/bundle/snipmate-snippets/ruby/w.snippet deleted file mode 100644 index 0650e955..00000000 --- a/bundle/snipmate-snippets/ruby/w.snippet +++ /dev/null @@ -1 +0,0 @@ -attr_writer :${1:attr_names} diff --git a/bundle/snipmate-snippets/ruby/while.snippet b/bundle/snipmate-snippets/ruby/while.snippet deleted file mode 100644 index 6e878fa3..00000000 --- a/bundle/snipmate-snippets/ruby/while.snippet +++ /dev/null @@ -1,3 +0,0 @@ -while ${1:condition} - ${2} -end diff --git a/bundle/snipmate-snippets/ruby/xmlr.snippet b/bundle/snipmate-snippets/ruby/xmlr.snippet deleted file mode 100644 index eeb35802..00000000 --- a/bundle/snipmate-snippets/ruby/xmlr.snippet +++ /dev/null @@ -1 +0,0 @@ -REXML::Document.new(File.read(${1:path})) diff --git a/bundle/snipmate-snippets/ruby/xpa.snippet b/bundle/snipmate-snippets/ruby/xpa.snippet deleted file mode 100644 index 5bff9508..00000000 --- a/bundle/snipmate-snippets/ruby/xpa.snippet +++ /dev/null @@ -1,3 +0,0 @@ -elements.each(${1}) do |${2:node}| - ${3} -end diff --git a/bundle/snipmate-snippets/ruby/zip.snippet b/bundle/snipmate-snippets/ruby/zip.snippet deleted file mode 100644 index b2c831ab..00000000 --- a/bundle/snipmate-snippets/ruby/zip.snippet +++ /dev/null @@ -1 +0,0 @@ -zip(${1:enums}) { |${2:row}| ${3} } diff --git a/bundle/snipmate-snippets/sinatra/get.snippet b/bundle/snipmate-snippets/sinatra/get.snippet deleted file mode 100644 index 08f3fd5a..00000000 --- a/bundle/snipmate-snippets/sinatra/get.snippet +++ /dev/null @@ -1,3 +0,0 @@ -get '${1:/}' do - ${2} -end diff --git a/bundle/snipmate-snippets/sshconfig/host.snippet b/bundle/snipmate-snippets/sshconfig/host.snippet deleted file mode 100644 index 5992a2d0..00000000 --- a/bundle/snipmate-snippets/sshconfig/host.snippet +++ /dev/null @@ -1,3 +0,0 @@ -Host ${1:name} - Hostname ${2:example.com} - User ${3:username} diff --git a/bundle/snipmate-snippets/support_functions.vim b/bundle/snipmate-snippets/support_functions.vim deleted file mode 100644 index a09e81da..00000000 --- a/bundle/snipmate-snippets/support_functions.vim +++ /dev/null @@ -1,115 +0,0 @@ -"ruby {{{1 -function! Snippet_RubyClassNameFromFilename(...) - let name = expand("%:t:r") - if len(name) == 0 - if a:0 == 0 - let name = 'MyClass' - else - let name = a:1 - endif - endif - return Snippet_Camelcase(substitute(name, '_spec$', '', '')) -endfunction - -function! Snippet_MigrationNameFromFilename(...) - let name = substitute(expand("%:t:r"), '^.\{-}_', '', '') - if len(name) == 0 - if a:0 == 0 - let name = 'MyClass' - else - let name = a:1 - endif - endif - return Snippet_Camelcase(name) -endfunction - - -"python {{{1 -function! Snippet_PythonClassNameFromFilename(...) - let name = expand("%:t:r") - if len(name) == 0 - if a:0 == 0 - let name = 'MyClass' - else - let name = a:1 - endif - endif - return Snippet_Camelcase(name) -endfunction - -"php {{{1 -function! Snippet_PHPClassNameFromFilename(...) - let name = expand("%:t:r:r") - if len(name) == 0 - if a:0 == 0 - let name = 'MyClass' - else - let name = a:1 - endif - endif - return name -endfunction - -"java {{{1 -function! Snippet_JavaClassNameFromFilename(...) - let name = expand("%:t:r") - if len(name) == 0 - if a:0 == 0 - let name = 'MyClass' - else - let name = a:1 - endif - endif - return name -endfunction - -function! Snippet_JavaInstanceVarType(name) - let oldview = winsaveview() - if searchdecl(a:name) == 0 - normal! B - let old_reg = @" - normal! yaW - let type = @" - let @" = old_reg - call winrestview(oldview) - let type = substitute(type, '\s\+$', '', '') - - "searchdecl treats 'return foo;' as a declaration of foo - if type != 'return' - return type - endif - endif - return "<+type+>" -endfunction - - -"global {{{1 -function! s:start_comment() - return substitute(&commentstring, '^\([^ ]*\)\s*%s\(.*\)$', '\1', '') -endfunction - -function! s:end_comment() - return substitute(&commentstring, '^.*%s\(.*\)$', '\1', '') -endfunction - -function! Snippet_Modeline() - return s:start_comment() . " vim: set ${1:settings}:" . s:end_comment() -endfunction - -function! Snippet_Camelcase(s) - "upcase the first letter - let toReturn = substitute(a:s, '^\(.\)', '\=toupper(submatch(1))', '') - "turn all '_x' into 'X' - return substitute(toReturn, '_\(.\)', '\=toupper(submatch(1))', 'g') -endfunction - -function! Snippet_Underscore(s) - "down the first letter - let toReturn = substitute(a:s, '^\(.\)', '\=tolower(submatch(1))', '') - "turn all 'X' into '_x' - return substitute(toReturn, '\([A-Z]\)', '\=tolower("_".submatch(1))', 'g') -endfunction - - -" modeline {{{1 -" vim: set fdm=marker: diff --git a/bundle/snipmate-snippets/vim/au.snippet b/bundle/snipmate-snippets/vim/au.snippet deleted file mode 100644 index d59720a5..00000000 --- a/bundle/snipmate-snippets/vim/au.snippet +++ /dev/null @@ -1 +0,0 @@ -autocmd ${1:events} ${2:pattern} ${3:command} diff --git a/bundle/snipmate-snippets/vim/com.snippet b/bundle/snipmate-snippets/vim/com.snippet deleted file mode 100644 index b8eeb5b4..00000000 --- a/bundle/snipmate-snippets/vim/com.snippet +++ /dev/null @@ -1 +0,0 @@ -command! -nargs=${1:number_of_args} ${2:other_params} ${2:name} ${2:command} diff --git a/bundle/snipmate-snippets/vim/func.snippet b/bundle/snipmate-snippets/vim/func.snippet deleted file mode 100644 index 8591a835..00000000 --- a/bundle/snipmate-snippets/vim/func.snippet +++ /dev/null @@ -1,8 +0,0 @@ -"Function: $1 -"Desc: ${3:description} -" -"Arguments: -"${4} -function! ${1:name}(${2}) - ${5} -endfunction diff --git a/bundle/snipmate-snippets/vim/if.snippet b/bundle/snipmate-snippets/vim/if.snippet deleted file mode 100644 index 336e7a00..00000000 --- a/bundle/snipmate-snippets/vim/if.snippet +++ /dev/null @@ -1,3 +0,0 @@ -if ${1} - ${2} -endif diff --git a/bundle/snipmate-snippets/vim/ife.snippet b/bundle/snipmate-snippets/vim/ife.snippet deleted file mode 100644 index c5d16939..00000000 --- a/bundle/snipmate-snippets/vim/ife.snippet +++ /dev/null @@ -1,4 +0,0 @@ -if ${1} - ${2} -else -endif diff --git a/bundle/snipmate-snippets/vim/log.snippet b/bundle/snipmate-snippets/vim/log.snippet deleted file mode 100644 index 5a867549..00000000 --- a/bundle/snipmate-snippets/vim/log.snippet +++ /dev/null @@ -1 +0,0 @@ -echomsg ${1} diff --git a/bundle/snipmate-snippets/vim/try.snippet b/bundle/snipmate-snippets/vim/try.snippet deleted file mode 100644 index cd4c0e72..00000000 --- a/bundle/snipmate-snippets/vim/try.snippet +++ /dev/null @@ -1,4 +0,0 @@ -try - ${2} -catch /${1}/ -endtry diff --git a/bundle/snipmate-snippets/xslt/call.snippet b/bundle/snipmate-snippets/xslt/call.snippet deleted file mode 100644 index 2fe4f9d1..00000000 --- a/bundle/snipmate-snippets/xslt/call.snippet +++ /dev/null @@ -1,3 +0,0 @@ - - ${2} - diff --git a/bundle/snipmate-snippets/xslt/choose.snippet b/bundle/snipmate-snippets/xslt/choose.snippet deleted file mode 100644 index 1a877543..00000000 --- a/bundle/snipmate-snippets/xslt/choose.snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - ${2} - - - - diff --git a/bundle/snipmate-snippets/xslt/mat.snippet b/bundle/snipmate-snippets/xslt/mat.snippet deleted file mode 100644 index a566e0ec..00000000 --- a/bundle/snipmate-snippets/xslt/mat.snippet +++ /dev/null @@ -1,3 +0,0 @@ - - ${2} - diff --git a/bundle/snipmate-snippets/xslt/out.snippet b/bundle/snipmate-snippets/xslt/out.snippet deleted file mode 100644 index 88e70c21..00000000 --- a/bundle/snipmate-snippets/xslt/out.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/xslt/param.snippet b/bundle/snipmate-snippets/xslt/param.snippet deleted file mode 100644 index f4f9a504..00000000 --- a/bundle/snipmate-snippets/xslt/param.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/xslt/sty.snippet b/bundle/snipmate-snippets/xslt/sty.snippet deleted file mode 100644 index f6751c74..00000000 --- a/bundle/snipmate-snippets/xslt/sty.snippet +++ /dev/null @@ -1,3 +0,0 @@ - - ${1} - diff --git a/bundle/snipmate-snippets/xslt/tem.snippet b/bundle/snipmate-snippets/xslt/tem.snippet deleted file mode 100644 index bcd86d6d..00000000 --- a/bundle/snipmate-snippets/xslt/tem.snippet +++ /dev/null @@ -1,3 +0,0 @@ - - ${2} - diff --git a/bundle/snipmate-snippets/xslt/value.snippet b/bundle/snipmate-snippets/xslt/value.snippet deleted file mode 100644 index 9128cc6d..00000000 --- a/bundle/snipmate-snippets/xslt/value.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/xslt/var.snippet b/bundle/snipmate-snippets/xslt/var.snippet deleted file mode 100644 index d21b77c8..00000000 --- a/bundle/snipmate-snippets/xslt/var.snippet +++ /dev/null @@ -1,3 +0,0 @@ - - ${2} - diff --git a/bundle/snipmate-snippets/xslt/wparam.snippet b/bundle/snipmate-snippets/xslt/wparam.snippet deleted file mode 100644 index 2284b71c..00000000 --- a/bundle/snipmate-snippets/xslt/wparam.snippet +++ /dev/null @@ -1 +0,0 @@ - diff --git a/bundle/snipmate-snippets/xslt/xdec.snippet b/bundle/snipmate-snippets/xslt/xdec.snippet deleted file mode 100644 index f1e44209..00000000 --- a/bundle/snipmate-snippets/xslt/xdec.snippet +++ /dev/null @@ -1,2 +0,0 @@ - - ${2} diff --git a/bundle/snipmate-snippets/zend/assert.snippet b/bundle/snipmate-snippets/zend/assert.snippet deleted file mode 100644 index ca928f25..00000000 --- a/bundle/snipmate-snippets/zend/assert.snippet +++ /dev/null @@ -1 +0,0 @@ -$this->assertTrue(${1:somevar}, '${2:sometext}'); diff --git a/bundle/snipmate-snippets/zend/boolcol.snippet b/bundle/snipmate-snippets/zend/boolcol.snippet deleted file mode 100644 index 715fe19c..00000000 --- a/bundle/snipmate-snippets/zend/boolcol.snippet +++ /dev/null @@ -1 +0,0 @@ -$this->hasColumn('${1:active}', '${2:boolean}', ${3:1}, array('default' => '${4:1}','notnull' => true)); diff --git a/bundle/snipmate-snippets/zend/clac.snippet b/bundle/snipmate-snippets/zend/clac.snippet deleted file mode 100644 index 80972a11..00000000 --- a/bundle/snipmate-snippets/zend/clac.snippet +++ /dev/null @@ -1,20 +0,0 @@ -_flashMessenger->addMessage("${1}", '${2:error}'); diff --git a/bundle/snipmate-snippets/zend/getconf.snippet b/bundle/snipmate-snippets/zend/getconf.snippet deleted file mode 100644 index 10f2b202..00000000 --- a/bundle/snipmate-snippets/zend/getconf.snippet +++ /dev/null @@ -1 +0,0 @@ -$${1:conf} = Zend_Registry::get('${2:config}')->${3:general}; diff --git a/bundle/snipmate-snippets/zend/input.snippet b/bundle/snipmate-snippets/zend/input.snippet deleted file mode 100644 index 3c4ed27e..00000000 --- a/bundle/snipmate-snippets/zend/input.snippet +++ /dev/null @@ -1,4 +0,0 @@ -formInput(array( 'type' => '${1:hidden}', - 'name' => '${2}', - 'value' => ${3:}, - 'id' => '${4:}' )); ?> diff --git a/bundle/snipmate-snippets/zend/inputarr.snippet b/bundle/snipmate-snippets/zend/inputarr.snippet deleted file mode 100644 index 8e97bee5..00000000 --- a/bundle/snipmate-snippets/zend/inputarr.snippet +++ /dev/null @@ -1,6 +0,0 @@ -formInput(array( 'type' => '${1:dropdown}', - 'name' => '${2}', - 'label' => '${3:}', - 'errors' => ${4:}, - 'value' => ${5:}, - 'valueList' => ${6:} )); ?> diff --git a/bundle/snipmate-snippets/zend/intcol.snippet b/bundle/snipmate-snippets/zend/intcol.snippet deleted file mode 100644 index caacaa61..00000000 --- a/bundle/snipmate-snippets/zend/intcol.snippet +++ /dev/null @@ -1 +0,0 @@ -$this->hasColumn('${1:id}', '${2:integer}', ${3:11}, array(${4:'notnull' => true)}); diff --git a/bundle/snipmate-snippets/zend/lib.snippet b/bundle/snipmate-snippets/zend/lib.snippet deleted file mode 100644 index 683e22ef..00000000 --- a/bundle/snipmate-snippets/zend/lib.snippet +++ /dev/null @@ -1,5 +0,0 @@ -hasColumn('id', 'integer', 4, array('notnull' => true, - 'primary' => true, - 'autoincrement' => true)); - ${3} - } - -} diff --git a/bundle/snipmate-snippets/zend/navi.snippet b/bundle/snipmate-snippets/zend/navi.snippet deleted file mode 100644 index 2724ff9f..00000000 --- a/bundle/snipmate-snippets/zend/navi.snippet +++ /dev/null @@ -1 +0,0 @@ -$this->view->navigationActive = array('topnavi' => '${1:home}','subnavi' => '${2:index}'); diff --git a/bundle/snipmate-snippets/zend/route.snippet b/bundle/snipmate-snippets/zend/route.snippet deleted file mode 100644 index cdf834b2..00000000 --- a/bundle/snipmate-snippets/zend/route.snippet +++ /dev/null @@ -1 +0,0 @@ -$this->_redirector->gotoRoute(array('controller' => '${1}', 'action' => '${2:index}', 'id' => '${3:}'), '${4:admin_action}'); diff --git a/bundle/snipmate-snippets/zend/rp.snippet b/bundle/snipmate-snippets/zend/rp.snippet deleted file mode 100644 index b5dcd1ff..00000000 --- a/bundle/snipmate-snippets/zend/rp.snippet +++ /dev/null @@ -1,2 +0,0 @@ -partial('${1:somefile}.phtml', - array(${2}))?> diff --git a/bundle/snipmate-snippets/zend/strcol.snippet b/bundle/snipmate-snippets/zend/strcol.snippet deleted file mode 100644 index 98d3cf34..00000000 --- a/bundle/snipmate-snippets/zend/strcol.snippet +++ /dev/null @@ -1 +0,0 @@ -$this->hasColumn('${1:title}', '${2:string}', ${3:255}, array(${4:'notnull' => true})); diff --git a/bundle/vim-snipmate/.gitignore b/bundle/vim-snipmate/.gitignore deleted file mode 100644 index 9140e6a9..00000000 --- a/bundle/vim-snipmate/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -doc/tags -*.swp -.DS_Store diff --git a/bundle/vim-snipmate/Contributors.md b/bundle/vim-snipmate/Contributors.md deleted file mode 100644 index 4e139e1a..00000000 --- a/bundle/vim-snipmate/Contributors.md +++ /dev/null @@ -1,44 +0,0 @@ -# Contributors # - -SnipMate was originally authored by Michael Sanders -([Vim](http://www.vim.org/account/profile.php?user_id=16544), -[GitHub](https://github.com/msanders)). - -It is currently maintained by [Rok Garbas](rok@garbas.si), [Marc -Weber](marco-oweber@gmx.de), and [Adnan Zafar](https://github.com/ajzafar) with -additional contributions from: - -* [907th](https://github.com/907th) -* [adkron](https://github.com/adkron) -* [alderz](https://github.com/alderz) -* [asymmetric](https://github.com/asymmetric) -* [bpugh](https://github.com/bpugh) -* [bruno-](https://github.com/bruno-) -* [darkwise](https://github.com/darkwise) -* [fish-face](https://github.com/fish-face) -* [henrik](https://github.com/henrik) -* [holizz](https://github.com/holizz) -* [honza](https://github.com/honza) -* [hpesoj](https://github.com/hpesoj) -* [ironcamel](https://github.com/ironcamel) -* [jb55](https://github.com/jb55) -* [jbernard](https://github.com/jbernard) -* [jherdman](https://github.com/jherdman) -* [kozo2](https://github.com/kozo2) -* [lilydjwg](https://github.com/lilydjwg) -* [marutanm](https://github.com/marutanm) -* [MicahElliott](https://github.com/MicahElliott) -* [muffinresearch](https://github.com/muffinresearch) -* [pielgrzym](https://github.com/pielgrzym) -* [pose](https://github.com/pose) -* [r00k](https://github.com/r00k) -* [radicalbit](https://github.com/radicalbit) -* [redpill](https://github.com/redpill) -* [robhudson](https://github.com/robhudson) -* [Shraymonks](https://github.com/shraymonks) -* [sickill](https://github.com/sickill) -* [statik](https://github.com/statik) -* [steveno](https://github.com/steveno) -* [taq](https://github.com/taq) -* [thisgeek](https://github.com/thisgeek) -* [Xandaros](https://github.com/Xandaros) diff --git a/bundle/vim-snipmate/README.md b/bundle/vim-snipmate/README.md deleted file mode 100644 index 86d881a5..00000000 --- a/bundle/vim-snipmate/README.md +++ /dev/null @@ -1,108 +0,0 @@ -# SnipMate # - -SnipMate aims to provide support for textual snippets, similar to TextMate or -other Vim plugins like [UltiSnips][ultisnips]. For -example, in C, typing `for` could be expanded to - - for (i = 0; i < count; i++) { - /* code */ - } - -with successive presses of tab jumping around the snippet. - -Originally authored by [Michael Sanders][msanders], SnipMate was forked in 2011 -after a stagnation in development. This fork is currently maintained by [Rok -Garbas][garbas], [Marc Weber][marcweber], and [Adnan Zafar][ajzafar]. - - -## Installing SnipMate ## - -We recommend one of the following methods for installing SnipMate and its -dependencies. SnipMate depends on [vim-addon-mw-utils][mw-utils] and -[tlib][tlib]. Since SnipMate does not ship with any snippets, we suggest -looking at the [vim-snippets][vim-snippets] repository. - -* Using [VAM][vam], add `vim-snippets` to the list of packages to be installed. - -* Using [Pathogen][pathogen], run the following commands: - - % cd ~/.vim/bundle - % git clone https://github.com/tomtom/tlib_vim.git - % git clone https://github.com/MarcWeber/vim-addon-mw-utils.git - % git clone https://github.com/garbas/vim-snipmate.git - - # Optional: - % git clone https://github.com/honza/vim-snippets.git - -* Using [Vundle][vundle], add the following to your `vimrc` then run - `:BundleInstall` - - Bundle "MarcWeber/vim-addon-mw-utils" - Bundle "tomtom/tlib_vim" - Bundle "garbas/vim-snipmate" - - " Optional: - Bundle "honza/vim-snippets" - -## FAQ ## - -> How does SnipMate determine which snippets to load? How can I separate, for -> example, my Rails snippets from my Ruby snippets? - -Primarily SnipMate looks at the `'filetype'` and `'syntax'` settings. Taking -"scopes" from these options, it looks in each `snippets/` directory in -`'runtimepath'` for files named `scope.snippets`, `scope/*.snippets`, or -`scope_*.snippets`. - -However we understand this may not allow for the flexibility desired by some -languages. For this we provide two options: scope aliases and the -`:SnipMateLoadScope` command. Scope aliases simply say "whenever this scope is -loaded, also load this other scope: - - let g:snipMate = {} - let g:snipMate.scope_aliases = {} - let g:snipMate.scope_aliases['ruby'] = 'ruby,rails' - -will load the `ruby-rails` scope whenever the `ruby` scope is active. The -`:SnipMateLoadScope foo` command will always load the foo scope in the current -buffer. The [vim-rails](https://github.com/tpope/vim-rails) plugin automatically -does `:SnipMateLoadScope rails` when editing a Rails project for example. - -## Release Notes ## - -### Master ### - -* Implement simple caching -* Remove expansion guards -* Fix bug with mirrors in the first column -* Fix bug with tabs in indents ([#143][143]) -* Fix bug with mirrors in placeholders -* Fix reading single snippet files -* Fix the use of the visual map at the end of a line -* Add `:SnipMateLoadScope` command and buffer-local scope aliases -* Load `_*.snippets` files - -### 0.87 - 2014-01-04 ### - -* Stop indenting empty lines when expanding snippets -* Support extends keyword in .snippets files -* Fix visual placeholder support -* Add zero tabstop support -* Support negative 'softtabstop' -* Add g:snipMate_no_default_aliases option -* Add snipMateTrigger for triggering an expansion inside a snippet -* Add snipMate#CanBeTriggered() function - -[ultisnips]: https://github.com/sirver/ultisnips -[msanders]: https://github.com/msanders -[garbas]: https://github.com/garbas -[marcweber]: https://github.com/marcweber -[ajzafar]: https://github.com/ajzafar -[mw-utils]: https://github.com/marcweber/vim-addon-mw-utils -[tlib]: https://github.com/tomtom/tlib_vim -[vim-snippets]: https://github.com/honza/vim-snippets -[vam]: https://github.com/marcweber/vim-addon-manager -[pathogen]: https://github.com/tpope/vim-pathogen -[vundle]: https://github.com/gmarik/vundle - -[143]: https://github.com/garbas/vim-snipmate/issues/143 diff --git a/bundle/vim-snipmate/addon-info.json b/bundle/vim-snipmate/addon-info.json deleted file mode 100644 index 8d9930ff..00000000 --- a/bundle/vim-snipmate/addon-info.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name" : "snipMate", - "version" : "dev", - "author" : "Michael Sanders -> original project http://github.com/msanders/snipmate.vim", - "maintainer" : "Rok Garbas / Marc Weber", - "repository" : {"type": "git", "url": "git://github.com/garbas/vim-snipmate.git"}, - "dependencies" : { - "vim-addon-mw-utils": {}, - "tlib": {} - }, - "description" : "snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim. See README.md to learn about the features this fork adds" -} diff --git a/bundle/vim-snipmate/after/plugin/snipMate.vim b/bundle/vim-snipmate/after/plugin/snipMate.vim deleted file mode 100644 index d7379c22..00000000 --- a/bundle/vim-snipmate/after/plugin/snipMate.vim +++ /dev/null @@ -1,46 +0,0 @@ -" snipMate maps -" These maps are created here in order to make sure we can reliably create maps -" after SuperTab. - -let s:save_cpo = &cpo -set cpo&vim - -function! s:map_if_not_mapped(lhs, rhs, mode) - let l:unique = s:overwrite ? '' : ' ' - if !hasmapto(a:rhs, a:mode) - silent! exe a:mode . 'map' . l:unique a:lhs a:rhs - endif -endfunction - -if !exists('g:snips_no_mappings') || !g:snips_no_mappings - if exists('g:snips_trigger_key') - echom 'g:snips_trigger_key is deprecated. See :h snipMate-mappings' - exec 'imap ' g:snips_trigger_key 'snipMateTrigger' - exec 'smap ' g:snips_trigger_key 'snipMateSNext' - exec 'xmap ' g:snips_trigger_key 'snipMateVisual' - else - " Remove SuperTab map if it exists - let s:overwrite = maparg('', 'i') ==? 'SuperTabForward' - call s:map_if_not_mapped('', 'snipMateNextOrTrigger', 'i') - call s:map_if_not_mapped('', 'snipMateNextOrTrigger', 's') - let s:overwrite = 0 - call s:map_if_not_mapped('', 'snipMateVisual', 'x') - endif - - if exists('g:snips_trigger_key_backwards') - echom 'g:snips_trigger_key_backwards is deprecated. See :h snipMate-mappings' - exec 'imap ' g:snips_trigger_key_backwards 'snipMateIBack' - exec 'smap ' g:snips_trigger_key_backwards 'snipMateSBack' - else - let s:overwrite = maparg('', 'i') ==? 'SuperTabBackward' - call s:map_if_not_mapped('', 'snipMateBack', 'i') - call s:map_if_not_mapped('', 'snipMateBack', 's') - let s:overwrite = 0 - endif - - call s:map_if_not_mapped('', 'snipMateShow', 'i') -endif - -let &cpo = s:save_cpo - -" vim:noet: diff --git a/bundle/vim-snipmate/autoload/snipMate.vim b/bundle/vim-snipmate/autoload/snipMate.vim deleted file mode 100644 index 15d4c300..00000000 --- a/bundle/vim-snipmate/autoload/snipMate.vim +++ /dev/null @@ -1,850 +0,0 @@ -" config which can be overridden (shared lines) -if !exists('g:snipMate') - let g:snipMate = {} -endif - -try - call tlib#input#List('mi', '', []) -catch /.*/ - echoe "you're missing tlib. See install instructions at ".expand(':h:h').'/README.md' -endtry - -" match $ which doesn't follow a \ -let s:d = nr2char(31) - -fun! Filename(...) - let filename = expand('%:t:r') - if filename == '' | return a:0 == 2 ? a:2 : '' | endif - return !a:0 || a:1 == '' ? filename : substitute(a:1, '$1', filename, 'g') -endf - -let s:state_proto = {} -let s:cache = {} - -fun! s:state_proto.remove() - unlet! b:snip_state - " Remove all buffer-local autocommands in the snipmate_changes group - au! snipmate_changes * -endf - -fun! snipMate#expandSnip(snip, col) - let lnum = line('.') | let col = a:col - - let snippet = s:ProcessSnippet(a:snip) - " Avoid error if eval evaluates to nothing - if snippet == '' | return '' | endif - - " Expand snippet onto current position with the tab stops removed - let snipLines = split(substitute(snippet, ''.s:d .'\d\+\|'.s:d .'{\d\+.\{-}}', '', 'g'), "\n", 1) - - let line = getline(lnum) - let afterCursor = strpart(line, col - 1) - " Keep text after the cursor - if afterCursor != "\t" && afterCursor != ' ' - let line = strpart(line, 0, col - 1) - let snipLines[-1] .= afterCursor - else - let afterCursor = '' - " For some reason the cursor needs to move one right after this - if line != '' && col == 1 && &ve != 'all' && &ve != 'onemore' - let col += 1 - endif - endif - - " Insert snippet with proper indentation - let indent = match(line, '\S\|$') + 1 - call setline(lnum, line . snipLines[0]) - call append(lnum, map(snipLines[1:], "empty(v:val) ? v:val : '" . strpart(line, 0, indent - 1) . "' . v:val")) - - " Open any folds snippet expands into - if &fen | sil! exe lnum.','.(lnum + len(snipLines) - 1).'foldopen' | endif - - let b:snip_state = copy(s:state_proto) - let [b:snip_state.stops, b:snip_state.stop_count] = s:BuildTabStops(snippet, lnum, col - indent, indent) - - if b:snip_state.stop_count - aug snipmate_changes - au CursorMoved,CursorMovedI if exists('b:snip_state') | - \ call b:snip_state.update_changes() | - \ else | - \ silent! au! snipmate_changes * | - \ endif - aug END - call b:snip_state.set_stop(0) - let ret = b:snip_state.select_word() - - if b:snip_state.stop_count == 1 - call b:snip_state.remove() - endif - - return ret - else - unlet b:snip_state - " Place cursor at end of snippet if no tab stop is given - let newlines = len(snipLines) - 1 - call cursor(lnum + newlines, indent + len(snipLines[-1]) - len(afterCursor) - \ + (newlines ? 0: col - 1)) - endif - return '' -endf - -" Update state information to correspond to the given tab stop -function! s:state_proto.set_stop(stop) - let self.stop_no = a:stop - let self.cur_stop = self.stops[self.stop_no] - let self.end_col = self.cur_stop[1] + self.cur_stop[2] - let self.start_col = self.cur_stop[1] - call cursor(self.cur_stop[0], self.cur_stop[1]) - let self.prev_len = col('$') - let self.has_vars = exists('self.cur_stop[3]') - let self.old_vars = self.has_vars ? deepcopy(self.cur_stop[3]) : [] -endfunction - -" Prepare snippet to be processed by s:BuildTabStops -fun! s:ProcessSnippet(snip) - let snippet = a:snip - let esc_bslash = '\%(\\\@ 0) ? &sts : &sw), 'g') - endif - return snippet -endf - -" Counts occurences of haystack in needle -fun! s:Count(haystack, needle) - let counter = 0 - let index = stridx(a:haystack, a:needle) - while index != -1 - let index = stridx(a:haystack, a:needle, index+1) - let counter += 1 - endw - return counter -endf - -" Builds a list of a list of each tab stop in the snippet containing: -" 1.) The tab stop's line number. -" 2.) The tab stop's column number -" (by getting the length of the string between the last "\n" and the -" tab stop). -" 3.) The length of the text after the colon for the current tab stop -" (e.g. "${1:foo}" would return 3). -" 4.) If the "${#:}" construct is given, another list containing all -" the matches of "$#", to be replaced with the placeholder. This list is -" composed the same way as the parent; the first item is the line number, -" and the second is the column. -fun! s:BuildTabStops(snip, lnum, col, indent) - let snipPos = [] - let i = 1 - let withoutVars = substitute(a:snip, s:d . '\d\+', '', 'g') - while a:snip =~ s:d.'{'.i - let beforeTabStop = matchstr(withoutVars, '^.*\ze'.s:d .'{'.i.'\D') - let withoutOthers = substitute(withoutVars, ''.s:d .'{\('.i.'\D\)\@!\d\+.\{-}}', '', 'g') - - let j = i - 1 - call add(snipPos, [0, 0, 0]) - let snipPos[j][0] = a:lnum + s:Count(beforeTabStop, "\n") - let snipPos[j][1] = a:indent + len(matchstr(withoutOthers, '.*\(\n\|^\)\zs.*\ze'.s:d .'{'.i.'\D')) - if snipPos[j][0] == a:lnum | let snipPos[j][1] += a:col | endif - - " Get all $# matches in another list, if ${#:name} is given - if withoutVars =~ ''.s:d .'{'.i.':' - let snipPos[j][2] = len(matchstr(withoutVars, ''.s:d .'{'.i.':\zs.\{-}\ze}')) - let dots = repeat('.', snipPos[j][2]) - call add(snipPos[j], []) - let withoutOthers = substitute(a:snip, ''.s:d .'{\d\+.\{-}}\|'.s:d .''.i.'\@!\d\+', '', 'g') - while match(withoutOthers, ''.s:d .''.i.'\(\D\|$\)') != -1 - let beforeMark = matchstr(withoutOthers, '^.\{-}\ze'.dots.''.s:d .''.i.'\(\D\|$\)') - call add(snipPos[j][3], [0, 0]) - let snipPos[j][3][-1][0] = a:lnum + s:Count(beforeMark, "\n") - let snipPos[j][3][-1][1] = a:indent + (snipPos[j][3][-1][0] > a:lnum - \ ? len(matchstr(beforeMark, '.*\n\zs.*')) - \ : a:col + len(beforeMark)) - let withoutOthers = substitute(withoutOthers, ''.s:d .''.i.'\ze\(\D\|$\)', '', '') - endw - endif - let i += 1 - endw - return [snipPos, i - 1] -endf - -function! s:state_proto.jump_stop(backwards) - " Update changes just in case - " This seems to be only needed because insert completion does not trigger - " the CursorMovedI event - call self.update_changes() - - " Update stop and var locations - call self.update_stops() - - " Store the changed col/length of the current stop - let self.cur_stop[1] = self.start_col - let self.cur_stop[2] = self.end_col - self.start_col - - let self.stop_no += a:backwards ? -1 : 1 - " Loop over the snippet when going backwards from the beginning - if self.stop_no < 0 | let self.stop_no = self.stop_count - 1 | endif - - call self.set_stop(self.stop_no) - let ret = self.select_word() - if self.stop_no == self.stop_count - 1 - call self.remove() - endif - return ret -endfunction - -" Updates tab stops/vars -function! s:state_proto.update_stops() - let changeLen = self.end_col - self.cur_stop[2] - self.start_col - " Update tab stops in snippet if text has been added via "$#" - " (e.g., in "${1:foo}bar$1${2}"). - if changeLen != 0 - let curLine = line('.') - - for pos in self.stops - if pos == self.cur_stop | continue | endif - let changed = pos[0] == curLine && pos[1] > self.cur_stop[1] - let changedVars = 0 - let endPlaceholder = pos[2] - 1 + pos[1] - " Subtract changeLen from each tab stop that was after any of - " the current tab stop's placeholders. - for [lnum, col] in self.old_vars - if lnum > pos[0] | break | endif - if pos[0] == lnum - if pos[1] > col || (pos[2] == -1 && pos[1] == col) - let changed += 1 - elseif col < endPlaceholder - let changedVars += 1 - endif - endif - endfor - let pos[1] += changeLen * changed - " Parse variables within placeholders, e.g., "${1:foo} ${2:$1bar}" - let pos[2] += changeLen * changedVars - - " Do the same to any placeholders in the other tab stops. - if exists('pos[3]') - for nPos in pos[3] - let changed = nPos[0] == curLine && nPos[1] > self.start_col - if changed && nPos[1] < self.start_col + self.cur_stop[2] - call remove(pos, index(pos, nPos)) - continue - endif - for [lnum, col] in self.old_vars - if lnum > nPos[0] | break | endif - if nPos[0] == lnum && nPos[1] > col - let changed += 1 - endif - endfor - let nPos[1] += changeLen * changed - endfor - endif - endfor - endif -endfunction - -" Select the placeholder for the current tab stop -function! s:state_proto.select_word() - let len = self.cur_stop[2] - if !len | return '' | endif - let l = col('.') != 1 ? 'l' : '' - if &sel == 'exclusive' - return "\".l.'v'.len."l\" - endif - return len == 1 ? "\".l.'gh' : "\".l.'v'.(len - 1)."l\" -endfunction - -" Update the snippet as text is typed. The self.update_vars() function does -" the actual work. -" If the cursor moves outside of a placeholder, call self.remove() -function! s:state_proto.update_changes() - let change_len = col('$') - self.prev_len - let self.end_col += change_len - - let col = col('.') - if mode() == 'i' - if line('.') != self.cur_stop[0] - \ || col < self.start_col || col > self.end_col - call self.remove() - elseif self.has_vars - call self.update_vars(change_len) - endif - endif - - let self.prev_len = col('$') -endfunction - -" Actually update the vars for any changed text -function! s:state_proto.update_vars(change) - let newWordLen = self.end_col - self.start_col - let newWord = strpart(getline('.'), self.start_col - 1, newWordLen) - let changeLen = a:change - let curLine = line('.') - let curCol = col('.') - let oldStartSnip = self.start_col - let updateTabStops = changeLen != 0 - let i = 0 - - for [lnum, col] in self.cur_stop[3] - if updateTabStops - let start = self.start_col - if lnum == curLine && col <= start - let self.start_col += changeLen - let self.end_col += changeLen - endif - for nPos in self.cur_stop[3][(i):] - " This list is in ascending order, so quit if we've gone too far. - if nPos[0] > lnum | break | endif - if nPos[0] == lnum && nPos[1] > col - let nPos[1] += changeLen - endif - endfor - if lnum == curLine && col > start - let col += changeLen - let self.cur_stop[3][i][1] = col - endif - let i += 1 - endif - - " Split the line into three parts: the mirror, what's before it, and - " what's after it. Then combine them using the new mirror string. - " Subtract one to go from column index to byte index - let theline = getline(lnum) - let update = strpart(theline, 0, col - 1) - let update .= newWord - let update .= strpart(theline, col + self.end_col - self.start_col - a:change - 1) - call setline(lnum, update) - endfor - - " Reposition the cursor in case a var updates on the same line but before - " the current tabstop - if oldStartSnip != self.start_col || mode() == 'i' - call cursor(0, curCol + self.start_col - oldStartSnip) - endif -endfunction - -" reads a .snippets file -" returns list of -" ['triggername', 'name', 'contents'] -" if triggername is not set 'default' is assumed -" TODO: better error checking -fun! snipMate#ReadSnippetsFile(file) - let result = [] - let new_scopes = [] - if !filereadable(a:file) | return [result, new_scopes] | endif - let inSnip = 0 - let line_no = 0 - for line in readfile(a:file) + ["\n"] - let line_no += 1 - - if inSnip && (line[0] == "\t" || line == '') - let content .= strpart(line, 1)."\n" - continue - elseif inSnip - call add(result, [trigger, name == '' ? 'default' : name, content[:-2]]) - let inSnip = 0 - endif - - if line[:6] == 'snippet' - let inSnip = 1 - let trigger = strpart(line, 8) - let name = '' - let space = stridx(trigger, ' ') + 1 - if space " Process multi snip - let name = strpart(trigger, space) - let trigger = strpart(trigger, 0, space - 1) - endif - let content = '' - if trigger =~ '^\s*$' " discard snippets with empty triggers - echom 'Invalid snippet in' a:file 'near line' line_no - let inSnip = 0 - endif - elseif line[:6] == 'extends' - call extend(new_scopes, map(split(strpart(line, 8)), - \ "substitute(v:val, ',*$', '', '')")) - endif - endfor - return [result, new_scopes] -endf - -function! s:GetScopes() - let ret = exists('b:snipMate.scope_aliases') ? copy(b:snipMate.scope_aliases) : {} - let global = get(g:snipMate, 'scope_aliases', {}) - for alias in keys(global) - if has_key(ret, alias) - let ret[alias] = join(split(ret[alias], ',') - \ + split(global[alias], ','), ',') - else - let ret[alias] = global[alias] - endif - endfor - return ret -endfunction - -" adds scope aliases to list. -" returns new list -" the aliases of aliases are added recursively -fun! s:AddScopeAliases(list) - let did = {} - let scope_aliases = s:GetScopes() - let new = a:list - let new2 = [] - while !empty(new) - for i in new - if !has_key(did, i) - let did[i] = 1 - call extend(new2, split(get(scope_aliases,i,''),',')) - endif - endfor - let new = new2 - let new2 = [] - endwhile - return keys(did) -endf - -if v:version < 704 || has('win32') - function! s:Glob(path, expr) - let res = [] - for p in split(a:path, ',') - let h = split(fnamemodify(a:expr, ':h'), '/')[0] - if isdirectory(p . '/' . h) - call extend(res, split(glob(p . '/' . a:expr), "\n")) - endif - endfor - return filter(res, 'filereadable(v:val)') - endfunction -else - function! s:Glob(path, expr) - return split(globpath(a:path, a:expr), "\n") - endfunction -endif - -" returns dict of -" { path: { 'type': one of 'snippet' 'snippets', -" 'exists': 1 or 0 -" " for single snippet files: -" 'name': name of snippet -" 'trigger': trigger of snippet -" } -" } -" use mustExist = 1 to return existing files only -" -" mustExist = 0 is used by OpenSnippetFiles -function! snipMate#GetSnippetFiles(mustExist, scopes, trigger) - let paths = join(funcref#Call(g:snipMate.snippet_dirs), ',') - let result = {} - let scopes = s:AddScopeAliases(a:scopes) - let trigger = escape(a:trigger, "*[]?{}`'$") - - " collect existing files - for scope in scopes - - for f in s:Glob(paths, 'snippets/' . scope . '.snippets') + - \ s:Glob(paths, 'snippets/' . scope . '_*.snippets') + - \ s:Glob(paths, 'snippets/' . scope . '/*.snippets') - let result[f] = { 'exists' : 1, 'type' : 'snippets', - \ 'name_prefix' : fnamemodify(f, ':t:r') } - endfor - - " We check for trigger* in the next two loops. In the case of an exact - " match, that'll be handled in snipMate#GetSnippetsForWordBelowCursor. - for f in s:Glob(paths, 'snippets/' . scope . '/' . trigger . '*.snippet') - let result[f] = {'exists': 1, 'type': 'snippet', 'name': 'default', - \ 'trigger': fnamemodify(f, ':t:r'), 'name_prefix' : scope } - endfor - - for f in s:Glob(paths, 'snippets/' . scope . '/' . trigger . '*/*.snippet') - let result[f] = {'exists': 1, 'type': 'snippet', 'name' : fnamemodify(f, ':t:r'), - \ 'trigger': fnamemodify(f, ':h:t'), 'name_prefix' : scope } - endfor - - if !a:mustExist - for p in split(paths, ',') - let p .= '/snippets/' . scope . '.snippets' - let result[p] = get(result, p, {'exists': 0, 'type': 'snippets'}) - endfor - endif - - endfor - return result -endfunction - -" should be moved to utils or such? -function! snipMate#SetByPath(dict, trigger, path, snippet) abort - let d = a:dict - if !has_key(d, a:trigger) - let d[a:trigger] = {} - endif - let d[a:trigger][a:path] = a:snippet -endfunction - -function! s:CachedSnips(file) - let mtime = getftime(a:file) - if has_key(s:cache, a:file) && s:cache[a:file].mtime >= mtime - return s:cache[a:file].contents - endif - let s:cache[a:file] = {} - let s:cache[a:file].mtime = mtime - let s:cache[a:file].contents = snipMate#ReadSnippetsFile(a:file) - return s:cache[a:file].contents -endfunction - -" default triggers based on paths -function! snipMate#DefaultPool(scopes, trigger, result) - let extra_scopes = [] - for [f,opts] in items(snipMate#GetSnippetFiles(1, a:scopes, a:trigger)) - let opts.name_prefix = matchstr(f, '\v/\zs.{-}\ze/snippets') . ' ' . opts.name_prefix - if opts.type == 'snippets' - let [snippets, new_scopes] = s:CachedSnips(f) - call extend(extra_scopes, new_scopes) - for [trigger, name, contents] in snippets - if trigger =~ '\V\^' . escape(a:trigger, '\') - call snipMate#SetByPath(a:result, trigger, - \ opts.name_prefix . ' ' . name, contents) - endif - endfor - elseif opts.type == 'snippet' - call snipMate#SetByPath(a:result, opts.trigger, - \ opts.name_prefix . ' ' . opts.name, readfile(f)) - else - throw "unexpected" - endif - endfor - - if !empty(extra_scopes) - call snipMate#DefaultPool(extra_scopes, a:trigger, a:result) - endif -endfunction - -" return a dict of snippets found in runtimepath matching trigger -" scopes: list of scopes. usually this is the filetype. eg ['c','cpp'] -" trigger may contain glob patterns. Thus use '*' to get all triggers -" -fun! snipMate#GetSnippets(scopes, trigger) - let result = {} - - for F in values(g:snipMateSources) - call funcref#Call(F, [a:scopes, a:trigger, result]) - endfor - return result -endf - -" adds leading tab -" and replaces leading spaces by tabs -" see ftplugin/snippet.vim -fun! snipMate#RetabSnip() range - let leadingTab = expand('%:e') == 'snippets' - - let lines = getline(a:firstline, a:lastline) - - " remove leading "\t" - let allIndented = 1 - for l in lines - if l[0] != '\t' | let allIndented = 0 | endif - endfor - - " retab - if allIndented - call map(lines, 'v:val[1:]') - endif - - let leadingSp = filter(map(copy(lines),'matchstr(v:val,"^\\s*") '),'v:val !=""') - if !empty(leadingSp) - " lines containing leading spaces found - let smallestInd = len(sort(leadingSp)[-1]) - let ind = input('retab, spaces per tab: ', smallestInd) - for i in range(0, len(lines)-1) - let ml = matchlist(lines[i], '^\(\s*\)\(.*\)') - let lines[i] = repeat("\t", len(ml[1]) / ind) - \ . repeat( " ", len(ml[1]) % ind) - \ . ml[2] - endfor - endif - " readd tab - let tab = leadingTab ? "\t" : "" - for i in range(0,len(lines)-1) - call setline(a:firstline + i, tab.lines[i]) - endfor -endf - -fun! snipMate#OpenSnippetFiles() - let dict = snipMate#GetSnippetFiles(0, snipMate#ScopesByFile(), '*') - " sort by files wether they exist - put existing files first - let exists = [] - let notExists = [] - for [file, v] in items(dict) - let v['file'] = file - if v['exists'] - call add(exists, v) - else - call add(notExists, v) - endif - endfor - let all = exists + notExists - let show = map(copy(all),'(v:val["exists"] ? "exists:" : "does not exist yet:")." ".v:val["file"]') - let select = tlib#input#List('mi', 'select files to be opened in splits', show) - for idx in select - exec 'sp '.all[idx - 1]['file'] - endfor -endf - -fun! snipMate#ScopesByFile() - " duplicates are removed in AddScopeAliases - return filter(funcref#Call(g:snipMate.get_scopes), "v:val != ''") -endf - -" used by both: completion and insert snippet -fun! snipMate#GetSnippetsForWordBelowCursor(word, exact) - " Setup lookups: '1.2.3' becomes [1.2.3] + [3, 2.3] - let parts = split(a:word, '\W\zs') - if len(parts) > 2 - let parts = parts[-2:] " max 2 additional items, this might become a setting - endif - let lookups = [a:word] - let lookup = '' - for w in reverse(parts) - let lookup = w . lookup - if index(lookups, lookup) == -1 - call add(lookups, lookup) - endif - endfor - - " allow matching '.' - if a:word =~ '\.$' - call add(lookups, '.') - endif - - " Remove empty lookup entries, but only if there are other nonempty lookups - if len(lookups) > 1 - call filter(lookups, 'v:val != ""') - endif - - let matching_snippets = [] - let snippet = '' - " prefer longest word - for word in lookups - let g:snipMate.word = word - for [k,snippetD] in items(funcref#Call(g:snipMate['get_snippets'], [snipMate#ScopesByFile(), word])) - " hack: require exact match - if a:exact && k !=# word - continue - endif - call add(matching_snippets, [k, snippetD]) - if a:exact - break - endif - endfor - endfor - return matching_snippets -endf - -" snippets: dict containing snippets by name -" usually this is just {'default' : snippet_contents } -fun! s:ChooseSnippet(snippets) - let snippet = [] - let keys = keys(a:snippets) - let i = 1 - for snip in keys - let snippet += [i.'. '.snip] - let i += 1 - endfor - if len(snippet) == 1 - " there's only a single snippet, choose it - let idx = 0 - else - let idx = tlib#input#List('si','select snippet by name',snippet) -1 - if idx == -1 - return '' - endif - endif - " if a:snippets[..] is a String Call returns it - " If it's a function or a function string the result is returned - return funcref#Call(a:snippets[keys(a:snippets)[idx]]) -endf - -fun! snipMate#WordBelowCursor() - return matchstr(getline('.'), '\S\+\%' . col('.') . 'c') -endf - -fun! snipMate#GetSnippetsForWordBelowCursorForComplete(word) - let snippets = map(snipMate#GetSnippetsForWordBelowCursor(a:word, 0), 'v:val[0]') - return filter(snippets, 'v:val =~# "\\V\\^' . escape(a:word, '"\') . '"') -endf - -fun! snipMate#CanBeTriggered() - let word = snipMate#WordBelowCursor() - let matches = snipMate#GetSnippetsForWordBelowCursorForComplete(word) - return len(matches) > 0 -endf - -fun! snipMate#ShowAvailableSnips() - let col = col('.') - let word = snipMate#WordBelowCursor() - let matches = snipMate#GetSnippetsForWordBelowCursorForComplete(word) - - " Pretty hacky, but really can't have the tab swallowed! - if len(matches) == 0 - call feedkeys(g:snipMate['no_match_completion_feedkeys_chars'], 'n') - return "" - endif - - call complete(col - len(word), sort(matches)) - return '' -endf - -" Pass an argument to force snippet expansion instead of triggering or jumping -function! snipMate#TriggerSnippet(...) - if exists('g:SuperTabMappingForward') - if g:SuperTabMappingForward == "" - let SuperTabPlug = maparg('SuperTabForward', 'i') - if SuperTabPlug == "" - let SuperTabKey = "\" - else - exec "let SuperTabKey = \"" . escape(SuperTabPlug, '<') . "\"" - endif - elseif g:SuperTabMappingBackward == "" - let SuperTabPlug = maparg('SuperTabBackward', 'i') - if SuperTabPlug == "" - let SuperTabKey = "\" - else - exec "let SuperTabKey = \"" . escape(SuperTabPlug, '<') . "\"" - endif - endif - endif - - if pumvisible() " Update snippet if completion is used, or deal with supertab - if exists('SuperTabKey') - call feedkeys(SuperTabKey) | return '' - endif - call feedkeys("\a", 'n') " Close completion menu - call feedkeys("\") | return '' - endif - - if exists('b:snip_state') && a:0 == 0 " Jump only if no arguments - let jump = b:snip_state.jump_stop(0) - if type(jump) == 1 " returned a string - return jump - endif - endif - - let word = matchstr(getline('.'), '\S\+\%'.col('.').'c') - let list = snipMate#GetSnippetsForWordBelowCursor(word, 1) - if empty(list) - let snippet = '' - else - let [trigger, snippetD] = list[0] - - let s = s:ChooseSnippet(snippetD) - if type(s) == type([]) - let snippet = join(s, "\n") - else - let snippet = s - end - - " Before expanding snippet, create new undo point |i_CTRL-G| - let &undolevels = &undolevels - let col = col('.') - len(trigger) - sil exe 's/\V'.escape(trigger, '/\.').'\%#//' - return snipMate#expandSnip(snippet, col) - endif - - " should allow other plugins to register hooks instead (duplicate code) - if exists('SuperTabKey') - call feedkeys(SuperTabKey) - return '' - endif - return word == '' - \ ? "\" - \ : "\=snipMate#ShowAvailableSnips()\" -endfunction - -fun! snipMate#BackwardsSnippet() - if exists('b:snip_state') | return b:snip_state.jump_stop(1) | endif - - if exists('g:SuperTabMappingForward') - if g:SuperTabMappingForward == "" - let SuperTabPlug = maparg('SuperTabForward', 'i') - if SuperTabPlug == "" - let SuperTabKey = "\" - else - exec "let SuperTabKey = \"" . escape(SuperTabPlug, '<') . "\"" - endif - elseif g:SuperTabMappingBackward == "" - let SuperTabPlug = maparg('SuperTabBackward', 'i') - if SuperTabPlug == "" - let SuperTabKey = "\" - else - exec "let SuperTabKey = \"" . escape(SuperTabPlug, '<') . "\"" - endif - endif - endif - " should allow other plugins to register hooks instead (duplicate code) - if exists('SuperTabKey') - call feedkeys(SuperTabKey) - return '' - endif - return "\" -endf - -" vim:noet:sw=4:ts=4:ft=vim diff --git a/bundle/vim-snipmate/autoload/snipMate_python_demo.vim b/bundle/vim-snipmate/autoload/snipMate_python_demo.vim deleted file mode 100644 index 33d0f28c..00000000 --- a/bundle/vim-snipmate/autoload/snipMate_python_demo.vim +++ /dev/null @@ -1,47 +0,0 @@ -" This file demonstrates -" - how to register your own snippet sources (call snipMate_python_demo#Activate() in ftplugin/python.vim) -" - implents a source which creates snippets based on python function -" definitions found in the current file -" -" Example: -" -" def abc(a,b,c=None) -" will create a snippet on the fly which looks like this: -" abc(${1:a}, ${2:b}, ${3:c=None}) - -fun! snipMate_python_demo#Activate() - if !exists('g:snipMateSources') - let g:snipMateSources = {} - endif - - let g:snipMateSources['python'] = funcref#Function('snipMate_python_demo#FunctionsFromCurrentFileAndTags') -endf - -fun! s:Add(dict, line, source, trigger) - let matched = matchlist(a:line,'def\s\+\([^( \t]\+\)[ \t]*(\([^)]*\)') - if len(matched) > 2 - let name = matched[1] - " TODO: is this a glob? - if name !~ a:trigger | return | endif - let a:dict[name] = get(a:dict, name, {}) - let sd = a:dict[name] - let args = [] - let nr=1 - for arg in split(matched[2], '\s*,\s*') - call add(args, '${'.nr.':'.arg.'}') - let nr+=1 - endfor - let sd[a:source] = name.'('.join(args,', ').')' - endif -endf -fun! snipMate_python_demo#FunctionsFromCurrentFileAndTags(scopes, trigger, result) - " getting all might be too much - if a:trigger == '*' | return | endif - if index(a:scopes, 'python') < 0 | return | endif - for t in taglist('^'.a:trigger) - call s:Add(a:result, t.cmd, 'tags-' . t.filename, a:trigger) - endfor - for l in getline(0, line('$')) - call s:Add(a:result, l, 'current-file', a:trigger) - endfor -endf diff --git a/bundle/vim-snipmate/doc/snipMate.txt b/bundle/vim-snipmate/doc/snipMate.txt deleted file mode 100644 index aa49586a..00000000 --- a/bundle/vim-snipmate/doc/snipMate.txt +++ /dev/null @@ -1,515 +0,0 @@ -*SnipMate.txt* Plugin for using TextMate-style snippets in Vim. - -SnipMate *snippet* *snippets* *SnipMate* -Last Change: December 27, 2009 - -1. Description |SnipMate-description| -2. Usage |SnipMate-usage| -3. Interface and Settings |SnipMate-interface| |SnipMate-settings| -4. Snippet syntax |SnipMate-syntax| -5. Snippet sources |SnipMate-snippet-sources| -6. Disadvantages to TextMate |SnipMate-disadvantages| -7. Contact |SnipMate-contact| -8. License |SnipMate-license| - -For Vim version 7.0 or later. -This plugin only works if 'compatible' is not set. -{Vi does not have any of these features.} - -SnipMate depends on vim-addon-mw-utils and tlib. - -============================================================================== -DESCRIPTION *SnipMate-description* - -SnipMate implements snippet features in Vim. A snippet is like a template, -reducing repetitive insertion of pieces of text. Snippets can contain -placeholders for modifying the text if necessary or interpolated code for -evaluation. For example, in C, typing "for" then pushing could expand -to: > - - for (i = 0; i < count; i++) { - /* code */ - } - -SnipMate is inspired by TextMate's snippet features. - -============================================================================== -USAGE *SnipMate-usage* - -Every snippet consists of an expansion and a trigger. Typing a trigger into -your buffer and then hitting your trigger key ( by default, see -|SnipMate-mappings|) will replace the trigger with the expansion text. - -The expansion text can optionally include tab stops. When it does, upon -expansion of the snippet, the cursor is placed at the first one, and the user -can jump between each tab stop. Each of these tab stops can be represented by -default placeholder text. If such a placeholder is provided, then the text of -the placeholder can be repeated in the snippet at specified mirrors. Any edits -to the placeholder are instantly updated at every mirror. - -SnipMate allows multiple snippets to use the same trigger. When triggered, -a list of all snippets with that trigger is provided and prompts for which -snippet to use. - - *SnipMate-scopes* -SnipMate searches for snippets inside a directory named "snippets" inside each -entry in 'runtimepath'. Which files are loaded depends on 'filetype' and -'syntax'; see |SnipMate-syntax| for more information. Snippets are loaded and -refreshed automatically on demand. - -Note: SnipMate does not ship with any snippets. In order to use it, the user -must either write their own snippets or obtain some from a repository like -https://github.com/honza/vim-snippets - -============================================================================== -INTERFACE AND SETTINGS *SnipMate-interface* *SnipMate-settings* - - *SnipMate-commands* -Commands~ - - *:SnipMateOpenSnippetFiles* -:SnipMateOpenSnippetFiles Opens a list of all valid snippet locations - based on the current scope |SnipMate-scopes|. - Only existing files and non-existing .snippets - files will be shown, with the existing files - shown first. - -:SnipMateLoadScope[!] scope [scope ...] - Load snippets from additional scopes. Without - [!] the additional scopes are loaded only in - the current buffer. For example > - :SnipMateLoadScopes rails -< will load all rails.snippets in the current - buffer. - - *SnipMate-options* -Options~ - -g:snips_author A variable used in some snippets in place of - the author's (your) name. Similar to - $TM_FULLNAME in TextMate. For example, > - snippet name - `g:snips_author` -< creates a snippet "name" that expands to your - name. - -g:snipMate This |Dictionary| contains other SnipMate - options. In short add > - let g:snipMate = {} -< to your .vimrc before setting other SnipMate - options. - -g:snipMate.scope_aliases A |Dictionary| associating certain filetypes - with other scopes |SnipMate-scopes|. The - entries consist of a filetype as the key and - a comma-separated list of aliases as the - value. For example, > - let g:snipMate.scope_aliases = {} - let g:snipMate.scope_aliases['ruby'] - \ = 'ruby,ruby-rails' -< tells SnipMate that "ruby-rails" snippets in - addition to "ruby" snippets should be loaded - when editing files with 'filetype' set to - "ruby" or contains "ruby" as an entry in the - case of dotted filetypes. A buffer local - variant b:snipMate_scope_aliases is merged - with the global variant. - -g:snipMate_no_default_aliases Note: This has been renamed to the following. - -g:snipMate.no_default_aliases - When set to 1, prevents SnipMate from loading - default scope aliases. The defaults are: - Filetype Alias ~ - cpp c - cu c - eruby eruby-rails,html - html javascript - mxml actionscript - objc c - php php,html,javascript - ur html,javascript - xhtml html - Individual defaults can be disabled by setting - them to an empty value: > - let g:snipMate.scope_aliases.php = '' -< will disable the default PHP alias. - Note: Setting this option does not disable - scope aliases entirely, only those made by - SnipMate itself. Any scope aliases created by - the user or someone else will still be in - effect. - -g:snipMate['no_match_completion_feedkeys_chars'] - A string inserted when no match for a trigger - is found. By default a tab is inserted - according to 'expandtab', 'tabstop', and - 'softtabstop'. Set it to the empty string to - prevent anything from being inserted. - - *SnipMate-mappings* -Mappings~ - -The mappings SnipMate uses can be customized with the |:map| commands. For -example, to change the key that triggers snippets and moves to the next -tabstop, > - - :imap snipMateNextOrTrigger - :smap snipMateNextOrTrigger - -The list of possible mappings is as follows: - -snipMateNextOrTrigger Default: Mode: Insert, Select - Jumps to the next tab stop or, if none exists, - try to expand a snippet. Use in both insert - and select modes. - -snipMateTrigger Default: unmapped Mode: Insert - Try to expand a snippet regardless of any - existing snippet expansion. If done within an - expanded snippet, the outer snippet's tab - stops are lost, unless expansion failed. - -snipMateBack Default: Mode: Insert, Select - Jump to the previous tab stop, if it exists. - Use in both insert and select modes. - -snipMateShow Default: Mode: Insert - Show all available snippets (that start with - the previous text, if it exists). Use in - insert mode. - -snipMateVisual Default: Mode: Visual - See |SnipMate-visual|. - -Additionally, is mapped in visual mode in .snippets files for retabbing -snippets. - -============================================================================== -SYNTAX *snippet-syntax* *SnipMate-syntax* - -SnipMate looks inside of each entry of 'rtp' (or |SnipMate-snippet-sources|) -for a directory named /snippets/. Based on the 'filetype' and 'syntax' -settings (taking into account the dotted syntax), the following files are read -for snippets: > - - .../snippets/.snippets - .../snippets/_.snippets - .../snippets//.snippets - .../snippets//.snippet - .../snippets///.snippet - -where is an entry in 'filetype' or 'syntax', is an arbitrary -name, is the trigger for a snippet, and is -a description used for |SnipMate-multisnip|. - -A .snippet file defines a single snippet with the trigger (and description) -determined by the filename. The entire contents of the file are used as the -snippet expansion text. - -Multiple snippets can be defined in *.snippets files. Each snippet definition -looks something like: > - - snippet trigger optional description - expanded text - more expanded text - -< *SnipMate-multisnip* -The description is optional. If it is left out and a second snippet inside the -same .snippets file uses the same trigger, the second one will overwrite the -first. Otherwise multisnip is used. - -Note: Hard tabs in the expansion text are required. When the snippet is -expanded in the text and 'expandtab' is set, each tab will be replaced with -spaces based on 'softtabstop' if nonzero or 'shiftwidth' otherwise. - -Comments can be made in .snippets files by starting a line with a # character. -However these can't be used inside of snippet definitions: > - - # this is a correct comment - snippet trigger - expanded text - snippet another_trigger - # this isn't a comment! - expanded text - -This should hopefully be clear with the included syntax highlighting. - - *snipMate-extends* -Borrowing from UltiSnips, .snippets files can also contain an extends -directive, for example: > - - extends html, javascript, css - -will tell SnipMate to also read html, javascript, and css snippets. - - *SnipMate-tabstops* -Tab stops~ - -A tab stop, specified by ${#} where # is a number, tells SnipMate where to -position the cursor next. The special tab stop ${0} denotes the last cursor -position; in its absence, the cursor is placed at the end of the snippet. - -For example, to place the cursor first on the id of a
tag, allow -the user to press to go to the middle of it, and finally end after -
: > - - snippet div -
- ${2} -
- -< *SnipMate-placeholders* *SnipMate-mirrors* -Placeholders and Mirrors~ - -Placeholder text can be supplied using "${#:text}", where # is the number of -the tab stop. This text then can be copied throughout the snippet using "$#", -given # is the same number as used before. So, to make a C for loop: > - - snippet for - for (${2:i}=0; $2 < ${1:count}; $2++) { - ${4} - } - -This will cause "count" to first be selected and change if the user starts -typing. When is pressed, the "i" in ${2}'s position will be selected; -all $2 variables will default to "i" and automatically be updated if the user -starts typing. - -NOTE: "$#" syntax is used only for mirrors, not for tab stops as in TextMate. - -Mirrors can also be used inside of placeholders. For instance: > - - snippet opt - - -Will, as usual, cause "option" to first be selected and update all the $1 -variables if the user starts typing. Since one of these variables is inside of -${2}, this text will then be used as a placeholder for the next tab stop, -allowing the user to change it if he wishes. - -To copy a value throughout a snippet without supplying default text, simply -use the "${#:}" construct without the text, e.g.: > - - snippet foo - ${1:}bar$1 - -< *SnipMate-visual* -There is a special placeholder called {VISUAL}. If you visually select text, -then press Vim switches to insert mode. The next snippet you'll expand -will replace {VISUAL} by the text which was selected previously. - - *SnipMate-eval* -Interpolated Vim Script~ - -Snippets can also contain Vim script commands that are executed (via |eval()|) -when the snippet is inserted. Commands are given inside backticks (`...`); for -TextMates's functionality, use the |system()| function. E.g.: > - - snippet date - `system("date +%Y-%m-%d")` - -will insert the current date, assuming you are on a Unix system. Note that you -can also (and should) use |strftime()| for this example. - -Filename([{expr}] [, {defaultText}]) *SnipMate-Filename()* - -Since the current filename is used often in snippets, a default function -has been defined for it in SnipMate.vim, appropriately called Filename(). - -With no arguments, the default filename without an extension is returned; -the first argument specifies what to place before or after the filename, -and the second argument supplies the default text to be used if the file -has not been named. "$1" in the first argument is replaced with the filename; -if you only want the filename to be returned, the first argument can be left -blank. Examples: > - - snippet filename - `Filename()` - snippet filename_with_default - `Filename('', 'name')` - snippet filename_foo - `Filename('$1_foo')` - -The first example returns the filename if it the file has been named, and an -empty string if it hasn't. The second returns the filename if it's been named, -and "name" if it hasn't. The third returns the filename followed by "_foo" if -it has been named, and an empty string if it hasn't. - -============================================================================== -SNIPPET SOURCES *SnipMate-snippet-sources* - -SnipMate is configurable. - -plugin/SnipMate.vim assigns three important keys: > - - " default implementation collecting snippets by handlers - let g:SnipMate['get_snippets'] = SnipMate#GetSnippets - " default handler: - let g:SnipMateSources['default'] = SnipMate#DefaultPool - " default directories containing snippets: - let g:SnipMate['snippet_dirs'] - \ = funcref#Function('return split(&runtimepath,",")') - -You can override all of those settings. - -You can see that the default set of snippets is determined by Vim's 'rtp'. - -Example 1:~ -autoload/SnipMate_python_demo.vim shows how you can register additional -sources such as creating snippets on the fly representing python function -definitions found in the current file. - -Example 2:~ -Add to your ~/.vimrc: For each know snippet add a second version ending in _ -adding folding markers > - - let g:commentChar = { - \ 'vim': '"', - \ 'c': '//', - \ 'cpp': '//', - \ 'sh': '#', - \ 'python': '#' - \ } - " url https://github.com/garbas/vim-snipmate/issues/49 - fun! AddFolding(text) - return substitute(a:text,'\n'," ".g:commentChar[&ft]." {{{\n",1)."\n".g:commentChar[&ft]." }}}" - endf - - fun! SnippetsWithFolding(scopes, trigger, result) - " hacky: temporarely remove this function to prevent infinite recursion: - call remove(g:SnipMateSources, 'with_folding') - " get list of snippets: - let result = SnipMate#GetSnippets(a:scopes, substitute(a:trigger,'_\(\*\)\?$','\1','')) - let g:SnipMateSources['with_folding'] = funcref#Function('SnippetsWithFolding') - - " add folding: - for k in keys(result) - let a:result[k.'_'] = map(result[k],'AddFolding(v:val)') - endfor - endf - - " force setting default: - runtime plugin/SnipMate.vim - " add our own source - let g:SnipMateSources['with_folding'] = funcref#Function('SnippetsWithFolding') - -See |SnipMate-syntax| for more details about all possible relative locations -to 'rtp' can be found in. - -============================================================================== -DISADVANTAGES *SnipMate-disadvantages* - -SnipMate.vim currently has the following disadvantages to TextMate's snippets: - - Nested placeholders are not currently possible. E.g.: > - '${3}' -< In TextMate this would first highlight ' id="some_id"', and if - you hit delete it would automatically skip ${2} and go to ${3} - on the next , but if you didn't delete it it would highlight - "some_id" first. You cannot do this in SnipMate.vim. - - Regex cannot be performed on variables, such as "${1/.*/\U&}" - - Placeholders cannot span multiple lines. - - Activating snippets in different scopes of the same file is - not possible. - -Perhaps some of these features will be added in a later release. - -============================================================================== -CHANGELOG *SnipMate-changelog* - -0.87 - 2014-01-04 ------------------ - -* Stop indenting empty lines when expanding snippets -* Support extends keyword in .snippets files -* Fix visual placeholder support -* Add zero tabstop support -* Support negative 'softtabstop' -* Add g:snipMate_no_default_aliases option -* Add snipMateTrigger for triggering an expansion inside a snippet -* Add snipMate#CanBeTriggered() function - -0.86 - 2013-06-15 ------------------ -* Use more idiomatic maps -* Remove most select mode mappings - -* Fix disappearing variables bug (hpesoj) -* Fix cursor position bug when a variable is on the same line as the stop -* Fix undo point creation causing problems with Supertab -* Fix bug where SnipMate would use a typed trigger as a regular expression - -0.85 - 2013-04-03 ------------------ - -* Allow trigger key customization -* Enable undoing of snippet expansion -* Support backslash escaping in snippets -* Add support for {VISUAL} -* Expand filetype extension with scope_aliases -* Add expansion guards -* Enable per-buffer expansion of snippets -* Fix 'cpo' compatibility -* Update supertab compatibility -* Enable customization of various things through g:SnipMate - -* Disable spelling in snippet files -* Highlight trigger names in .snippets files - -* Update many snippets -* Separate sample snippets into separate repository - -0.84 ----- - -* Unreleased version by Michael Sanders, available on his GitHub, - - -0.83 - 2009-07-13 ------------------ - -* Last release done by Michael Sanders, available at - - -============================================================================== -CONTACT *SnipMate-contact* *SnipMate-author* - -SnipMate is currently maintained by: - - Rok Garbas - - Marc Weber (marco-oweber@gmx.de) - - Adnan Zafar - -For bug reports, issues, or questions, check out the Issues page on GitHub: -https://github.com/garbas/vim-snipmate/issues - -The original author, Michael Sanders, can be reached at: -msanders42+snipmate gmail com - - -============================================================================== -LICENSE *SnipMate-license* - -SnipMate is released under the MIT license: - -Copyright 2009-2010 Michael Sanders. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -The software is provided "as is", without warranty of any kind, express or -implied, including but not limited to the warranties of merchantability, -fitness for a particular purpose and noninfringement. In no event shall the -authors or copyright holders be liable for any claim, damages or other -liability, whether in an action of contract, tort or otherwise, arising from, -out of or in connection with the software or the use or other dealings in the -software. - -============================================================================== - vim:tw=78:ts=8:ft=help:norl: diff --git a/bundle/vim-snipmate/ftplugin/html_snip_helper.vim b/bundle/vim-snipmate/ftplugin/html_snip_helper.vim deleted file mode 100644 index 2e545707..00000000 --- a/bundle/vim-snipmate/ftplugin/html_snip_helper.vim +++ /dev/null @@ -1,10 +0,0 @@ -" Helper function for (x)html snippets -if exists('s:did_snip_helper') || &cp || !exists('loaded_snips') - finish -endif -let s:did_snip_helper = 1 - -" Automatically closes tag if in xhtml -fun! Close() - return stridx(&ft, 'xhtml') == -1 ? '' : ' /' -endf diff --git a/bundle/vim-snipmate/ftplugin/snippet.vim b/bundle/vim-snipmate/ftplugin/snippet.vim deleted file mode 100644 index 242aa865..00000000 --- a/bundle/vim-snipmate/ftplugin/snippet.vim +++ /dev/null @@ -1,8 +0,0 @@ -command! -buffer -range=% RetabSnip ,call snipMate#RetabSnip() -vnoremap :RetabSnip - -if !exists('g:snippet_no_indentation_settings') - setlocal sw=4 - setlocal tabstop=4 - setlocal noexpandtab -endif diff --git a/bundle/vim-snipmate/ftplugin/snippets.vim b/bundle/vim-snipmate/ftplugin/snippets.vim deleted file mode 100644 index e0c6826b..00000000 --- a/bundle/vim-snipmate/ftplugin/snippets.vim +++ /dev/null @@ -1 +0,0 @@ -runtime! ftplugin/snippet.vim diff --git a/bundle/vim-snipmate/plugin/snipMate.vim b/bundle/vim-snipmate/plugin/snipMate.vim deleted file mode 100644 index 67a4d028..00000000 --- a/bundle/vim-snipmate/plugin/snipMate.vim +++ /dev/null @@ -1,129 +0,0 @@ -" File: snipMate.vim -" Description: snipMate.vim implements some of TextMate's snippets features in -" Vim. A snippet is a piece of often-typed text that you can -" insert into your document using a trigger word followed by a "". -" -" For more help see snipMate.txt; you can do this by using: -" :helptags ~/.vim/doc -" :h SnipMate - -if exists('loaded_snips') || &cp || version < 700 - finish -endif -let loaded_snips = 1 - -" Save and reset 'cpo' -let s:save_cpo = &cpo -set cpo&vim - -try - call funcref#Function('') -catch /.*/ - echoe "you're missing vim-addon-mw-utils. See install instructions at ".expand(':h:h').'/README.md' -endtry - -if (!exists('g:snipMateSources')) - let g:snipMateSources = {} - " Default source: get snippets based on runtimepath - let g:snipMateSources['default'] = funcref#Function('snipMate#DefaultPool') -endif - -au BufRead,BufNewFile *.snippet set ft=snippet -au FileType snippet setl noet nospell - -au BufRead,BufNewFile *.snippets set ft=snippets -au FileType snippets setl noet nospell fdm=expr fde=getline(v:lnum)!~'^\\t\\\\|^$'?'>1':1 - -inoremap snipMateNextOrTrigger =snipMate#TriggerSnippet() -snoremap snipMateNextOrTrigger a=snipMate#TriggerSnippet() -inoremap snipMateTrigger =snipMate#TriggerSnippet(1) -inoremap snipMateBack =snipMate#BackwardsSnippet() -snoremap snipMateBack a=snipMate#BackwardsSnippet() -inoremap snipMateShow =snipMate#ShowAvailableSnips() -xnoremap snipMateVisual :call grab_visual()gv"_c - -" config variables -if !exists('g:snips_author') - let g:snips_author = 'Me' -endif -if !exists('g:snipMate') - let g:snipMate = {} -endif - -" SnipMate inserts this string when no snippet expansion can be done -let g:snipMate['no_match_completion_feedkeys_chars'] = - \ get(g:snipMate, 'no_match_completion_feedkeys_chars', "\t") - -" Add default scope aliases, without overriding user settings -let g:snipMate.scope_aliases = get(g:snipMate, 'scope_aliases', {}) -if exists('g:snipMate_no_default_aliases') - echom 'The g:snipMate_no_default_aliases option has been renamed.' - \ 'See :h snipMate-options.' -endif -if (!exists('g:snipMate_no_default_aliases') || !g:snipMate_no_default_aliases) - \ && (!exists('g:snipMate.no_default_aliases') - \ || !g:snipMate.no_default_aliases) - let g:snipMate.scope_aliases.objc = - \ get(g:snipMate.scope_aliases, 'objc', 'c') - let g:snipMate.scope_aliases.cpp = - \ get(g:snipMate.scope_aliases, 'cpp', 'c') - let g:snipMate.scope_aliases.cu = - \ get(g:snipMate.scope_aliases, 'cu', 'c') - let g:snipMate.scope_aliases.xhtml = - \ get(g:snipMate.scope_aliases, 'xhtml', 'html') - let g:snipMate.scope_aliases.html = - \ get(g:snipMate.scope_aliases, 'html', 'javascript') - let g:snipMate.scope_aliases.php = - \ get(g:snipMate.scope_aliases, 'php', 'php,html,javascript') - let g:snipMate.scope_aliases.ur = - \ get(g:snipMate.scope_aliases, 'ur', 'html,javascript') - let g:snipMate.scope_aliases.mxml = - \ get(g:snipMate.scope_aliases, 'mxml', 'actionscript') - let g:snipMate.scope_aliases.eruby = - \ get(g:snipMate.scope_aliases, 'eruby', 'eruby-rails,html') -endif - -let g:snipMate['get_snippets'] = get(g:snipMate, 'get_snippets', funcref#Function("snipMate#GetSnippets")) - -" List of paths where snippets/ dirs are located, or a function returning such -" a list -let g:snipMate['snippet_dirs'] = get(g:snipMate, 'snippet_dirs', funcref#Function('return split(&runtimepath,",")')) -if type(g:snipMate['snippet_dirs']) == type([]) - call map(g:snipMate['snippet_dirs'], 'expand(v:val)') -endif - -" _ is default scope added always -" -" &ft honors multiple filetypes and syntax such as in set ft=html.javascript syntax=FOO -let g:snipMate['get_scopes'] = get(g:snipMate, 'get_scopes', funcref#Function('return split(&ft,"\\.")+[&syntax, "_"]')) - -" Modified from Luc Hermitte's function on StackOverflow -" -function! s:grab_visual() - let a_save = @a - try - normal! gv"ay - let b:snipmate_content_visual = @a - finally - let @a = a_save - endtry -endfunction - -" TODO: Allow specifying an arbitrary snippets file -function! s:load_scopes(bang, ...) - let gb = a:bang ? g: : b: - let gb.snipMate = get(gb, 'snipMate', {}) - let gb.snipMate.scope_aliases = get(gb.snipMate, 'scope_aliases', {}) - let gb.snipMate.scope_aliases['_'] = join(split(get(gb.snipMate.scope_aliases, '_', ''), ',') + a:000, ',') -endfunction - -command! -bang -bar -nargs=+ SnipMateLoadScope - \ call s:load_scopes(0, ) - -" Edit snippet files -command! SnipMateOpenSnippetFiles call snipMate#OpenSnippetFiles() - -" restore 'cpo' -let &cpo = s:save_cpo - -" vim:noet:sw=4:ts=4:ft=vim diff --git a/bundle/vim-snipmate/plugin/snipMateInterface.vim b/bundle/vim-snipmate/plugin/snipMateInterface.vim deleted file mode 100644 index e3e391d7..00000000 --- a/bundle/vim-snipmate/plugin/snipMateInterface.vim +++ /dev/null @@ -1,2 +0,0 @@ -" some useful commands -command! SnipMateOpenSnippetFiles call snipMate#OpenSnippetFiles() diff --git a/bundle/vim-snipmate/syntax/snippet.vim b/bundle/vim-snipmate/syntax/snippet.vim deleted file mode 100644 index a947356b..00000000 --- a/bundle/vim-snipmate/syntax/snippet.vim +++ /dev/null @@ -1,11 +0,0 @@ -" Syntax highlighting for .snippet files (used for snipMate.vim) -" Hopefully this should make snippets a bit nicer to write! -syn match placeHolder '\${\d\+\(:.\{-}\)\=}' contains=snipCommand -syn match tabStop '\$\d\+' -syn match snipEscape '\\\\\|\\`' -syn match snipCommand '\%(\\\@ (Inc)" -#include <${1:.h}> -endsnippet - -snippet mark "#pragma mark (mark)" -#if 0 -${1:#pragma mark - -}#pragma mark $2 -#endif - -$0 -endsnippet - -snippet main "main() (main)" -int main(int argc, char *argv[]) -{ - ${VISUAL}${0} - return 0; -} -endsnippet - -snippet for "for loop (for)" -for (${2:i} = 0; $2 < ${1:count}; ${3:++$2}) -{ - ${VISUAL}${0} -} -endsnippet - -snippet fori "for int loop (fori)" -for (${4:int} ${2:i} = 0; $2 < ${1:count}; ${3:++$2}) -{ - ${VISUAL}${0} -} -endsnippet - -snippet enum "Enumeration" -enum ${1:name} { $0 }; -endsnippet - -snippet once "Include header once only guard" -#ifndef ${1:`!p -if not snip.c: - import random, string - name = re.sub(r'[^A-Za-z0-9]+','_', snip.fn).upper() - rand = ''.join(random.sample(string.ascii_letters+string.digits, 8)) - snip.rv = ('%s_%s' % (name,rand)).upper() -else: - snip.rv = snip.c`} -#define $1 - -${VISUAL}${0} - -#endif /* end of include guard: $1 */ -endsnippet - -snippet td "Typedef" -typedef ${1:int} ${2:MyCustomType}; -endsnippet - -snippet wh "while loop" -while(${1:/* condition */}) { - ${VISUAL}${0} -} -endsnippet - -snippet do "do...while loop (do)" -do { - ${VISUAL}${0} -} while(${1:/* condition */}); -endsnippet - -snippet fprintf "fprintf ..." -fprintf(${1:stderr}, "${2:%s}\n"${2/([^%]|%%)*(%.)?.*/(?2:, :\);)/}$3${2/([^%]|%%)*(%.)?.*/(?2:\);)/} -endsnippet - -snippet if "if .. (if)" -if (${1:/* condition */}) -{ - ${VISUAL}${0} -} -endsnippet - -snippet el "else .. (else)" -else { - ${VISUAL}${0} -} -endsnippet - -snippet eli "else if .. (eli)" -else if (${1:/* condition */}) { - ${VISUAL}${0} -} -endsnippet - -snippet ife "if .. else (ife)" -if (${1:/* condition */}) -{ - ${2} -} -else -{ - ${3:/* else */} -} -endsnippet - -snippet printf "printf .. (printf)" -printf("${1:%s}\n"${1/([^%]|%%)*(%.)?.*/(?2:, :\);)/}$2${1/([^%]|%%)*(%.)?.*/(?2:\);)/} -endsnippet - -snippet st "struct" -struct ${1:`!p snip.rv = (snip.basename or "name") + "_t"`} -{ - ${0:/* data */} -}; -endsnippet - -snippet fun "function" b -${1:void} ${2:function_name}(${3}) -{ - ${VISUAL}${0} -} -endsnippet - -snippet fund "function declaration" b -${1:void} ${2:function_name}(${3}); -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/coffee.snippets b/bundle/vim-snippets/UltiSnips/coffee.snippets deleted file mode 100644 index 467b2b57..00000000 --- a/bundle/vim-snippets/UltiSnips/coffee.snippets +++ /dev/null @@ -1,96 +0,0 @@ -priority -50 - -snippet fun "Function" b -${1:name} = `!p snip.rv = "(" if t[2] else ""`${2:args}`!p snip.rv = ") " if t[2] else ""`-> - ${0:# body...} -endsnippet - -snippet bfun "Function (bound)" i -`!p snip.rv = "(" if t[1] else ""`${1:args}`!p snip.rv = ") " if t[1] else ""`=>`!p snip.rv = " " if t[2] and not t[2].startswith("\n") else ""`${2:expr} -endsnippet - -snippet if "If" b -if ${1:condition} - ${0:# body...} -endsnippet - -snippet ife "If .. Else" b -if ${1:condition} - ${2:# body...} -else - ${3:# body...} -endsnippet - -snippet elif "Else if" b -else if ${1:condition} - ${0:# body...} -endsnippet - -snippet ifte "Ternary if" b -if ${1:condition} then ${2:value} else ${3:other} -endsnippet - -snippet unl "Unless" b -${1:action} unless ${2:condition} -endsnippet - -snippet fora "Array Comprehension" b -for ${1:name} in ${2:array} - ${0:# body...} -endsnippet - -snippet foro "Object Comprehension" b -for ${1:key}, ${2:value} of ${3:Object} - ${0:# body...} -endsnippet - -snippet forr "Range Comprehension (inclusive)" b -for ${1:name} in [${2:start}..${3:finish}]`!p snip.rv = " by " if t[4] else ""`${4:step} - ${0:# body...} -endsnippet - -snippet forrex "Range Comprehension (exclusive)" b -for ${1:name} in [${2:start}...${3:finish}]`!p snip.rv = " by " if t[4] else ""`${4:step} - ${0:# body...} -endsnippet - -snippet swi "Switch" b -switch ${1:object} - when ${2:value} - ${3:# body...} - else - $0 -endsnippet - -snippet swit "Switch when .. then" b -switch ${1:object} - when ${2:condition}`!p snip.rv = " then " if t[3] else ""`${3:value} - else`!p snip.rv = " " if t[4] and not t[4].startswith("\n") else ""`${4:value} -endsnippet - -snippet cla "Class" b -class ${1:ClassName}`!p snip.rv = " extends " if t[2] else ""`${2:Ancestor} - - ${3:constructor:`!p snip.rv = " (" if t[4] else ""`${4:args}`!p snip.rv = ")" if t[4] else ""` -> - ${5:# body...}} - $0 -endsnippet - -snippet try "Try .. Catch" b -try - $1 -catch ${2:error} - $3 -endsnippet - -snippet req "Require" b -${1/^'?(\w+)'?$/\L$1\E/} = require(${1:'${2:sys}'}) -endsnippet - -snippet # "Interpolated Code" i -#{$1}$0 -endsnippet - -snippet log "Log" b -console.log ${1:"${2:msg}"} -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/coffee_jasmine.snippets b/bundle/vim-snippets/UltiSnips/coffee_jasmine.snippets deleted file mode 100644 index 0dd35cd6..00000000 --- a/bundle/vim-snippets/UltiSnips/coffee_jasmine.snippets +++ /dev/null @@ -1,166 +0,0 @@ -# -# CoffeeScript versions -- adapted from the JS TextMate bundle + additions -# for some jasmine-jquery matchers -# -priority -50 - -extends coffee - -priority -49 - -snippet des "Describe (coffee)" b -describe '${1:description}', -> - $0 -endsnippet - -snippet it "it (coffee)" b -it '${1:description}', -> - $0 -endsnippet - -snippet bef "before each (coffee)" b -beforeEach -> - $0 -endsnippet - -snippet aft "after each (coffee)" b -afterEach -> - $0 -endsnippet - -snippet any "any (coffee)" b -jasmine.any($1) -endsnippet - -snippet ru "runs (coffee)" b -runs -> - $0 -endsnippet - -snippet wa "waits (coffee)" b -waits($1) -endsnippet - -snippet ex "expect (coffee)" b -expect(${1:target})$0 -endsnippet - -snippet ee "expect to equal (coffee)" b -expect(${1:target}).toEqual(${2:value}) -endsnippet - -snippet em "expect to match (coffee)" b -expect(${1:target}).toMatch(${2:pattern}) -endsnippet - -snippet eha "expect to have attribute (coffee)" b -expect(${1:target}).toHaveAttr('${2:attr}'${3:, '${4:value}'}) -endsnippet - -snippet et "expect to be truthy (coffee)" b -expect(${1:target}).toBeTruthy() -endsnippet - -snippet ef "expect to be falsy (coffee)" b -expect(${1:target}).toBeFalsy() -endsnippet - -snippet ed "expect to be defined (coffee)" b -expect(${1:target}).toBeDefined() -endsnippet - -snippet en "expect to be null (coffee)" b -expect(${1:target}).toBeNull() -endsnippet - -snippet ec "expect to contain (coffee)" b -expect(${1:target}).toContain(${2:value}) -endsnippet - -snippet ev "expect to be visible (coffee)" b -expect(${1:target}).toBeVisible() -endsnippet - -snippet eh "expect to be hidden (coffee)" b -expect(${1:target}).toBeHidden() -endsnippet - -snippet notx "expect not (coffee)" b -expect(${1:target}).not$0 -endsnippet - -snippet note "expect not to equal (coffee)" b -expect(${1:target}).not.toEqual(${2:value}) -endsnippet - -snippet notm "expect not to match (coffee)" b -expect(${1:target}).not.toMatch(${2:pattern}) -endsnippet - -snippet notha "expect to not have attribute (coffee)" b -expect(${1:target}).not.toHaveAttr('${2:attr}'${3:, '${4:value}'}) -endsnippet - -snippet nott "expect not to be truthy (coffee)" b -expect(${1:target}).not.toBeTruthy() -endsnippet - -snippet notf "expect not to be falsy (coffee)" b -expect(${1:target}).not.toBeFalsy() -endsnippet - -snippet notd "expect not to be defined (coffee)" b -expect(${1:target}).not.toBeDefined() -endsnippet - -snippet notn "expect not to be null (coffee)" b -expect(${1:target}).not.toBeNull() -endsnippet - -snippet notc "expect not to contain (coffee)" b -expect(${1:target}).not.toContain(${2:value}) -endsnippet - -snippet notv "expect not to be visible (coffee)" b -expect(${1:target}).not.toBeVisible() -endsnippet - -snippet noth "expect not to be hidden (coffee)" b -expect(${1:target}).not.toBeHidden() -endsnippet - -snippet s "spy on (coffee)" b -spyOn(${1:object}, "${2:method}")$0 -endsnippet - -snippet sr "spy on and return (coffee)" b -spyOn(${1:object}, "${2:method}").andReturn(${3:arguments}) -endsnippet - -snippet st "spy on and throw (coffee)" b -spyOn(${1:object}, "${2:method}").andThrow(${3:exception}) -endsnippet - -snippet sct "spy on and call through (coffee)" b -spyOn(${1:object}, "${2:method}").andCallThrough() -endsnippet - -snippet scf "spy on and call fake (coffee)" b -spyOn(${1:object}, "${2:method}").andCallFake(${3:function}) -endsnippet - -snippet esc "expect was called (coffee)" b -expect(${1:target}).wasCalled() -endsnippet - -snippet escw "expect was called with (coffee)" b -expect(${1:target}).wasCalledWith(${2:arguments}) -endsnippet - -snippet notsc "expect was not called (coffee)" b -expect(${1:target}).wasNotCalled() -endsnippet - -snippet noscw "expect was not called with (coffee)" b -expect(${1:target}).wasNotCalledWith(${2:arguments}) -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/cpp.snippets b/bundle/vim-snippets/UltiSnips/cpp.snippets deleted file mode 100644 index c2cb3d03..00000000 --- a/bundle/vim-snippets/UltiSnips/cpp.snippets +++ /dev/null @@ -1,57 +0,0 @@ -priority -50 - -extends c - -# We want to overwrite everything in parent ft. -priority -49 - -########################################################################### -# TextMate Snippets # -########################################################################### -snippet beginend "$1.begin(), $1.end() (beginend)" -${1:v}${1/^.*?(-)?(>)?$/(?2::(?1:>:.))/}begin(), $1${1/^.*?(-)?(>)?$/(?2::(?1:>:.))/}end() -endsnippet - -snippet cl "class .. (class)" -class ${1:`!p snip.rv = snip.basename or "name"`} -{ -public: - ${1/(\w+).*/$1/} (${2:arguments}); - virtual ~${1/(\w+).*/$1/} (); - -private: - ${0:/* data */} -}; -endsnippet - -snippet ns "namespace .. (namespace)" -namespace${1/.+/ /m}${1:`!p snip.rv = snip.basename or "name"`} -{ - ${VISUAL}${0} -}${1/.+/ \/* /m}$1${1/.+/ *\/ /m} -endsnippet - -snippet readfile "read file (readF)" -std::vector v; -if (FILE *fp = fopen(${1:"filename"}, "r")) -{ - char buf[1024]; - while(size_t len = fread(buf, 1, sizeof(buf), fp)) - v.insert(v.end(), buf, buf + len); - fclose(fp); -} -endsnippet - -snippet map "std::map (map)" -std::map<${1:key}, ${2:value}> map$0; -endsnippet - -snippet vector "std::vector (v)" -std::vector<${1:char}> v$0; -endsnippet - -snippet tp "template (template)" -template -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/cs.snippets b/bundle/vim-snippets/UltiSnips/cs.snippets deleted file mode 100644 index aca245e5..00000000 --- a/bundle/vim-snippets/UltiSnips/cs.snippets +++ /dev/null @@ -1,328 +0,0 @@ -####################################################################### -# C# Snippets for UltiSnips # -####################################################################### - -priority -50 - -######################### -# classes and structs # -######################### - -snippet namespace "namespace" b -namespace ${1:MyNamespace} -{ - ${VISUAL}$0 -} -endsnippet - -snippet class "class" w -class ${1:MyClass} -{ - $0 -} -endsnippet - -snippet struct "struct" w -struct ${1:MyStruct} -{ - $0 -} -endsnippet - -snippet interface "interface" w -interface I${1:Interface} -{ - $0 -} -endsnippet - -snippet enum "enumeration" b -enum ${1:MyEnum} { ${2:Item} }; -endsnippet - - -############ -# Main() # -############ - -snippet sim "static int main" b -static int Main(string[] args) -{ - $0 -} -endsnippet - -snippet svm "static void main" b -static void Main(string[] args) -{ - $0 -} -endsnippet - - -################ -# properties # -################ - -snippet prop "Simple property declaration" b -public ${1:int} ${2:MyProperty} { get; set; } -endsnippet - -snippet propfull "Full property declaration" b -private ${1:int} ${2:_myProperty}; - -public $1 ${3:MyProperty} -{ - get { return $2; } - set { $2 = value; } -} -endsnippet - -snippet propg "Property with a private setter" b -public ${1:int} ${2:MyProperty} { get; private set; } -endsnippet - - -############ -# blocks # -############ - -snippet #if "#if #endif" b -#if ${1:DEBUG} -${VISUAL}$0 -#endif -endsnippet - -snippet #region "#region #endregion" b -#region ${1:Region} -${VISUAL}$0 -#endregion -endsnippet - - -########### -# loops # -########### - -snippet for "for loop" b -for (int ${1:i} = 0; $1 < ${2:10}; $1++) -{ - ${VISUAL}$0 -} -endsnippet - -snippet forr "for loop (reverse)" b -for (int ${1:i} = ${2:10}; $1 >= 0; $1--) -{ - ${VISUAL}$0 -} -endsnippet - -snippet foreach "foreach loop" b -foreach (${3:var} ${2:item} in ${1:items}) -{ - ${VISUAL}$0 -} -endsnippet - -snippet while "while loop" b -while (${1:true}) -{ - ${VISUAL}$0 -} -endsnippet - -snippet do "do loop" b -do -{ - ${VISUAL}$0 -} while (${1:true}); -endsnippet - - -############### -# branching # -############### - -snippet if "if statement" b -if ($1) -{ - ${VISUAL}$0 -} -endsnippet - -snippet ife "if else statement" b -if ($1) -{ - ${VISUAL}$0 -} -else -{ -} -endsnippet - -snippet elif "else if" b -else if ($1) -{ - $0 -} -endsnippet - -snippet elseif "else if" b -else if ($1) -{ - $0 -} -endsnippet - -snippet ifnn "if not null" b -if ($1 != null) -{ - ${VISUAL}$0 -} -endsnippet - -snippet switch "switch statement" b -switch (${1:statement}) -{ - case ${2:value}: - break; - - default: - $0break; -} -endsnippet - -snippet case "case" b -case ${1:value}: - $2 - break; -endsnippet - - -############## -# wrappers # -############## - -snippet using "using statement" b -using (${1:resource}) -{ - ${VISUAL}$0 -} -endsnippet - -snippet unchecked "unchecked block" b -unchecked -{ - ${VISUAL}$0 -} -endsnippet - -snippet checked "checked block" b -checked -{ - ${VISUAL}$0 -} -endsnippet - -snippet unsafe "unsafe" b -unsafe -{ - ${VISUAL}$0 -} -endsnippet - - -######################## -# exception handling # -######################## - -snippet try "try catch block" b -try -{ - ${VISUAL}$0 -} -catch (${1:Exception} ${2:e}) -{ - throw; -} -endsnippet - -snippet tryf "try finally block" b -try -{ - ${VISUAL}$0 -} -finally -{ -} -endsnippet - -snippet throw "throw" -throw new ${1}Exception("${2}"); -endsnippet - - -########## -# LINQ # -########## - -snippet from "LINQ syntax" b -var ${1:seq} = - from ${2:item1} in ${3:items1} - join ${4:item2} in ${5:items2} on $2.${6:prop1} equals $4.${7:prop2} - select ${8:$2.prop3} - where ${9:clause} -endsnippet - - -############################ -# feedback and debugging # -############################ - -snippet da "Debug.Assert" b -Debug.Assert(${1:true}); -endsnippet - -snippet cw "Console.WriteLine" b -Console.WriteLine("$1"); -endsnippet - -# as you first type comma-separated parameters on the right, {n} values appear in the format string -snippet cwp "Console.WriteLine with parameters" b -Console.WriteLine("${2:`!p -snip.rv = ' '.join(['{' + str(i) + '}' for i in range(t[1].count(','))]) -`}"${1:, something}); -endsnippet - -snippet mbox "Message box" b -MessageBox.Show("${1:message}"); -endsnippet - - -################## -# full methods # -################## - -snippet equals "Equals method" b -public override bool Equals(object obj) -{ - if (obj == null || GetType() != obj.GetType()) - { - return false; - } - $0 - return base.Equals(obj); -} -endsnippet - - -############## -# comments # -############## - -snippet /// "XML comment" b -/// -/// $1 -/// -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/css.snippets b/bundle/vim-snippets/UltiSnips/css.snippets deleted file mode 100644 index 32c3f217..00000000 --- a/bundle/vim-snippets/UltiSnips/css.snippets +++ /dev/null @@ -1,407 +0,0 @@ -########################################################################### -# Most of these came from TextMate # -########################################################################### - -priority -50 - -snippet ! "!important CSS (!)" -${1:!important} -endsnippet - -snippet fixed "Fixed Position Bottom 100% wide IE6" -${2:bottom: auto;}top: expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-${1:THE HEIGHT OF THIS THING IN PIXELS})); -${3:left: expression(eval(document.documentElement.scrollLeft)); -}${4:width: expression(eval(document.documentElement.clientWidth));}$0 -endsnippet - -snippet background "background-attachment: scroll:fixed (background)" -background-attachment: ${1:scroll/fixed};$0 -endsnippet - -snippet background "background-color: color-hex (background)" -background-color: #${1:DDD};$0 -endsnippet - -snippet background "background-color: color-name (background)" -background-color: ${1:red};$0 -endsnippet - -snippet background "background-color: color-rgb (background)" -background-color: rgb(${1:255},${2:255},${3:255});$0 -endsnippet - -snippet background "background-color: transparent (background)" -background-color: transparent;$0 -endsnippet - -snippet background "background-image: none (background)" -background-image: none;$0 -endsnippet - -snippet background "background-image: url (background)" -background-image: url($1);$0 -endsnippet - -snippet background "background-position: position (background)" -background-position: ${1:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0 -endsnippet - -snippet background "background-repeat: r:r-x:r-y:n-r (background)" -background-repeat: ${1:repeat/repeat-x/repeat-y/no-repeat};$0 -endsnippet - -snippet background "background: color image repeat attachment position (background)" -background:${6: #${1:DDD}} url($2) ${3:repeat/repeat-x/repeat-y/no-repeat} ${4:scroll/fixed} ${5:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0 -endsnippet - -snippet border "border-bottom-color: size style color (border)" -border-bottom-color: #${1:999};$0 -endsnippet - -snippet border "border-bottom-style: size style color (border)" -border-bottom-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 -endsnippet - -snippet border "border-bottom-width: size style color (border)" -border-bottom-width: ${1:1}px ${2:solid} #${3:999};$0 -endsnippet - -snippet border "border-bottom: size style color (border)" -border-bottom: ${1:1}px ${2:solid} #${3:999};$0 -endsnippet - -snippet border "border-color: color (border)" -border-color: ${1:999};$0 -endsnippet - -snippet border "border-left-color: color (border)" -border-right-color: #${1:999};$0 -endsnippet - -snippet border "border-left-style: style (border)" -border-left-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 -endsnippet - -snippet border "border-left-width: size (border)" -border-left-width: ${1:1}px -endsnippet - -snippet border "border-left: size style color (border)" -border-left: ${1:1}px ${2:solid} #${3:999};$0 -endsnippet - -snippet border "border-right-color: color (border)" -border-right-color: #${1:999};$0 -endsnippet - -snippet border "border-right-style: style (border)" -border-right-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 -endsnippet - -snippet border "border-right-width: size (border)" -border-right-width: ${1:1}px -endsnippet - -snippet border "border-right: size style color (border)" -border-right: ${1:1}px ${2:solid} #${3:999};$0 -endsnippet - -snippet border "border-style: style (border)" -border-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 -endsnippet - -snippet border "border-top-color: color (border)" -border-top-color: #${1:999};$0 -endsnippet - -snippet border "border-top-style: style (border)" -border-top-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0 -endsnippet - -snippet border "border-top-width: size (border)" -border-top-width: ${1:1}px -endsnippet - -snippet border "border-top: size style color (border)" -border-top: ${1:1}px ${2:solid} #${3:999};$0 -endsnippet - -snippet border "border-width: width (border)" -border-width: ${1:1px};$0 -endsnippet - -snippet border "border: size style color (border)" -border: ${1:1px} ${2:solid} #${3:999};$0 -endsnippet - -snippet clear "clear: value (clear)" -clear: ${1:left/right/both/none};$0 -endsnippet - -snippet color "color: color-hex (color)" -color: #${1:DDD};$0 -endsnippet - -snippet color "color: color-name (color)" -color: ${1:red};$0 -endsnippet - -snippet color "color: color-rgb (color)" -color: rgb(${1:255},${2:255},${3:255});$0 -endsnippet - -snippet cursor "cursor: type (cursor)" -cursor: ${1:default/auto/crosshair/pointer/move/*-resize/text/wait/help};$0 -endsnippet - -snippet cursor "cursor: url (cursor)" -cursor: url($1);$0 -endsnippet - -snippet direction "direction: ltr|rtl (direction)" -direction: ${1:ltr|rtl};$0 -endsnippet - -snippet display "display: block (display)" -display: block;$0 -endsnippet - -snippet display "display: common-types (display)" -display: ${1:none/inline/block/list-item/run-in/compact/marker};$0 -endsnippet - -snippet display "display: inline (display)" -display: inline;$0 -endsnippet - -snippet display "display: table-types (display)" -display: ${1:table/inline-table/table-row-group/table-header-group/table-footer-group/table-row/table-column-group/table-column/table-cell/table-caption};$0 -endsnippet - -snippet float "float: left:right:none (float)" -float: ${1:left/right/none};$0 -endsnippet - -snippet font "font-family: family (font)" -font-family: ${1:Arial, "MS Trebuchet"}, ${2:sans-}serif;$0 -endsnippet - -snippet font "font-size: size (font)" -font-size: ${1:100%};$0 -endsnippet - -snippet font "font-style: normal:italic:oblique (font)" -font-style: ${1:normal/italic/oblique};$0 -endsnippet - -snippet font "font-variant: normal:small-caps (font)" -font-variant: ${1:normal/small-caps};$0 -endsnippet - -snippet font "font-weight: weight (font)" -font-weight: ${1:normal/bold};$0 -endsnippet - -snippet font "font: style variant weight size:line-height font -family (font)" -font: ${1:normal/italic/oblique} ${2:normal/small-caps} ${3:normal/bold} ${4:1em/1.5em} ${5:Arial}, ${6:sans-}serif;$0 -endsnippet - -snippet font "font: size font (font)" -font: ${1:75%} ${2:"Lucida Grande", "Trebuchet MS", Verdana,} ${3:sans-}serif;$0 -endsnippet - -snippet letter "letter-spacing: length-em (letter)" -letter-spacing: $1em;$0 -endsnippet - -snippet letter "letter-spacing: length-px (letter)" -letter-spacing: $1px;$0 -endsnippet - -snippet list "list-style-image: url (list)" -list-style-image: url($1);$0 -endsnippet - -snippet list "list-style-position: pos (list)" -list-style-position: ${1:inside/outside};$0 -endsnippet - -snippet list "list-style-type: asian (list)" -list-style-type: ${1:cjk-ideographic/hiragana/katakana/hiragana-iroha/katakana-iroha};$0 -endsnippet - -snippet list "list-style-type: marker(list)" -list-style-type: ${1:none/disc/circle/square};$0 -endsnippet - -snippet list "list-style-type: numeric (list)" -list-style-type: ${1:decimal/decimal-leading-zero/zero};$0 -endsnippet - -snippet list "list-style-type: other (list)" -list-style-type: ${1:hebrew/armenian/georgian};$0 -endsnippet - -snippet list "list-style-type: roman-alpha-greek (list)" -list-style-type: ${1:lower-roman/upper-roman/lower-alpha/upper-alpha/lower-greek/lower-latin/upper-latin};$0 -endsnippet - -snippet list "list-style: type position image (list)" -list-style: ${1:none/disc/circle/square/decimal/zero} ${2:inside/outside} url($3);$0 -endsnippet - -snippet margin "margin-bottom: length (margin)" -margin-bottom: ${1:20px};$0 -endsnippet - -snippet margin "margin-left: length (margin)" -margin-left: ${1:20px};$0 -endsnippet - -snippet margin "margin-right: length (margin)" -margin-right: ${1:20px};$0 -endsnippet - -snippet margin "margin-top: length (margin)" -margin-top: ${1:20px};$0 -endsnippet - -snippet margin "margin: all (margin)" -margin: ${1:20px};$0 -endsnippet - -snippet margin "margin: T R B L (margin)" -margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0 -endsnippet - -snippet margin "margin: V H (margin)" -margin: ${1:20px} ${2:0px};$0 -endsnippet - -snippet marker "marker-offset: auto (marker)" -marker-offset: auto;$0 -endsnippet - -snippet marker "marker-offset: length (marker)" -marker-offset: ${1:10px};$0 -endsnippet - -snippet overflow "overflow: type (overflow)" -overflow: ${1:visible/hidden/scroll/auto};$0 -endsnippet - -snippet padding "padding-bottom: length (margin)" -padding-bottom: ${1:20px};$0 -endsnippet - -snippet padding "padding-left: length (margin)" -padding-left: ${1:20px};$0 -endsnippet - -snippet padding "padding-right: length (margin)" -padding-right: ${1:20px};$0 -endsnippet - -snippet padding "padding-top: length (margin)" -padding-top: ${1:20px};$0 -endsnippet - -snippet padding "padding: T R B L (padding)" -padding: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0 -endsnippet - -snippet padding "padding: V H (padding)" -padding: ${1:20px} ${2:0px};$0 -endsnippet - -snippet padding "padding: all (padding)" -padding: ${1:20px};$0 -endsnippet - -snippet position "position: type (position)" -position: ${1:static/relative/absolute/fixed};$0 -endsnippet - -snippet { "properties { } ( } )" -{ - /* $1 */ - $0 - -endsnippet - -snippet scrollbar "scrollbar" -scrollbar-base-color: ${1:#CCCCCC};${2: -scrollbar-arrow-color: ${3:#000000}; -scrollbar-track-color: ${4:#999999}; -scrollbar-3dlight-color: ${5:#EEEEEE}; -scrollbar-highlight-color: ${6:#FFFFFF}; -scrollbar-face-color: ${7:#CCCCCC}; -scrollbar-shadow-color: ${9:#999999}; -scrollbar-darkshadow-color: ${8:#666666};} -endsnippet - -snippet selection "selection" -$1::-moz-selection, -$1::selection { - color: ${2:inherit}; - background: ${3:inherit}; -} -endsnippet - -snippet text "text-align: left:center:right (txt)" -text-align: ${1:left/right/center/justify};$0 -endsnippet - -snippet text "text-decoration: none:underline:overline:line-through:blink (text)" -text-decoration: ${1:none/underline/overline/line-through/blink};$0 -endsnippet - -snippet text "text-indent: length (text)" -text-indent: ${1:10}px;$0 -endsnippet - -snippet text "text-shadow: color-hex x y blur (text)" -text-shadow: #${1:DDD} ${2:10px} ${3:10px} ${4:2px};$0 -endsnippet - -snippet text "text-shadow: color-rgb x y blur (text)" -text-shadow: rgb(${1:255},${2:255},${3:255}) ${4:10px} ${5:10px} ${6:2px};$0 -endsnippet - -snippet text "text-shadow: none (text)" -text-shadow: none;$0 -endsnippet - -snippet text "text-transform: capitalize:upper:lower (text)" -text-transform: ${1:capitalize/uppercase/lowercase};$0 -endsnippet - -snippet text "text-transform: none (text)" -text-transform: none;$0 -endsnippet - -snippet vertical "vertical-align: type (vertical)" -vertical-align: ${1:baseline/sub/super/top/text-top/middle/bottom/text-bottom/length/%};$0 -endsnippet - -snippet visibility "visibility: type (visibility)" -visibility: ${1:visible/hidden/collapse};$0 -endsnippet - -snippet white "white-space: normal:pre:nowrap (white)" -white-space: ${1:normal/pre/nowrap};$0 -endsnippet - -snippet word "word-spacing: length (word)" -word-spacing: ${1:10px};$0 -endsnippet - -snippet word "word-spacing: normal (word)" -word-spacing: normal;$0 -endsnippet - -snippet z "z-index: index (z)" -z-index: $1;$0 -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/d.snippets b/bundle/vim-snippets/UltiSnips/d.snippets deleted file mode 100644 index 9ce27513..00000000 --- a/bundle/vim-snippets/UltiSnips/d.snippets +++ /dev/null @@ -1,584 +0,0 @@ -# Simple shortcuts - -priority -50 - -snippet imp "import (imp)" b -import ${1:std.stdio}; -endsnippet - -snippet pimp "public import (pimp)" b -public import ${1:/*module*/}; -endsnippet - -snippet over "override (over)" b -override ${1:/*function*/} -endsnippet - -snippet al "alias (al)" -alias ${1:/*orig*/} ${2:/*alias*/}; -endsnippet - -snippet mixin "mixin (mixin)" b -mixin ${1:/*mixed_in*/} ${2:/*name*/}; -endsnippet - -snippet new "new (new)" -new ${1}(${2}); -endsnippet - -snippet scpn "@safe const pure nothrow (scpn)" -@safe const pure nothrow -endsnippet - -snippet spn "@safe pure nothrow (spn)" -@safe pure nothrow -endsnippet - -snippet cont "continue (cont)" -continue; -endsnippet - -snippet dis "@disable (dis)" b -@disable ${1:/*method*/}; -endsnippet - -snippet pub "public (pub)" b -public: - ${1:/*members*/} -endsnippet - -snippet priv "private (priv)" b -private: - ${1:/*members*/} -endsnippet - -snippet prot "protected (prot)" b -protected: - ${1:/*members*/} -endsnippet - -snippet pack "package (pack)" b -package: - ${1:/*members*/} -endsnippet - -snippet ret "return (ret)" -return ${1:/*value to return*/}; -endsnippet - -snippet auto "auto (auto)" b -auto ${1:/*variable*/} = ${2:/*value*/}; -endsnippet - -snippet con "const (con)" b -const ${1:/*variable*/} = ${2:/*value*/}; -endsnippet - -snippet siz "size_t (siz)" b -size_t ${1:/*variable*/} = ${2:/*value*/}; -endsnippet - -snippet sup "super (sup)" b -super(${1:/*args*/}); -endsnippet - -# Phobos - -snippet tup "tuple (tup)" -tuple(${1:/*args*/}) -endsnippet - -snippet wr "writeln (wr)" -writeln(${1:/*args*/}); -endsnippet - -snippet to "to (to)" -to!(${1:/*type*/})(${2:/*arg*/}) -endsnippet - -snippet enf "enforce (enf)" b -enforce(${1:/*condition*/}, - new ${2}Exception(${3:/*args*/})); -endsnippet - -# Branches - -snippet if "if .. (if)" -if(${1:/*condition*/}) -{ - ${VISUAL}${0} -} -endsnippet - -snippet ife "if .. else (ife)" b -if(${1:/*condition*/}) -{ - ${2} -} -else -{ - ${3:/*else*/} -} -endsnippet - -snippet el "else (el)" b -else -{ - ${VISUAL}${1} -} -endsnippet - -snippet elif "else if (elif)" b -else if(${1:/*condition*/}) -{ - ${VISUAL}${0} -} -endsnippet - -snippet sw "switch (sw)" -switch(${1:/*var*/}) -{ - case ${2:/*value*/}: - ${3} - break; - case ${4:/*value*/}: - ${5} - break; - ${7:/*more cases*/} - default: - ${6:assert(false);} -} -endsnippet - -snippet fsw "final switch (fsw)" -final switch(${1:/*var*/}) -{ - case ${2:/*value*/}: - ${3} - break; - case ${4:/*value*/}: - ${5} - break; - ${7:/*more cases*/} -} -endsnippet - -snippet case "case (case)" b -case ${1:/*value*/}: - ${2} - break; -endsnippet - -snippet ?: "ternary operator (?:)" -${1:/*condition*/} ? ${2:/*then*/} : ${3:/*else*/}$4 -endsnippet - -# Loops - -snippet do "do while (do)" b -do -{ - ${VISUAL}${2} -} while(${1:/*condition*/}); -endsnippet - -snippet wh "while (wh)" b -while(${1:/*condition*/}) -{ - ${VISUAL}${2} -} -endsnippet - -snippet for "for (for)" b -for (${4:size_t} ${2:i} = 0; $2 < ${1:count}; ${3:++$2}) -{ - ${VISUAL}${0} -} -endsnippet - -snippet forever "forever (forever)" b -for(;;) -{ - ${VISUAL}${0} -} -endsnippet - -snippet fore "foreach (fore)" -foreach(${1:/*elem*/}; ${2:/*range*/}) -{ - ${VISUAL}${3} -} -endsnippet - -snippet forif "foreach if (forif)" b -foreach(${1:/*elem*/}; ${2:/*range*/}) if(${3:/*condition*/}) -{ - ${VISUAL}${4} -} -endsnippet - -# Contracts -snippet in "in contract (in)" b -in -{ - assert(${1:/*condition*/}, "${2:error message}"); - ${3} -} -body -endsnippet - -snippet out "out contract (out)" b -out${1:(result)} -{ - assert(${2:/*condition*/}, "${3:error message}"); - ${4} -} -body -endsnippet - -snippet inv "invariant (inv)" b -invariant() -{ - assert(${1:/*condition*/}, "${2:error message}"); - ${3} -} -endsnippet - -# Functions (generic) - -snippet fun "function definition (fun)" -${1:void} ${2:/*function name*/}(${3:/*args*/}) ${4:@safe pure nothrow} -{ - ${VISUAL}${5} -} -endsnippet - -snippet void "void function definition (void)" -void ${1:/*function name*/}(${2:/*args*/}) ${3:@safe pure nothrow} -{ - ${VISUAL}${4} -} -endsnippet - -snippet this "ctor (this)" w -this(${1:/*args*/}) -{ - ${VISUAL}${2} -} -endsnippet - -snippet get "getter property (get)" -@property ${1:/*type*/} ${2:/*member_name*/}() const pure nothrow {return ${3:$2_};} -endsnippet - -snippet set "setter property (set)" -@property void ${1:/*member_name*/}(${2:/*type*/} rhs) pure nothrow {${3:$1_} = rhs;} -endsnippet - -# Functions (concrete) - -snippet main "Main" b -void main(string[] args) -{ - ${VISUAL}${0: /*code*/} -} -endsnippet - -# Mixins - -snippet signal "signal (signal)" b -mixin Signal!(${1:/*args*/}) ${2:/*name*/}; -endsnippet - -# Scope - -snippet scope "scope (scope)" b -scope(${1:exit}) -{ - ${VISUAL}${2} -} -endsnippet - -# With - -snippet with "with (with)" -with(${1}) -{ - ${VISUAL}${2} -} -endsnippet - -# Exception handling - -snippet try "try/catch (try)" b -try -{ - ${VISUAL}${1:/*code to try*/} -} -catch(${2}Exception e) -{ - ${3:/*handle exception*/} -} -endsnippet - -snippet tryf "try/catch/finally (tryf)" b -try -{ - ${VISUAL}${1:/*code to try*/} -} -catch(${2}Exception e) -{ - ${3:/*handle exception*/} -} -finally -{ - ${4:/*cleanup*/} -} -endsnippet - -snippet catch "catch (catch)" b -catch(${1}Exception e) -{ - ${2:/*handle exception*/} -} -endsnippet - -snippet thr "throw (thr)" -throw new ${1}Exception("${2}"); -endsnippet - - -# Type declarations - -snippet struct "struct (struct)" -struct ${1:`!p snip.rv = (snip.basename or "name")`} -{ - ${2} -} -endsnippet - -snippet union "union (union)" -union ${1:`!p snip.rv = (snip.basename or "name")`} -{ - ${2} -} -endsnippet - -snippet class "class (class)" -class ${1:`!p snip.rv = (snip.basename or "name")`} -{ - ${2} -} -endsnippet - -snippet inter "interface (inter)" -interface ${1:`!p snip.rv = (snip.basename or "name")`} -{ - ${2} -} -endsnippet - -snippet enum "enum (enum)" -enum ${1:`!p snip.rv = (snip.basename or "name")`} -{ - ${2} -} -endsnippet - - -# Exception declarations - -snippet exc "exception declaration (exc)" b -/// ${3:/*documentation*/} -class ${1}Exception : ${2}Exception -{ - public this(string msg, string file = __FILE__, int line = __LINE__) - { - super(msg, file, line); - } -} -endsnippet - - -# Conditional compilation - -snippet version "version (version)" b -version(${1:/*version name*/}) -{ - ${VISUAL}${2} -} -endsnippet - -snippet debug "debug" b -debug -{ - ${VISUAL}${1} -} -endsnippet - - -# Templates - -snippet temp "template (temp)" b -template ${2:/*name*/}(${1:/*args*/}) -{ - ${3} -} -endsnippet - - -# Asserts - -snippet ass "assert (ass)" b -assert(${1:false}, "${2:TODO}"); - -endsnippet - - -# Unittests - -snippet unittest "unittest (unittest)" b -unittest -{ - ${1} -} -endsnippet - - -# Common member functions - -snippet opDis "opDispatch (opDis)" b -${1:/*return type*/} opDispatch(string s)() -{ - ${2}; -} -endsnippet - -snippet op= "opAssign (op=)" b -void opAssign(${1} rhs) ${2:@safe pure nothrow} -{ - ${2} -} -endsnippet - -snippet opCmp "opCmp (opCmp)" b -int opCmp(${1} rhs) @safe const pure nothrow -{ - ${2} -} -endsnippet - -snippet opApply "opApply (opApply)" b -int opApply(int delegate(ref ${1:/*iterated type/s*/}) dg) -{ - int result = 0; - ${2:/*loop*/} - { - result = dg(${3:/*arg/s*/}); - if(result){break;} - } - return result; -} -endsnippet - -snippet toString "toString (toString)" b -string toString() @safe const pure nothrow -{ - ${1} -} -endsnippet - - -# Comments - - -snippet todo "TODO (todo)" -// TODO: ${1} -endsnippet - - -# DDoc - -snippet doc "generic ddoc block (doc)" b -/// ${1:description} -/// -/// ${2:details} -endsnippet - -snippet fdoc "function ddoc block (fdoc)" b -/// ${1:description} -/// -/// ${2:Params: ${3:param} = ${4:param description} -/// ${5}} -/// -/// ${6:Returns: ${7:return value}} -/// -/// ${8:Throws: ${9}Exception ${10}} -endsnippet - -snippet Par "Params (Par)" -Params: ${1:param} = ${2:param description} -/// ${3} -endsnippet - -snippet Ret "Returns (Ret)" -Returns: ${1:return value/s} -endsnippet - -snippet Thr "Throws (Thr)" -Throws: ${1}Exception ${2} -endsnippet - -snippet Example "Examples (Example)" -Examples: -/// -------------------- -/// ${1:example code} -/// -------------------- -endsnippet - - -# License blocks - -snippet gpl "GPL (gpl)" b -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// -// Copyright (C) ${1:Author}, `!v strftime("%Y")` - -${2} -endsnippet - -snippet boost "Boost (boost)" b -// Copyright ${1:Author} `!v strftime("%Y")`. -// Distributed under the Boost Software License, Version 1.0. -// (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) - -${2} -endsnippet - - -# New module - -snippet module "New module (module)" b -// Copyright ${1:Author} `!v strftime("%Y")`. -// Distributed under the Boost Software License, Version 1.0. -// (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) - -module ${2}.`!v vim_snippets#Filename('$1', 'name')`; - - -${3} -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/django.snippets b/bundle/vim-snippets/UltiSnips/django.snippets deleted file mode 100644 index 9d6ce279..00000000 --- a/bundle/vim-snippets/UltiSnips/django.snippets +++ /dev/null @@ -1,238 +0,0 @@ -priority -50 - -# Generic Tags -snippet % -{% ${1} %}${2} -endsnippet - -snippet %% -{% ${1:tag_name} %} - ${2} -{% end$1 %} -endsnippet - -snippet { -{{ ${1} }}${2} -endsnippet - -# Template Tags - -snippet autoescape -{% autoescape ${1:off} %} - ${2} -{% endautoescape %} -endsnippet - -snippet block -{% block ${1} %} - ${2} -{% endblock $1 %} -endsnippet - -snippet # -{# ${1:comment} #} -endsnippet - -snippet comment -{% comment %} - ${1} -{% endcomment %} -endsnippet - -snippet cycle -{% cycle ${1:val1} ${2:val2} ${3:as ${4}} %} -endsnippet - -snippet debug -{% debug %} -endsnippet - -snippet extends -{% extends "${1:base.html}" %} -endsnippet - -snippet filter -{% filter ${1} %} - ${2} -{% endfilter %} -endsnippet - -snippet firstof -{% firstof ${1} %} -endsnippet - -snippet for -{% for ${1} in ${2} %} - ${3} -{% endfor %} -endsnippet - -snippet empty -{% empty %} - ${1} -endsnippet - -snippet if -{% if ${1} %} - ${2} -{% endif %} -endsnippet - -snippet else -{% else %} - ${1} -endsnippet - -snippet ifchanged -{% ifchanged %}${1}{% endifchanged %} -endsnippet - -snippet ifequal -{% ifequal ${1} ${2} %} - ${3} -{% endifequal %} -endsnippet - -snippet ifnotequal -{% ifnotequal ${1} ${2} %} - ${3} -{% endifnotequal %} -endsnippet - -snippet include -{% include "${1}" %} -endsnippet - -snippet load -{% load ${1} %} -endsnippet - -snippet now -{% now "${1:jS F Y H:i}" %} -endsnippet - -snippet regroup -{% regroup ${1} by ${2} as ${3} %} -endsnippet - -snippet spaceless -{% spaceless %}${1}{% endspaceless %} -endsnippet - -snippet ssi -{% ssi ${1} %} -endsnippet - -snippet trans -{% trans "${1:string}" %} -endsnippet - -snippet url -{% url ${1} as ${2} %} -endsnippet - -snippet widthratio -{% widthratio ${1:this_value} ${2:max_value} ${3:100} %} -endsnippet - -snippet with -{% with ${1} as ${2} %} -endsnippet - -# Template Filters - -# Note: Since SnipMate can't determine which template filter you are -# expanding without the "|" character, these do not add the "|" -# character. These save a few keystrokes still. - -# Note: Template tags that take no arguments are not implemented. - -snippet add -add:"${1}" -endsnippet - -snippet center -center:"${1}" -endsnippet - -snippet cut -cut:"${1}" -endsnippet - -snippet date -date:"${1}" -endsnippet - -snippet default -default:"${1}" -endsnippet - -snippet defaultifnone -default_if_none:"${1}" -endsnippet - -snippet dictsort -dictsort:"${1}" -endsnippet - -snippet dictsortrev -dictsortreversed:"${1}" -endsnippet - -snippet divisibleby -divisibleby:"${1}" -endsnippet - -snippet floatformat -floatformat:"${1}" -endsnippet - -snippet getdigit -get_digit:"${1}" -endsnippet - -snippet join -join:"${1}" -endsnippet - -snippet lengthis -length_is:"${1}" -endsnippet - -snippet pluralize -pluralize:"${1}" -endsnippet - -snippet removetags -removetags:"${1}" -endsnippet - -snippet slice -slice:"${1}" -endsnippet - -snippet stringformat -stringformat:"${1}" -endsnippet - -snippet time -time:"${1}" -endsnippet - -snippet truncatewords -truncatewords:${1} -endsnippet - -snippet truncatewordshtml -truncatewords_html:${1} -endsnippet - -snippet urlizetrunc -urlizetrunc:${1} -endsnippet - -snippet wordwrap -wordwrap:${1} -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/elixir.snippets b/bundle/vim-snippets/UltiSnips/elixir.snippets deleted file mode 100644 index 1f53edfb..00000000 --- a/bundle/vim-snippets/UltiSnips/elixir.snippets +++ /dev/null @@ -1,168 +0,0 @@ -priority -50 - -snippet do -do - ${1} -end -endsnippet - -snippet if "if .. do .. end" -if ${1:condition} do - ${2:expression} -end -endsnippet - -snippet if "if .. do: .." -if ${1:condition}, do: ${2:expression} -endsnippet - -snippet ife "if .. do .. else .. end" -if ${1:condition} do - ${2:expression} -else - ${3:expression} -end -endsnippet - -snippet ife "if .. do: .. else:" -if ${1:condition}, do: ${2}, else: ${3} -endsnippet - -snippet unless "unless .. do .. end" -unless ${1} do - ${2} -end -endsnippet - -snippet unless "unless .. do: .." -unless ${1:condition}, do: ${2} -endsnippet - -snippet unlesse "unless .. do .. else .. end" -unless ${1:condition} do - ${2} -else - ${3} -end -endsnippet - -snippet unlesse "unless .. do: .. else:" -unless ${1:condition}, do: ${2}, else: ${3} -endsnippet - -snippet cond -"cond do" -${1} -> - ${2} -end -endsnippet - -snippet case -case ${1} do -${2} -> - ${3} -end -endsnippet - -snippet def -def ${1:name} do - ${2} -end -endsnippet - -snippet defin "def function(n), do: n" -def ${1:name}, do: ${2} -endsnippet - -snippet defg -def ${1:name} when ${2:guard-condition} do - ${3} -end -endsnippet - -snippet defim -defimpl ${1:protocol_name}, for: ${2:data_type} do - ${3} -end -endsnippet - -snippet defma -defmacro ${1:name} do - ${2} -end -endsnippet - -snippet defmo -defmodule ${1:module_name} do - ${2} -end -endsnippet - -snippet defp -defp ${1:name} do - ${2} -end -endsnippet - -snippet defpr -defprotocol ${1:name}, [${2:function}] -endsnippet - -snippet defr -defrecord ${1:record_name}, ${2:fields} -endsnippet - -snippet doc -@doc """ -${1} -""" -endsnippet - -snippet fn -fn(${1:args}) -> ${2} end -endsnippet - -snippet fun -function do - ${1} -end -endsnippet - -snippet mdoc -@moduledoc """ -${1} -""" -endsnippet - -snippet rec -receive do -${1} -> - ${2} -end -endsnippet - -snippet req -require ${1:module_name} -endsnippet - -snippet imp -import ${1:module_name} -endsnippet - -snippet ali "alias old-module to shorthand" -alias ${1:module_name} -endsnippet - -snippet test -test "${1:test_name}" do - ${2} -end -endsnippet - -snippet try "try .. rescue .. end" -try do - ${1} -rescue - ${2} -> ${3} -end -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/erlang.snippets b/bundle/vim-snippets/UltiSnips/erlang.snippets deleted file mode 100644 index e27fbefa..00000000 --- a/bundle/vim-snippets/UltiSnips/erlang.snippets +++ /dev/null @@ -1,100 +0,0 @@ -########################################################################### -# TEXTMATE SNIPPETS # -########################################################################### - -priority -50 - -snippet pat "Case:Receive:Try Clause" -${1:pattern}${2: when ${3:guard}} ->; - ${4:body} -endsnippet - -snippet beh "Behaviour Directive" --behaviour (${1:behaviour}). -endsnippet - -snippet case "Case Expression" -case ${1:expression} of - ${2:pattern}${3: when ${4:guard}} -> - ${5:body} -end -endsnippet - -snippet def "Define Directive" --define (${1:macro}${2: (${3:param})}, ${4:body}). -endsnippet - -snippet exp "Export Directive" --export ([${1:function}/${2:arity}]). -endsnippet - -snippet fun "Fun Expression" -fun - (${1:pattern})${2: when ${3:guard}} -> - ${4:body} -end -endsnippet - -snippet fu "Function" -${1:function} (${2:param})${3: when ${4:guard}} -> - ${5:body} -endsnippet - -snippet if "If Expression" -if - ${1:guard} -> - ${2:body} -end -endsnippet - -snippet ifdef "Ifdef Directive" --ifdef (${1:macro}). -endsnippet - -snippet ifndef "Ifndef Directive" --ifndef (${1:macro}). -endsnippet - -snippet imp "Import Directive" --import (${1:module}, [${2:function}/${3:arity}]). -endsnippet - -snippet inc "Include Directive" --include ("${1:file}"). -endsnippet - -snippet mod "Module Directive" --module (${1:`!p snip.rv = snip.basename or "module"`}). -endsnippet - -snippet rcv "Receive Expression" -receive -${1: ${2:pattern}${3: when ${4:guard}} -> - ${5:body}} -${6:after - ${7:expression} -> - ${8:body}} -end -endsnippet - -snippet rec "Record Directive" --record (${1:record}, {${2:field}${3: = ${4:value}}}). -endsnippet - -snippet try "Try Expression" -try${1: ${2:expression}${3: of - ${4:pattern}${5: when ${6:guard}} -> - ${7:body}}} -${8:catch - ${9:pattern}${10: when ${11:guard}} -> - ${12:body}} -${13:after - ${14:body}} -end -endsnippet - -snippet undef "Undef Directive" --undef (${1:macro}). -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/eruby.snippets b/bundle/vim-snippets/UltiSnips/eruby.snippets deleted file mode 100644 index ae58c9f2..00000000 --- a/bundle/vim-snippets/UltiSnips/eruby.snippets +++ /dev/null @@ -1,290 +0,0 @@ -extends html - -priority -50 - -# TextMate added these variables to cope with changes in ERB handling -# in different versions of Rails -- for instance, Rails 3 automatically -# strips whitespace so that it's no longer necessary to use a form like -# <% end -%>, but if you're still maintaining Rails 2 projects, you -# can't omit the minus sign and get the same behavior. -# -# The following regex replace substitutes the function below for the -# TextMate variable references after the snippets are converted: -# -# /\v\$\{(TM_RAILS_TEMPLATE_([^_]+)_RUBY_([^_\s]+))\}/`!p textmate_var('\1', snip)`/g -# -global !p -def textmate_var(var, snip): - lookup = dict( - TM_RAILS_TEMPLATE_START_RUBY_EXPR = snip.opt('g:tm_rails_template_start_ruby_expr', '<%= '), - TM_RAILS_TEMPLATE_END_RUBY_EXPR = snip.opt('g:tm_rails_template_end_ruby_expr', ' %>'), - TM_RAILS_TEMPLATE_START_RUBY_INLINE = snip.opt('g:tm_rails_template_start_ruby_inline', '<% '), - TM_RAILS_TEMPLATE_END_RUBY_INLINE = snip.opt('g:tm_rails_template_end_ruby_inline', ' %>'), - TM_RAILS_TEMPLATE_END_RUBY_BLOCK = '<% end %>' - ) - snip.rv = lookup[var] - return -endglobal - - -snippet % "<% ${0} %>" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_INLINE', snip)`${0}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_INLINE', snip)` -endsnippet - -snippet = "<%= ${0} %>" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`${0}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -########################################################################### -# GENERATED FROM get_tm_snippets.py + REGEX REPLACE # -########################################################################### - -snippet fi "<%= Fixtures.identify(:symbol) %>" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`Fixtures.identify(:${1:name})`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)`$0 -endsnippet - -snippet ft "form_tag" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_INLINE', snip)`form_tag(${1::action => "${5:update}"}${6:, {:${8:class} => "${9:form}"\}}) do`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` - $0 -`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_BLOCK', snip)` -endsnippet - -snippet end "end (ERB)" -<% end -%> -endsnippet - -snippet for "for loop (ERB)" -<% if !${1:list}.blank? %> - <% for ${2:item} in ${1} %> - $3 - <% end %> -<% else %> - $4 -<% end %> - -endsnippet - -snippet ffcb "form_for check_box" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.check_box :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet ffff "form_for file_field 2" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.file_field :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet ffhf "form_for hidden_field 2" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.hidden_field :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet ffl "form_for label 2" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet ffpf "form_for password_field 2" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.password_field :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet ffrb "form_for radio_box 2" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.radio_box :${1:attribute}, :${2:tag_value}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet ffs "form_for submit 2" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.submit "${1:Submit}"${2:, :disable_with => '${3:$1ing...}'}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet ffta "form_for text_area 2" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.text_area :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet fftf "form_for text_field 2" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.text_field :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet fields "fields_for" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_INLINE', snip)`fields_for :${1:model}, @${2:$1} do |$1|`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_INLINE', snip)` - $0 -`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_BLOCK', snip)` -endsnippet - -snippet f. "f_fields_for (nff)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_INLINE', snip)`f.fields_for :${1:attribute} do |${2:f}|`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_INLINE', snip)` - $0 -`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_BLOCK', snip)` -endsnippet - -snippet f. "f.checkbox" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.check_box :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet f. "f.file_field" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.file_field :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet f. "f.hidden_field" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.hidden_field :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet f. "f.label" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet f. "f.password_field" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.password_field :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet f. "f.radio_box" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.radio_box :${1:attribute}, :${2:tag_value}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet f. "f.submit" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.submit "${1:Submit}"${2:, :disable_with => '${3:$1ing...}'}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet f. "f.text_area" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.text_area :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet f. "f.text_field" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`f.text_field :${1:attribute}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet ffe "form_for with errors" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`error_messages_for :${1:model}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` - -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`form_for @${2:$1} do |f|`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` - $0 -`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_BLOCK', snip)` -endsnippet - -snippet ff "form_for" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`form_for @${1:model} do |f|`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` - $0 -`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_BLOCK', snip)` -endsnippet - -snippet ist "image_submit_tag" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`image_submit_tag("${1:agree.png}"${2:${3:, :id => "${4:${1/^(\w+)(\.\w*)?$/$1/}}"}${5:, :name => "${6:${1/^(\w+)(\.\w*)?$/$1/}}"}${7:, :class => "${8:${1/^(\w+)(\.\w*)?$/$1/}-button}"}${9:, :disabled => ${10:false}}})`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet it "image_tag" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`image_tag "$1${2:.png}"${3:${4:, :title => "${5:title}"}${6:, :class => "${7:class}"}}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet layout "layout" -layout "${1:template_name}"${2:${3:, :only => ${4:[:${5:action}, :${6:action}]}}${7:, :except => ${8:[:${9:action}, :${10:action}]}}} -endsnippet - -snippet jit "javascript_include_tag" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`javascript_include_tag ${1::all}${2:, :cache => ${3:true}}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet lia "link_to (action)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to "${1:link text...}", :action => "${2:index}"`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet liai "link_to (action, id)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to "${1:link text...}", :action => "${2:edit}", :id => ${3:@item}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet lic "link_to (controller)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to "${1:link text...}", :controller => "${2:items}"`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet lica "link_to (controller, action)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to "${1:link text...}", :controller => "${2:items}", :action => "${3:index}"`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet licai "link_to (controller, action, id)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to "${1:link text...}", :controller => "${2:items}", :action => "${3:edit}", :id => ${4:@item}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet linpp "link_to (nested path plural)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to ${1:"${2:link text...}"}, ${3:${10:parent}_${11:child}_path(${12:@}${13:${10}})}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet linp "link_to (nested path)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to ${1:"${2:link text...}"}, ${3:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet lipp "link_to (path plural)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to ${1:"${2:link text...}"}, ${3:${4:model}s_path}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet lip "link_to (path)" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to ${1:"${2:link text...}"}, ${3:${12:model}_path(${13:@}${14:${12}})}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet lim "link_to model" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to ${1:model}.${2:name}, ${3:${4:$1}_path(${14:$1})}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet hide "page.hide (*ids)" -page.hide ${1:"${2:id(s)}"} -endsnippet - -snippet ins "page.insert_html (position, id, partial)" -page.insert_html :${1:top}, ${2:"${3:id}"}, :${4:partial => "${5:template}"} -endsnippet - -snippet rep "page.replace (id, partial)" -page.replace ${1:"${2:id}"}, :${3:partial => "${4:template}"} -endsnippet - -snippet reph "page.replace_html (id, partial)" -page.replace_html ${1:"${2:id}"}, :${3:partial => "${4:template}"} -endsnippet - -snippet show "page.show (*ids)" -page.show ${1:"${2:id(s)}"} -endsnippet - -snippet tog "page.toggle (*ids)" -page.toggle ${1:"${2:id(s)}"} -endsnippet - -snippet vis "page.visual_effect (effect, id)" -page.visual_effect :${1:toggle_slide}, ${2:"${3:DOM ID}"} -endsnippet - -snippet rp "render (partial) (rp)" -render :partial => "${1:item}" -endsnippet - -snippet rpc "render (partial,collection) (rpc)" -render :partial => "${1:item}", :collection => ${2:@$1s} -endsnippet - -snippet rpl "render (partial,locals) (rpl)" -render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}$0 } -endsnippet - -snippet rpo "render (partial,object) (rpo)" -render :partial => "${1:item}", :object => ${2:@$1} -endsnippet - -snippet rps "render (partial,status) (rps)" -render :partial => "${1:item}", :status => ${2:500} -endsnippet - -snippet slt "stylesheet_link_tag" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`stylesheet_link_tag ${1::all}${2:, :cache => ${3:true}}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet st "submit_tag" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`submit_tag "${1:Save changes}"${2:, :id => "${3:submit}"}${4:, :name => "${5:$3}"}${6:, :class => "${7:form_$3}"}${8:, :disabled => ${9:false}}${10:, :disable_with => "${11:Please wait...}"}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -snippet else "else (ERB)" -<% else %> - $0 -endsnippet - -snippet if "if (ERB)" -<% if ${1:condition} %>$0 -endsnippet - -snippet lf "link_to_function" -`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`link_to_function ${1:"${2:Greeting}"}, "${3:alert('Hello world!')}"$4`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)` -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/go.snippets b/bundle/vim-snippets/UltiSnips/go.snippets deleted file mode 100644 index efd15892..00000000 --- a/bundle/vim-snippets/UltiSnips/go.snippets +++ /dev/null @@ -1,137 +0,0 @@ -# Snippets for Go - -priority -50 - -# when to abbriviate and when not? -# b doesn't work here, because it ignores whitespace -# optional local name? -snippet /^import/ "Import declaration" r -import ( - "${1:package}" -) -endsnippet - -snippet /^package/ "Package declaration" r -// Package $1 provides ... -package ${1:main} -endsnippet - -# Mostly converted from: https://github.com/AlanQuatermain/go-tmbundle -snippet /^cons/ "Constants declaration" r -const ( - ${1:constant}${2/(.+)/ /}${2:type} = ${0:value} -) -endsnippet - -snippet /^con/ "Constant declaration" r -const ${1:name}${2/(.+)/ /}${2:type} = ${0:value} -endsnippet - -snippet iota "Iota constant generator" b -const ( - ${1:constant}${2/(.+)/ /}${2:type} = iota -) -endsnippet - -snippet struct "Struct declaration" b -type ${1:Struct} struct { - ${0:${VISUAL}} -} -endsnippet - -snippet interface "Interface declaration" b -type ${1:Interface} interface { - ${0:${VISUAL}} -} -endsnippet - -# statements -snippet for "For loop" b -for ${1:condition}${1/(.+)/ /}{ - ${0:${VISUAL}} -} -endsnippet - -snippet fori "Integer for loop" b -for ${1:i} := 0; $1 < ${2:N}; $1++ { - ${0:${VISUAL}} -} -endsnippet - -snippet forr "For range loop" b -for ${2:name} := range ${1:collection} { - ${0:${VISUAL}} -} -endsnippet - -snippet if "If statement" b -if ${1:condition}${1/(.+)/ /}{ - ${0:${VISUAL}} -} -endsnippet - -snippet switch "Switch statement" b -switch ${1:expression}${1/(.+)/ /}{ -case${0} -} -endsnippet - -snippet select "Select statement" b -select { -case${0} -} -endsnippet - -snippet case "Case clause" b -case ${1:condition}: - ${0:${VISUAL}} -endsnippet - -snippet default "Default clause" b -default: - ${0:${VISUAL}} -endsnippet - -# functions -snippet /^main/ "Main function" r -func main() { - ${0:${VISUAL}} -} -endsnippet - -snippet /^meth/ "Method" r -func (${1:receiver} ${2:type}) ${3:name}(${4:params})${5/(.+)/ /}${5:type} { - ${0:${VISUAL}} -} -endsnippet - -snippet func "Function" b -func ${1:name}(${2:params})${3/(.+)/ /}${3:type} { - ${0:${VISUAL}} -} -endsnippet - -# types and variables -snippet map "Map type" b -map[${1:keytype}]${2:valtype} -endsnippet - -snippet : "Variable declaration :=" b -${1:name} := ${0:value} -endsnippet - -snippet var "Variable declaration" b -var ${1:name}${2/(.+)/ /}${2:type}${3: = ${0:value}} -endsnippet - -snippet vars "Variables declaration" b -var ( - ${1:name}${2/(.+)/ /}${2:type}${3: = ${0:value} } -) -endsnippet - -snippet json "JSON field" -\`json:"${1:displayName}"\` -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/haskell.snippets b/bundle/vim-snippets/UltiSnips/haskell.snippets deleted file mode 100644 index ad217fd8..00000000 --- a/bundle/vim-snippets/UltiSnips/haskell.snippets +++ /dev/null @@ -1,63 +0,0 @@ -priority -50 - -snippet if "if ... then ... else ..." -if ${1:condition} - then ${2:expression} - else ${3:expression} -endsnippet - -snippet case "case ... of ..." -case ${1:expression} of - ${2:pattern} -> ${3:expression} - ${4:pattern} -> ${5:expression} -endsnippet - -snippet :: "Type signature" -${1:name} :: ${2:Type} -> ${3:Type} -endsnippet - -snippet => "Type constraint" -(${1:Class} ${2:Type var}) => ${3:$2} -endsnippet - -snippet def "Function definition" -${1:name} :: ${2:Type} -> ${3:Type} -endsnippet - -snippet def[] "Function definition for list patterns" -${1:name} :: [${2:Type}] -> ${3:Type} -$1 [] = ${4:undefined} -$1 ${5:(x:xs)} = ${6:undefined} -endsnippet - -snippet = "Function clause" -${1:name} ${2:pattern} = ${3:undefined} -endsnippet - -snippet 2= "Function clause" -${1:name} ${2:pattern} = ${3:undefined} -$1 ${4:pattern} = ${5:undefined} -endsnippet - -snippet 3= "Function clause" -${1:name} ${2:pattern} = ${3:undefined} -$1 ${4:pattern} = ${5:undefined} -$1 ${6:pattern} = ${7:undefined} -endsnippet - -snippet | "Guard" -| ${1:predicate} = ${2:undefined} -endsnippet - -snippet \ "Lambda expression" -\ ${1:pattern} -> ${2:expression} -endsnippet - -snippet [|] "List comprehension" -[${3:foo }$1 | ${1:x} <- ${2:xs} ] -endsnippet - -snippet let "let ... in ..." -let ${1:name} = ${2:expression} -in ${3:expression} -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/help.snippets b/bundle/vim-snippets/UltiSnips/help.snippets deleted file mode 100644 index b07a7de0..00000000 --- a/bundle/vim-snippets/UltiSnips/help.snippets +++ /dev/null @@ -1,37 +0,0 @@ -# Snippets for VIM Help Files - -priority -50 - -global !p -def sec_title(snip, t): - file_start = snip.fn.split('.')[0] - sec_name = t[1].strip("1234567890. ").lower().replace(' ', '-') - return ("*%s-%s*" % (file_start, sec_name)).rjust(78-len(t[1])) -endglobal - -snippet sec "Section marker" b -============================================================================== -${1:SECTION}`!p snip.rv = sec_title(snip, t)` - -$0 -endsnippet - -snippet ssec "Sub section marker" b -${1:Subsection}`!p snip.rv = sec_title(snip, t) -snip += "-"*len(t[1])` - -$0 -endsnippet - -snippet sssec "Subsub Section marker" b -${1:SubSubsection}:`!p snip.rv = sec_title(snip, t)` - -$0 -endsnippet - -# For vim help, follow the same settings as the official docs. -snippet modeline "Vim help modeline" - `!v 'vim'`:tw=78:ts=8:ft=help:norl: -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/html.snippets b/bundle/vim-snippets/UltiSnips/html.snippets deleted file mode 100644 index fee451f9..00000000 --- a/bundle/vim-snippets/UltiSnips/html.snippets +++ /dev/null @@ -1,306 +0,0 @@ -priority -50 - -########################################################################### -# TextMate Snippets # -########################################################################### - -global !p -def x(snip): - if snip.ft.startswith("x"): - snip.rv = '/' - else: - snip.rv = "" -endglobal - -############ -# Doctypes # -############ -snippet doctype "DocType XHTML 1.0 Strict" b - - -endsnippet - -snippet doctype "DocType XHTML 1.0 Transitional" b - - -endsnippet - -snippet doctype "DocType XHTML 1.1" b - - -endsnippet - -snippet doctype "HTML - 4.0 Transitional (doctype)" b - - -endsnippet - -snippet doctype "HTML - 5.0 (doctype)" b - - -endsnippet - -############# -# Shortcuts # -############# -snippet down "Down (down)" -↓ -endsnippet - -snippet enter "Enter (enter)" -⌅ -endsnippet - -snippet escape "Escape (escape)" -⎋ -endsnippet - -snippet shift "Shift (shift)" -⇧ -endsnippet - -snippet tab "Tab (tab)" -⇥ -endsnippet - -snippet up "Up (up)" -↑ -endsnippet - -snippet return "Return (return)" -↩ -endsnippet - -snippet right "Right (right)" -→ -endsnippet - -snippet left "Left (left)" -← -endsnippet - -snippet option "Option (option)" -⌥ -endsnippet - -####################### -# Conditional inserts # -####################### -snippet ! "IE Conditional Comment: Internet Explorer 5_0 only" -$0 -endsnippet - -snippet ! "IE Conditional Comment: Internet Explorer 5_5 only" -$0 -endsnippet - -snippet ! "IE Conditional Comment: Internet Explorer 5_x" -$0 -endsnippet - -snippet ! "IE Conditional Comment: Internet Explorer 6 and below" -$0 -endsnippet - -snippet ! "IE Conditional Comment: Internet Explorer 6 only" -$0 -endsnippet - -snippet ! "IE Conditional Comment: Internet Explorer 7+" -$0 -endsnippet - -snippet ! "IE Conditional Comment: Internet Explorer" -$0 -endsnippet - -snippet ! "IE Conditional Comment: NOT Internet Explorer" -${1: IE Conditional Comment: NOT Internet Explorer }$0 -endsnippet - -############# -# HTML TAGS # -############# -snippet input "Input with Label" w - - -endsnippet - -snippet input "XHTML " w - -endsnippet - - -snippet opt "Option" w -${3:$2} -endsnippet - -snippet select "Select Box" w - -endsnippet - - -snippet textarea "XHTML -endsnippet - -snippet mailto "XHTML " w -${3:email me} -endsnippet - -snippet base "XHTML " w - -endsnippet - -snippet img "XHTML " w - -endsnippet - -snippet body "XHTML " - - $0 - -endsnippet - -snippet div "XHTML
" w - - $0 -
-endsnippet - -snippet form "XHTML
" w - - $0 - -

-
-endsnippet - -snippet h1 "XHTML

" w -

${1}

-endsnippet - -snippet head "XHTML " - - - ${1:`!p snip.rv = snip.basename or "Page Title"`} - $0 - -endsnippet - -snippet link "XHTML " w - -endsnippet - -snippet meta "XHTML " w - -endsnippet - -snippet scriptsrc "XHTML -endsnippet - -snippet script "XHTML -endsnippet - -snippet style "XHTML -endsnippet - -snippet table "XHTML " w -
- - -
${5:Header}
${0:Data}
-endsnippet - -snippet a "Link" w -${4:Anchor Text} -endsnippet - -snippet p "paragraph" w -

$0

-endsnippet - -snippet li "list item" w -
  • $0
  • -endsnippet - -snippet ul "unordered list" w -
      -$0 -
    -endsnippet - -snippet td "table cell" w -$0 -endsnippet - -snippet th "table header" w -$0 -endsnippet - -snippet tr "table row" w -$0 -endsnippet - -snippet title "XHTML " w -<title>${1:`!p snip.rv = snip.basename or "Page Title"`} -endsnippet - -snippet fieldset "Fieldset" w -
    - $1 - $0 -
    -endsnippet - -snippet movie "Embed QT movie (movie)" b - - - - - - -endsnippet - -snippet html5 "HTML5 Template" - - - - ${1} - - - -
    - ${2} -
    -
    - ${4} -
    - - -endsnippet -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/html_minimal.snippets b/bundle/vim-snippets/UltiSnips/html_minimal.snippets deleted file mode 100644 index 48ff4b72..00000000 --- a/bundle/vim-snippets/UltiSnips/html_minimal.snippets +++ /dev/null @@ -1,33 +0,0 @@ -# more can be found in snippets/html_minimal.snippets -# these UltiSnips override snippets because nested placeholders are being used - -priority -50 - -snippet id -id="${1}"${2} -endsnippet - -snippet idn -id="${1}" name="${2:$1}" -endsnippet - -snippet label_and_input - -${8} -endsnippet - -snippet input -${7} -endsnippet - -snippet textarea - -endsnippet - -snippet img - $3 -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/htmldjango.snippets b/bundle/vim-snippets/UltiSnips/htmldjango.snippets deleted file mode 100644 index 5836a2f6..00000000 --- a/bundle/vim-snippets/UltiSnips/htmldjango.snippets +++ /dev/null @@ -1,3 +0,0 @@ -priority -50 - -extends html, django diff --git a/bundle/vim-snippets/UltiSnips/htmljinja.snippets b/bundle/vim-snippets/UltiSnips/htmljinja.snippets deleted file mode 100644 index fa3b3c22..00000000 --- a/bundle/vim-snippets/UltiSnips/htmljinja.snippets +++ /dev/null @@ -1,3 +0,0 @@ -priority -50 - -extends html, jinja2 diff --git a/bundle/vim-snippets/UltiSnips/java.snippets b/bundle/vim-snippets/UltiSnips/java.snippets deleted file mode 100644 index e8eb77cc..00000000 --- a/bundle/vim-snippets/UltiSnips/java.snippets +++ /dev/null @@ -1,436 +0,0 @@ -priority -50 - -# Many of the snippets here use a global option called -# "g:ultisnips_java_brace_style" which, if set to "nl" will put a newline -# before '{' braces. -# Setting "g:ultisnips_java_junit" will change how the test method snippet -# looks, it is defaulted to junit4, setting this option to 3 will remove the -# @Test annotation from the method - -global !p -def junit(snip): - if snip.opt("g:ultisnips_java_junit", "") == "3": - snip += "" - else: - snip.rv += "@Test\n\t" - -def nl(snip): - if snip.opt("g:ultisnips_java_brace_style", "") == "nl": - snip += "" - else: - snip.rv += " " -def getArgs(group): - import re - word = re.compile('[a-zA-Z><.]+ \w+') - return [i.split(" ") for i in word.findall(group) ] - -def camel(word): - if not word: return '' - return word[0].upper() + word[1:] - -def mixedCase(word): - if not word: return '' - return word[0].lower() + word[1:] - -endglobal - -snippet sleep "try sleep catch" b -try { - Thread.sleep(${1:1000}); -} catch (InterruptedException e){ - e.printStackTrace(); -} -endsnippet - -snippet /i|n/ "new primitive or int" br -${1:int} ${2:i} = ${3:1}; -$0 -endsnippet - -snippet /o|v/ "new Object or variable" br -${1:Object} ${2:var} = new $1(${3}); -endsnippet - -snippet f "field" b -${1:private} ${2:String} ${3:`!p snip.rv = t[2].lower()`}; -endsnippet - -snippet ab "abstract" b -abstract $0 -endsnippet - -snippet as "assert" b -assert ${1:test}${2/(.+)/(?1: \: ")/}${2:Failure message}${2/(.+)/(?1:")/}; -endsnippet - -snippet at "assert true" b -assertTrue(${1:actual}); -endsnippet - -snippet af "assert false" b -assertFalse(${1:actual}); -endsnippet - -snippet ae "assert equals" b -assertEquals(${1:expected}, ${2:actual}); -endsnippet - -snippet br "break" -break; - -endsnippet - -snippet cs "case" b -case $1: - $2 -$0 -endsnippet - -snippet ca "catch" b -catch (${1:Exception} ${2:e})`!p nl(snip)`{ - $0 -} -endsnippet - -snippet cle "class extends" b -public class ${1:`!p -snip.rv = snip.basename or "untitled"`} ${2:extends ${3:Parent} }${4:implements ${5:Interface} }{ - $0 -} -endsnippet - -snippet clc "class with constructor, fields, setter and getters" b -public class `!p -snip.rv = snip.basename or "untitled"` { -`!p -args = getArgs(t[1]) -if len(args) == 0: snip.rv = "" -for i in args: - snip.rv += "\n\tprivate " + i[0] + " " + i[1]+ ";" -if len(args) > 0: - snip.rv += "\n"` - public `!p snip.rv = snip.basename or "unknown"`($1) { `!p -args = getArgs(t[1]) -for i in args: - snip.rv += "\n\t\tthis." + i[1] + " = " + i[1] + ";" -if len(args) == 0: - snip.rv += "\n"` - }$0 -`!p -args = getArgs(t[1]) -if len(args) == 0: snip.rv = "" -for i in args: - snip.rv += "\n\tpublic void set" + camel(i[1]) + "(" + i[0] + " " + i[1] + ") {\n" + "\ - \tthis." + i[1] + " = " + i[1] + ";\n\t}\n" - - snip.rv += "\n\tpublic " + i[0] + " get" + camel(i[1]) + "() {\ - \n\t\treturn " + i[1] + ";\n\t}\n" -` -} -endsnippet - -snippet clc "class with constructor, with field names" b -public class `!p -snip.rv = snip.basename or "untitled"` { -`!p -args = getArgs(t[1]) -for i in args: - snip.rv += "\n\tprivate " + i[0] + " " + i[1]+ ";" -if len(args) > 0: - snip.rv += "\n"` - public `!p snip.rv = snip.basename or "unknown"`($1) { `!p -args = getArgs(t[1]) -for i in args: - snip.rv += "\n\t\tthis.%s = %s;" % (i[1], i[1]) -if len(args) == 0: - snip.rv += "\n"` - } -} -endsnippet - -snippet clc "class and constructor" b -public class `!p -snip.rv = snip.basename or "untitled"` { - - public `!p snip.rv = snip.basename or "untitled"`($2) { - $0 - } -} -endsnippet - -snippet cl "class" b -public class ${1:`!p -snip.rv = snip.basename or "untitled"`} { - $0 -} -endsnippet - -snippet cos "constant string" b -public static final String ${1:var} = "$2";$0 -endsnippet - -snippet co "constant" b -public static final ${1:String} ${2:var} = $3;$0 -endsnippet - -snippet de "default" b -default: - $0 -endsnippet - -snippet elif "else if" -else if ($1)`!p nl(snip)`{ - $0${VISUAL} -} -endsnippet - -snippet el "else" w -else`!p nl(snip)`{ - $0${VISUAL} -} -endsnippet - -snippet fi "final" b -final $0 -endsnippet - -snippet fore "for (each)" b -for ($1 : $2)`!p nl(snip)`{ - $0 -} -endsnippet - -snippet fori "for" b -for (int ${1:i} = 0; $1 < ${2:10}; $1++)`!p nl(snip)`{ - $0 -} -endsnippet - -snippet for "for" b -for ($1; $2; $3)`!p nl(snip)`{ - $0 -} -endsnippet - -snippet if "if" b -if ($1)`!p nl(snip)`{ - $0${VISUAL} -} -endsnippet - -snippet imt "import junit_framework_TestCase;" b -import junit.framework.TestCase; -$0 -endsnippet - -snippet im "import" b -import ${1:java}.${2:util}.$0; -endsnippet - -snippet in "interface" b -interface ${1:`!p snip.rv = snip.basename or "untitled"`} ${2:extends ${3:Parent} }{ - $0 -} -endsnippet - -snippet cc "constructor call or setter body" -this.${1:var} = $1; -endsnippet - -snippet list "Collections List" b -List<${1:String}> ${2:list} = new ${3:Array}List<$1>(); -endsnippet - -snippet map "Collections Map" b -Map<${1:String}, ${2:String}> ${3:map} = new ${4:Hash}Map<$1, $2>(); -endsnippet - -snippet set "Collections Set" b -Set<${1:String}> ${2:set} = new ${3:Hash}Set<$1>(); -endsnippet - -snippet /Str?|str/ "String" br -String $0 -endsnippet - -snippet cn "Constructor" b -public `!p snip.rv = snip.basename or "untitled"`(${1:}) { - $0 -} -endsnippet - -snippet cn "constructor, \w fields + assigments" b - `!p -args = getArgs(t[1]) -for i in args: - snip.rv += "\n\tprivate " + i[0] + " " + i[1]+ ";" -if len(args) > 0: - snip.rv += "\n"` -public `!p snip.rv = snip.basename or "unknown"`($1) { `!p -args = getArgs(t[1]) -for i in args: - snip.rv += "\n\t\tthis.%s = %s;" % (i[1], i[1]) -if len(args) == 0: - snip.rv += "\n"` -} -endsnippet - -snippet j.b "java_beans_" i -java.beans. -endsnippet - -snippet j.i "java_io" i -java.io. -endsnippet - -snippet j.m "java_math" i -java.math. -endsnippet - -snippet j.n "java_net_" i -java.net. -endsnippet - -snippet j.u "java_util_" i -java.util. -endsnippet - -snippet main "method (main)" b -public static void main(String[] args)`!p nl(snip)`{ - $0 -} -endsnippet - -snippet try "try/catch" b -try { - $1${VISUAL} -} catch(${2:Exception} ${3:e}){ - ${4:e.printStackTrace();} -} -endsnippet - -snippet mt "method throws" b -${1:private} ${2:void} ${3:method}(${4}) ${5:throws $6 }{ - $0 -} -endsnippet - -snippet m "method" b -${1:private} ${2:void} ${3:method}(${4}) { - $0 -} -endsnippet - -snippet md "Method With javadoc" b -/** - * ${7:Short Description}`!p -for i in getArgs(t[4]): - snip.rv += "\n\t * @param " + i[1] + " usage..."` - * `!p -if "throws" in t[5]: - snip.rv = "\n\t * @throws " + t[6] -else: - snip.rv = ""` `!p -if not "void" in t[2]: - snip.rv = "\n\t * @return object" -else: - snip.rv = ""` - **/ -${1:public} ${2:void} ${3:method}($4) ${5:throws $6 }{ - $0 -} -endsnippet - -snippet /get(ter)?/ "getter" br -public ${1:String} get${2:Name}() { - return `!p snip.rv = mixedCase(t[2])`; -} -endsnippet - -snippet /set(ter)?/ "setter" br -public void set${1:Name}(${2:String} `!p snip.rv = mixedCase(t[1])`) { - this.`!p snip.rv = mixedCase(t[1])` = `!p snip.rv = mixedCase(t[1])`; -} -endsnippet - -snippet /se?tge?t|ge?tse?t|gs/ "setter and getter" br -public void set${1:Name}(${2:String} `!p snip.rv = mixedCase(t[1])`) { - this.`!p snip.rv = mixedCase(t[1])` = `!p snip.rv = mixedCase(t[1])`; -} - -public $2 get$1() { - return `!p snip.rv = mixedCase(t[1])`; -} -endsnippet - -snippet pa "package" b -package $0 -endsnippet - -snippet p "print" b -System.out.print($1);$0 -endsnippet - -snippet pl "println" b -System.out.println($1);$0 -endsnippet - -snippet pr "private" b -private $0 -endsnippet - -snippet po "protected" b -protected $0 -endsnippet - -snippet pu "public" b -public $0 -endsnippet - -snippet re "return" b -return $0 -endsnippet - -snippet st "static" -static $0 -endsnippet - -snippet sw "switch" b -switch ($1)`!p nl(snip)`{ - case $2: $0 -} -endsnippet - -snippet sy "synchronized" -synchronized $0 -endsnippet - -snippet tc "test case" -public class ${1:`!p snip.rv = snip.basename or "untitled"`} extends ${2:TestCase}`!p nl(snip)`{ - $0 -} -endsnippet - -snippet t "test" b -`!p junit(snip)`public void test${1:Name}() { - $0 -} -endsnippet - -snippet tt "test throws" b -`!p junit(snip)`public void test${1:Name}() ${2:throws Exception }{ - $0 -} -endsnippet - -snippet th "throw" b -throw new $0 -endsnippet - -snippet wh "while" b -while ($1)`!p nl(snip)`{ - $0 -} -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/javascript.snippets b/bundle/vim-snippets/UltiSnips/javascript.snippets deleted file mode 100644 index 5889e059..00000000 --- a/bundle/vim-snippets/UltiSnips/javascript.snippets +++ /dev/null @@ -1,174 +0,0 @@ -priority -50 - -########################################################################### -# TextMate Snippets # -########################################################################### -snippet get "Get Elements" -getElement${1/(T)|.*/(?1:s)/}By${1:T}${1/(T)|(I)|.*/(?1:agName)(?2:d)/}('$2') -endsnippet - -snippet '':f "object method string" -'${1:${2:#thing}:${3:click}}': function(element) { - ${VISUAL}$0 -}${10:,} -endsnippet - -snippet :f "Object Method" -${1:method_name}: function(${3:attribute}) { - ${VISUAL}$0 -}${10:,} -endsnippet - -snippet :, "Object Value JS" -${1:value_name}: ${0:value}, -endsnippet - -snippet : "Object key key: 'value'" -${1:key}: ${2:"${3:value}"}${4:, } -endsnippet - -snippet proto "Prototype (proto)" -${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) { - ${VISUAL}$0 -}; - -endsnippet - -snippet for "for (...) {...} (counting up)" b -for (var ${1:i} = 0, ${2:len} = ${3:Things.length}; $1 < $2; $1++) { - ${VISUAL}$0 -} -endsnippet - -snippet ford "for (...) {...} (counting down, faster)" b -for (var ${2:i} = ${1:Things.length} - 1; $2 >= 0; $2--) { - ${VISUAL}$0 -} -endsnippet - -snippet fun "function (fun)" -function ${1:function_name}(${2:argument}) { - ${VISUAL}$0 -} -endsnippet - -snippet iife "Immediately-Invoked Function Expression (iife)" -(function (${1:argument}) { - ${VISUAL}$0 -}(${2:$1})); -endsnippet - -snippet ife "if ___ else" -if (${1:condition}) { - ${2://code} -} -else { - ${3://code} -} -endsnippet - -snippet if "if" -if (${1:condition}) { - ${VISUAL}$0 -} -endsnippet - -snippet timeout "setTimeout function" -setTimeout(function() { - ${VISUAL}$0 -}${2:.bind(${3:this})}, ${1:10}); -endsnippet - -snippet fi "for prop in obj using hasOwnProperty" b -for (${1:prop} in ${2:obj}){ - if ($2.hasOwnProperty($1)) { - ${VISUAL}$0 - } -} -endsnippet - -# Snippets for Console Debug Output - -snippet ca "console.assert" b -console.assert(${1:assertion}, ${2:"${3:message}"}); -endsnippet - -snippet cclear "console.clear" b -console.clear(); -endsnippet - -snippet cdir "console.dir" b -console.dir(${1:object}); -endsnippet - -snippet cdirx "console.dirxml" b -console.dirxml(${1:object}); -endsnippet - -snippet ce "console.error" b -console.error(${1:"${2:value}"}); -endsnippet - -snippet cgroup "console.group" b -console.group("${1:label}"); -${VISUAL}$0 -console.groupEnd(); -endsnippet - -snippet cgroupc "console.groupCollapsed" b -console.groupCollapsed("${1:label}"); -${VISUAL}$0 -console.groupEnd(); -endsnippet - -snippet ci "console.info" b -console.info(${1:"${2:value}"}); -endsnippet - -snippet cl "console.log" b -console.log(${1:"${2:value}"}); -endsnippet - -snippet cd "console.debug" b -console.debug(${1:"${2:value}"}); -endsnippet - -snippet cprof "console.profile" b -console.profile("${1:label}"); -${VISUAL}$0 -console.profileEnd(); -endsnippet - -snippet ctable "console.table" b -console.table(${1:"${2:value}"}); -endsnippet - -snippet ctime "console.time" b -console.time("${1:label}"); -${VISUAL}$0 -console.timeEnd("$1"); -endsnippet - -snippet ctimestamp "console.timeStamp" b -console.timeStamp("${1:label}"); -endsnippet - -snippet ctrace "console.trace" b -console.trace(); -endsnippet - -snippet cw "console.warn" b -console.warn(${1:"${2:value}"}); -endsnippet - -# AMD (Asynchronous Module Definition) snippets - -snippet def "define an AMD module" -define(${1:optional_name, }[${2:'jquery'}], ${3:callback}); -endsnippet - -snippet req "require an AMD module" -require([${1:'dependencies'}], ${2:callback}); -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/javascript_ember.snippets b/bundle/vim-snippets/UltiSnips/javascript_ember.snippets deleted file mode 100644 index 1b7e7b8d..00000000 --- a/bundle/vim-snippets/UltiSnips/javascript_ember.snippets +++ /dev/null @@ -1,90 +0,0 @@ -################################################################### -# Ember snippets # -################################################################### - -priority -50 - -# Application -snippet eapp "App.Name = Ember.Application.create({});" -${1:App.Name} = Ember.Application.create({}); -endsnippet - -# Models -snippet emod "App.ModelName = Ember.Model.extend({...});" -${1:model_name} = Ember.Model.extend({ - ${0://Properties here...} -}); -endsnippet - -# View -snippet eview "App.ViewName = Ember.Model.extend({...});" -${1:view_name} = Ember.View.extend({ - ${0://Properties here...} -}); -endsnippet - -# Controller -snippet econtroller "App.ControllerName = Ember.Model.extend({...});" -${1:controller_name} = Ember.ObjectController.extend({ - ${0://Properties here...} -}); -endsnippet - -# Route -snippet eroute "App.RouteName = Ember.Route.extend({...});" -${1:route_name} = Ember.Route.extend({ - ${0://Properties here...} -}); -endsnippet - -snippet eview "App.ViewName = Ember.Model.create({...});" -${1:view_name} = Ember.View.create({ - ${0://Properties here...} -}); -endsnippet - -# Object -snippet eobj "App.ObjectName = Ember.Object.extend({...});" -${1:object_name} = Ember.Object.create({ - ${0://Properties here...} -}); -endsnippet - -# Mixin -snippet emix "App.MixinName = Ember.Model.extend({...});" -${1:view_name} = Ember.Mixin.create({ - ${0://Properties here...} -}); -endsnippet - -# Ember getter and setter -snippet eget "this.get('property');" -${1:this}.get('${2:property}'); -endsnippet - -snippet eset "this.set('property', value);" -${1:this}.set('${2:property}', ${3:value}); -endsnippet - -# Computer properties -snippet cpro "property_name: function() {...}.property()," -${1:property_name}: function() { - ${0://body...} -}.property('${3:argumenet}'), -endsnippet - -snippet cpro ": function() {...}.property('property')," -${1:property_name}: function() { - ${0://body...} -}.property(), -endsnippet - - -# Observes -snippet proo "property_name: function() {...}.property()" -${1:property_name}: function() { - ${0://body...} -}.observes('${3:property}'), -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/javascript_jasmine.snippets b/bundle/vim-snippets/UltiSnips/javascript_jasmine.snippets deleted file mode 100644 index e392459f..00000000 --- a/bundle/vim-snippets/UltiSnips/javascript_jasmine.snippets +++ /dev/null @@ -1,171 +0,0 @@ -priority -50 - -# JavaScript versions -- from the TextMate bundle + some additions -# for jasmine-jquery matchers -# - -snippet des "Describe (js)" b -describe('${1:description}', function() { - $0 -}); -endsnippet - -snippet it "it (js)" b -it('${1:description}', function() { - $0 -}); -endsnippet - -snippet bef "before each (js)" b -beforeEach(function() { - $0 -}); -endsnippet - -snippet aft "after each (js)" b -afterEach(function() { - $0 -}); -endsnippet - -snippet any "any (js)" b -jasmine.any($1) -endsnippet - -snippet ru "runs (js)" b -runs(function() { - $0 -}); -endsnippet - -snippet wa "waits (js)" b -waits($1); -endsnippet - -snippet ex "expect (js)" b -expect(${1:target})$0; -endsnippet - -snippet ee "expect to equal (js)" b -expect(${1:target}).toEqual(${2:value}); -endsnippet - -snippet eb "expect to be (js)" b -expect(${1:target}).toBe(${2:value}); -endsnippet - -snippet em "expect to match (js)" b -expect(${1:target}).toMatch(${2:pattern}); -endsnippet - -snippet eha "expect to have attribute (js)" b -expect(${1:target}).toHaveAttr('${2:attr}'${3:, '${4:value}'}); -endsnippet - -snippet et "expect to be truthy (js)" b -expect(${1:target}).toBeTruthy(); -endsnippet - -snippet ef "expect to be falsy (js)" b -expect(${1:target}).toBeFalsy(); -endsnippet - -snippet ed "expect to be defined (js)" b -expect(${1:target}).toBeDefined(); -endsnippet - -snippet en "expect to be null (js)" b -expect(${1:target}).toBeNull(); -endsnippet - -snippet ec "expect to contain (js)" b -expect(${1:target}).toContain(${2:value}); -endsnippet - -snippet ev "expect to be visible (js)" b -expect(${1:target}).toBeVisible(); -endsnippet - -snippet eh "expect to be hidden (js)" b -expect(${1:target}).toBeHidden(); -endsnippet - -snippet notx "expect not (js)" b -expect(${1:target}).not$0; -endsnippet - -snippet note "expect not to equal (js)" b -expect(${1:target}).not.toEqual(${2:value}); -endsnippet - -snippet notm "expect not to match (js)" b -expect(${1:target}).not.toMatch(${2:pattern}); -endsnippet - -snippet notha "expect to not have attribute (js)" b -expect(${1:target}).not.toHaveAttr('${2:attr}'${3:, '${4:value}'}); -endsnippet - -snippet nott "expect not to be truthy (js)" b -expect(${1:target}).not.toBeTruthy(); -endsnippet - -snippet notf "expect not to be falsy (js)" b -expect(${1:target}).not.toBeFalsy(); -endsnippet - -snippet notd "expect not to be defined (js)" b -expect(${1:target}).not.toBeDefined(); -endsnippet - -snippet notn "expect not to be null (js)" b -expect(${1:target}).not.toBeNull(); -endsnippet - -snippet notc "expect not to contain (js)" b -expect(${1:target}).not.toContain(${2:value}); -endsnippet - -snippet notv "expect not to be visible (js)" b -expect(${1:target}).not.toBeVisible(); -endsnippet - -snippet noth "expect not to be hidden (js)" b -expect(${1:target}).not.toBeHidden(); -endsnippet - -snippet s "spy on (js)" b -spyOn(${1:object}, '${2:method}')$0; -endsnippet - -snippet sr "spy on and return (js)" b -spyOn(${1:object}, '${2:method}').andReturn(${3:arguments}); -endsnippet - -snippet st "spy on and throw (js)" b -spyOn(${1:object}, '${2:method}').andThrow(${3:exception}); -endsnippet - -snippet sct "spy on and call through (js)" b -spyOn(${1:object}, '${2:method}').andCallThrough(); -endsnippet - -snippet scf "spy on and call fake (js)" b -spyOn(${1:object}, '${2:method}').andCallFake(${3:function}); -endsnippet - -snippet esc "expect was called (js)" b -expect(${1:target}).wasCalled(); -endsnippet - -snippet escw "expect was called with (js)" b -expect(${1:target}).wasCalledWith(${2:arguments}); -endsnippet - -snippet notsc "expect was not called (js)" b -expect(${1:target}).wasNotCalled(); -endsnippet - -snippet noscw "expect was not called with (js)" b -expect(${1:target}).wasNotCalledWith(${2:arguments}); -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/javascript_jsdoc.snippets b/bundle/vim-snippets/UltiSnips/javascript_jsdoc.snippets deleted file mode 100644 index ca943fc7..00000000 --- a/bundle/vim-snippets/UltiSnips/javascript_jsdoc.snippets +++ /dev/null @@ -1,51 +0,0 @@ -priority -50 - -# JSDoc snippets - -snippet /* "A JSDoc comment" b -/** - * ${1:${VISUAL}}$0 - */ -endsnippet - -snippet @au "@author email (First Last)" -@author ${1:`!v g:snips_author_email`} (${2:`!v g:snips_author`}) -endsnippet - -snippet @li "@license Description" -@license ${1:MIT}$0 -endsnippet - -snippet @ver "@version Semantic version" -@version ${1:0.1.0}$0 -endsnippet - -snippet @fileo "@fileoverview Description" b -/** - * @fileoverview ${1:${VISUAL:A description of the file}}$0 - */ -endsnippet - -snippet @constr "@constructor" -@constructor -endsnippet - -snippet @p "@param {Type} varname Description" -@param {${1:Type}} ${2:varname} ${3:Description} -endsnippet - -snippet @ret "@return {Type} Description" -@return {${1:Type}} ${2:Description} -endsnippet - -snippet @pri "@private" -@private -endsnippet - -snippet @over "@override" -@override -endsnippet - -snippet @pro "@protected" -@protected -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/jinja2.snippets b/bundle/vim-snippets/UltiSnips/jinja2.snippets deleted file mode 100644 index ded01dcf..00000000 --- a/bundle/vim-snippets/UltiSnips/jinja2.snippets +++ /dev/null @@ -1,209 +0,0 @@ -priority -50 - -# http://jinja.pocoo.org/ - -# jinja2 is a full featured template engine for Python. It has full -# unicode support, an optional integrated sandboxed execution -# environment, widely used and BSD licensed. - -# possible extends: -#extends html - - -snippet block "block" b -{% block ${1:name} %} - $2 -{% endblock $1 %} -endsnippet - - -snippet {{ "variable" b -{{ $1 }} -endsnippet - - -snippet {# "comment" b -{# $1 #} -endsnippet - - -snippet # "comment" b -{# $1 #} -endsnippet - - -snippet raw "escaped block" b -{% raw %} - $1 -{% endraw %} -endsnippet - - -snippet extends "extends" b -{% extends "${1:template}" %} -endsnippet - - -snippet include "include" b -{% include "${1:template}" %} -endsnippet - - -snippet import "import" b -{% import "${1:template}" %} -endsnippet - - -snippet from "from/import/as" b -{% from "${1:template}" import ${2:name}${3: as ${4:$2}} %} -endsnippet - - -snippet filter "filter" b -{% filter ${1:filter} %} - $2 -{% endfilter %} -endsnippet - - -# Being able to quickly remove the whole 'else' block seems faster to me than -# choosing between 'for' and 'for/else' snippets from the menu. -# snippet for "for" b -# {% for ${1:item} in ${2:sequence} %} -# $3${4: -# {% else %} -# $5} -# {% endfor %} -# endsnippet - - -snippet for "for" b -{% for ${1:item} in ${2:sequence} %} - $3 -{% endfor %} -endsnippet - - -snippet for "for/else" b -{% for ${1:item} in ${2:sequence} %} - $3 -{% else %} - $4 -{% endfor %} -endsnippet - - -snippet if "if" b -{% if ${1:expr} %} - $2 -{% endif %} -endsnippet - - -snippet if "if/else" b -{% if ${1:expr} %} - $2 -{% else %} - $3 -{% endif %} -endsnippet - - -snippet if "if/elif/else" b -{% if ${1:expr} %} - $2 -{% elif %} - $3 -{% else %} - $4 -{% endif %} -endsnippet - - -snippet macro "macro" b -{% macro ${1:name}(${2:args}) %} - $3 -{% endmacro %} -endsnippet - - -snippet call "call" b -{% call ${1:name}(${2:args}) %} - $3 -{% endcall %} -endsnippet - - -snippet set "set" b -{% set ${1:name} = ${2:'value'} %} -endsnippet - - -snippet trans "translation" b -{% trans %} - $1 -{% endtrans %} -endsnippet - - -snippet with "with" b -{% with %} - $1 -{% endwith %} -endsnippet - -snippet autoescape "autoescape" b -{% autoescape ${1:true} %} - $2 -{% endautoescape %} -endsnippet - -# Filters -# @todo: expand only when snippet is preceeded by a | - -snippet batch "batch items" w -batch(linecount=$1, fill_with=${2:None}) -endsnippet - - -snippet dictsort "sort and yield (key, value) pairs" w -dictsort(case_sensitive=${1:False}, by=${2:'key'}) -endsnippet - - -snippet round "round number" w -round(precision=${1:0}, method=${2:'common|ceil|floor'}) -endsnippet - - -snippet urlize "convert plain-text url to " w -urlize(trim_url_limit=${1:None}, nofollow=${2:False}) -endsnippet - - -snippet wordwrap "wordwrap" w -wordwrap(width=${1:79}, break_long_words=${2:True}) -endsnippet - - -snippet truncate "truncate" w -truncate(lenght=${1:79}, killwords=${2:False}, end=${3:'...''}) -endsnippet - - -snippet sum "sum of sequence of numbers + start" w -sum(attribute=${1:None}, start=${2:0}) -endsnippet - - -snippet sort "sort an iterable" w -sort(reverse=${1:False}, case_sensitive=${2:False}, attribute=${3:None}) -endsnippet - - -snippet indent "indent" w -indent(width=${1:4}, indentfirst=${2:False}) -endsnippet - - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/json.snippets b/bundle/vim-snippets/UltiSnips/json.snippets deleted file mode 100644 index b0cad830..00000000 --- a/bundle/vim-snippets/UltiSnips/json.snippets +++ /dev/null @@ -1,20 +0,0 @@ -priority -50 - -snippet s "String" b -"${1:key}": "${0:value}", -endsnippet - -snippet n "number" b -"${1:key}": ${0:value}, -endsnippet - -snippet a "Array" b -[ - ${VISUAL}$0 -], -endsnippet -snippet o "Object" b -{ - ${VISUAL}$0 -}, -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/ledger.snippets b/bundle/vim-snippets/UltiSnips/ledger.snippets deleted file mode 100644 index 7d7a84da..00000000 --- a/bundle/vim-snippets/UltiSnips/ledger.snippets +++ /dev/null @@ -1,7 +0,0 @@ -priority -50 - -snippet t "Transaction" b -${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:*} ${5:Payee} - ${6:Expenses} \$${7:0.00} - ${8:Assets:Checking}$0 -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/lhaskell.snippets b/bundle/vim-snippets/UltiSnips/lhaskell.snippets deleted file mode 100644 index 29169a55..00000000 --- a/bundle/vim-snippets/UltiSnips/lhaskell.snippets +++ /dev/null @@ -1,3 +0,0 @@ -priority -50 - -extends haskell diff --git a/bundle/vim-snippets/UltiSnips/lua.snippets b/bundle/vim-snippets/UltiSnips/lua.snippets deleted file mode 100644 index bc59c60c..00000000 --- a/bundle/vim-snippets/UltiSnips/lua.snippets +++ /dev/null @@ -1,39 +0,0 @@ -priority -50 - -################################# -# Snippets for the Lua language # -################################# -snippet #! "Shebang header" b -#!/usr/bin/env lua -$0 -endsnippet - -snippet !fun(ction)?! "New function" br -function ${1:new_function}(${2:args}) - $0 -end -endsnippet - -snippet forp "pair for loop" b -for ${1:name},${2:val} in pairs(${3:table_name}) do - $0 -end -endsnippet - -snippet fori "ipair for foop" b -for ${1:idx},${2:val} in ipairs(${3:table_name}) do - $0 -end -endsnippet - -snippet for "numeric for loop" b -for ${1:i}=${2:first},${3:last}${4/^..*/(?0:,:)/}${4:step} do - $0 -end -endsnippet - -snippet local "local x = 1" -local ${1:x} = ${0:1} -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/mako.snippets b/bundle/vim-snippets/UltiSnips/mako.snippets deleted file mode 100644 index fb31ec84..00000000 --- a/bundle/vim-snippets/UltiSnips/mako.snippets +++ /dev/null @@ -1,92 +0,0 @@ -priority -50 - -################# -# From snipmate # -################# -snippet def "definition" b -<%def name="${1:name}"> - ${2:} - -endsnippet - -snippet call "call" b -<%call expr="${1:name}"> - ${2:} - -endsnippet - -snippet doc "doc" b -<%doc> - ${1:} - -endsnippet - -snippet text "text" b -<%text> - ${1:} - -endsnippet - -snippet for "for" b -% for ${1:i} in ${2:iter}: - ${3:} -% endfor -endsnippet - -snippet if "if " b -% if ${1:condition}: - ${2:} -% endif -endsnippet - -snippet if "if/else" b -% if ${1:condition}: - ${2:} -% else: - ${3:} -% endif -endsnippet - -snippet try "try" b -% try: - ${1:} -% except${2:}: - ${3:pass} -% endtry -endsnippet - -snippet wh "wh" b -% while ${1:}: - ${2:} -% endwhile -endsnippet - -snippet $ "$" i -${${1:}} -endsnippet - -snippet <% "<%" b -<% ${1:} %> -endsnippet - -snippet -endsnippet - -snippet inherit "inherit" b -<%inherit file="${1:filename}" /> -endsnippet - -snippet include "include" b -<%include file="${1:filename}" /> -endsnippet - -snippet namespace "namespace" b -<%namespace file="${1:name}" /> -endsnippet - -snippet page "page" b -<%page args="${1:}" /> -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/markdown.snippets b/bundle/vim-snippets/UltiSnips/markdown.snippets deleted file mode 100644 index 0720cbfc..00000000 --- a/bundle/vim-snippets/UltiSnips/markdown.snippets +++ /dev/null @@ -1,53 +0,0 @@ -priority -50 - -########################### -# Sections and Paragraphs # -########################### -snippet sec "Section" b -# ${1:Section Name} # -$0 -endsnippet - -snippet ssec "Sub Section" b -## ${1:Section Name} ## -$0 -endsnippet - -snippet sssec "SubSub Section" b -### ${1:Section Name} ### -$0 -endsnippet - -snippet par "Paragraph" b -#### ${1:Paragraph Name} #### -$0 -endsnippet - -snippet spar "Paragraph" b -##### ${1:Paragraph Name} ##### -$0 -endsnippet - -################ -# Common stuff # -################ -snippet link "Link to something" -[${1:${VISUAL:Text}}](${3:http://${2:www.url.com}})$0 -endsnippet - -snippet img "Image" -![${1:pic alt}](${2:path}${3/.+/ "/}${3:opt title}${3/.+/"/})$0 -endsnippet - -snippet ilc "Inline Code" i -\`$1\`$0 -endsnippet - -snippet cbl "Codeblock" b -\`\`\` -$1 -\`\`\` -$0 -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/objc.snippets b/bundle/vim-snippets/UltiSnips/objc.snippets deleted file mode 100644 index 45e41fc1..00000000 --- a/bundle/vim-snippets/UltiSnips/objc.snippets +++ /dev/null @@ -1,272 +0,0 @@ -priority -50 - -########################################################################### -# TextMate Snippets # -########################################################################### - -snippet imp "#import (imp)" b -#import "${1:`!p snip.rv = re.sub(r'\..*$', '.h', fn)`}" -endsnippet - -snippet Imp "#import <> (Imp)" -#import <${1:Cocoa/Cocoa.h}> -endsnippet - -snippet cl "020 Class (objc)" -@interface ${1:`!p -if len(fn): - snip.rv = re.sub(r'\..*$', '', fn) -else: - snip.rv = "object" -`} : ${2:NSObject} -{ -} -@end - -@implementation $1 -- (id)init -{ - if((self = [super init])) - {$0 - } - return self; -} -@end -endsnippet - -snippet array "NSArray (array)" -NSMutableArray *${1:array} = [NSMutableArray array]; -endsnippet - -snippet dict "NSDictionary (dict)" -NSMutableDictionary *${1:dict} = [NSMutableDictionary dictionary]; -endsnippet - -snippet forarray "for NSArray loop (forarray)" -unsigned int ${1:object}Count = [${2:array} count]; - -for(unsigned int index = 0; index < $1Count; index += 1) -{ - ${3:id} $1 = [$2 objectAtIndex:index]; - $0 -} -endsnippet - -snippet objacc "Object Accessors (objacc)" -- (${1:id})${2:thing} -{ - return $2; -} - -- (void)set${2/./\u$0/}:($1)aValue -{ - $0${1/( \*)?$/(?1:$1: )/}old${2/./\u$0/} = $2; - $2 = [aValue retain]; - [old${2/./\u$0/} release]; -} -endsnippet - -snippet sel "@selector" -@selector(${1:method}:) -endsnippet - -snippet cdacc "CoreData Accessors Implementation" -- (${1:id})${2:attribute} -{ - [self willAccessValueForKey:@"$2"]; - $1 value = [self primitiveValueForKey:@"$2"]; - [self didAccessValueForKey:@"$2"]; - return value; -} - -- (void)set${2/./\u$0/}:($1)aValue -{ - [self willChangeValueForKey:@"$2"]; - [self setPrimitiveValue:aValue forKey:@"$2"]; - [self didChangeValueForKey:@"$2"]; -} -endsnippet - -snippet delegate "Delegate Responds to Selector" -if([${1:[self delegate]} respondsToSelector:@selector(${2:selfDidSomething:})]) - [$1 ${3:${2/((^\s*([A-Za-z0-9_]*:)\s*)|(:\s*$)|(:\s*))/(?2:$2self :\:<>)(?4::)(?5: :)/g}}]; - -endsnippet - -snippet thread "Detach New NSThread" -[NSThread detachNewThreadSelector:@selector(${1:method}:) toTarget:${2:aTarget} withObject:${3:anArgument}] -endsnippet - -snippet ibo "IBOutlet (ibo)" -IBOutlet ${1:NSSomeClass} *${2:${1/^[A-Z](?:[A-Z]+|[a-z]+)([A-Z]\w*)/\l$1/}}; -endsnippet - -snippet I "Initialize Implementation (I)" -+ (void)initialize -{ - [[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys: - $0@"value", @"key", - nil]]; -} -endsnippet - -snippet bind "Key:value binding (bind)" -bind:@"${1:binding}" toObject:${2:observableController} withKeyPath:@"${3:keyPath}" options:${4:nil} -endsnippet - -snippet arracc "LoD array (arracc)" -- (void)addObjectTo${1:Things}:(${2:id})anObject -{ - [${3:${1/./\l$0/}} addObject:anObject]; -} - -- (void)insertObject:($2)anObject in$1AtIndex:(unsigned int)i -{ - [$3 insertObject:anObject atIndex:i]; -} - -- ($2)objectIn$1AtIndex:(unsigned int)i -{ - return [$3 objectAtIndex:i]; -} - -- (unsigned int)indexOfObjectIn$1:($2)anObject -{ - return [$3 indexOfObject:anObject]; -} - -- (void)removeObjectFrom$1AtIndex:(unsigned int)i -{ - [$3 removeObjectAtIndex:i]; -} - -- (unsigned int)countOf$1 -{ - return [$3 count]; -} - -- (NSArray *${1/./\l$0/} -{ - return $3; -} - -- (void)set$1:(NSArray *)new$1 -{ - [$3 setArray:new$1]; -} -endsnippet - -snippet arracc "LoD array interface (arracc)" -- (void)addObjectTo${1:Things}:(${2:id})anObject; -- (void)insertObject:($2)anObject in$1AtIndex:(unsigned int)i; -- ($2)objectIn$1AtIndex:(unsigned int)i; -- (unsigned int)indexOfObjectIn$1:($2)anObject; -- (void)removeObjectFrom$1AtIndex:(unsigned int)i; -- (unsigned int)countOf$1; -- (NSArray *)${1/./\l$0/}; -- (void)set$1:(NSArray *)new$1; -endsnippet - -snippet focus "Lock Focus" -[self lockFocus]; -$0 -[self unlockFocus]; -endsnippet - -snippet pool "NSAutoreleasePool (pool)" -NSAutoreleasePool *pool = [NSAutoreleasePool new]; -$0 -[pool drain]; -endsnippet - -snippet log "NSLog (log) 2" -NSLog(@"$1"${1/[^%]*(%)?.*/(?1:, :\);)/}$2${1/[^%]*(%)?.*/(?1:\);)/} -endsnippet - -snippet alert "NSRunAlertPanel (alert)" -int choice = NSRunAlertPanel(@"${1:Something important!}", @"${2:Something important just happend, and now I need to ask you, do you want to continue?}", @"${3:Continue}", @"${4:Cancel}", nil); -if(choice == NSAlertDefaultReturn) // "$3" -{ - $0; -} -else if(choice == NSAlertAlternateReturn) // "$4" -{ - $0 -} -endsnippet - -snippet format "NSString stringWithFormat (format)" -[NSString stringWithFormat:@"$1", $2]$0 -endsnippet - -snippet objacc "Object Accessors Interface (objacc)" -- (${1:id})${2:thing}; -- (void)set${2/./\u$0/}:($1)aValue; -endsnippet - -snippet prop "Property" -@property (${1/^(e)$|.*/(?1:r)/}${1:r}${1/^(?:(r)|(e)|(c)|(a))$|.*/(?1:etain)(?2:adonly)(?3:opy)(?4:ssign)/}) ${2:NSSomeClass}$ *${3:${2/^[A-Z](?:[A-Z]+|[a-z]+)([A-Z]\w*)/\l$1/}}; -endsnippet - -snippet getprefs "Read from defaults (getprefs)" -[[NSUserDefaults standardUserDefaults] objectForKey:${1:key}]; -endsnippet - -snippet obs "Register for Notification" -[[NSNotificationCenter defaultCenter] addObserver:${1:self} selector:@selector(${3:${2/^([A-Z]{2})?(.+?)(Notification)?$/\l$2/}}:) name:${2:NSWindowDidBecomeMainNotification} object:${4:nil}]; -endsnippet - -snippet responds "Responds to Selector" -if ([${1:self} respondsToSelector:@selector(${2:someSelector:})]) -{ - [$1 ${3:${2/((:\s*$)|(:\s*))/:<>(?3: )/g}}]; -} -endsnippet - -snippet gsave "Save and Restore Graphics Context (gsave)" -[NSGraphicsContext saveGraphicsState]; -$0 -[NSGraphicsContext restoreGraphicsState]; - -endsnippet - -snippet acc "Scalar Accessors (acc)" -- (${1:unsigned int})${2:thing} -{ - return ${3:$2}; -} - -- (void)set${2/./\u$0/}:(${1:unsigned int})new${2/./\u$0/} -{ - $3 = new${2/./\u$0/}; -} -endsnippet - -snippet acc "Scalar Accessors Interface (acc)" -- (${1:unsigned int})${2:thing}; -- (void)set${2/./\u$0/}:($1)new${2/./\u$0/}; -endsnippet - -snippet stracc "String Accessors (stracc)" -- (NSString *)${1:thing} -{ - return ${2:$1}; -} - -- (void)set${1/.*/\u$0/}:(NSString *)/})${3:a${1/.*/\u$0/}} -{ - $3 = [$3 copy]; - [$2 release]; - $2 = $3; -} -endsnippet - -snippet syn "Synthesize" -@synthesize ${1:property}; -endsnippet - -snippet setprefs "Write to defaults (setprefs)" -[[NSUserDefaults standardUserDefaults] setObject:${1:object} forKey:${2:key}]; -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/ocaml.snippets b/bundle/vim-snippets/UltiSnips/ocaml.snippets deleted file mode 100644 index 1ebc3477..00000000 --- a/bundle/vim-snippets/UltiSnips/ocaml.snippets +++ /dev/null @@ -1,174 +0,0 @@ -priority -50 - -snippet rs "raise" b -raise (${1:Not_found}) -endsnippet - -snippet open "open" -let open ${1:module} in -${2:e} -endsnippet - -snippet try "try" -try ${1:e} -with ${2:Not_found} -> ${3:()} -endsnippet - -snippet ref "ref" -let ${1:name} = ref ${2:val} in -${3:e} -endsnippet - -snippet matchl "pattern match on a list" -match ${1:list} with -| [] -> ${2:()} -| x::xs -> ${3:()} -endsnippet - -snippet matcho "pattern match on an option type" -match ${1:x} with -| Some(${2:y}) -> ${3:()} -| None -> ${4:()} -endsnippet - -snippet fun "anonymous function" -(fun ${1:x} -> ${2:x}) -endsnippet - -snippet cc "commment" -(* ${1:comment} *) -endsnippet - -snippet let "let .. in binding" -let ${1:x} = ${2:v} in -${3:e} -endsnippet - -snippet lr "let rec" -let rec ${1:f} = - ${2:expr} -endsnippet - -snippet if "if" -if ${1:(* condition *)} then - ${2:(* A *)} -else - ${3:(* B *)} -endsnippet - -snippet If "If" -if ${1:(* condition *)} then - ${2:(* A *)} -endsnippet - -snippet while "while" -while ${1:(* condition *)} do - ${2:(* A *)} -done -endsnippet - -snippet for "for" -for ${1:i} = ${2:1} to ${3:10} do - ${4:(* BODY *)} -done -endsnippet - -snippet match "match" -match ${1:(* e1 *)} with -| ${2:p} -> ${3:e2} -endsnippet - -snippet Match "match" -match ${1:(* e1 *)} with -| ${2:p} -> ${3:e2} -endsnippet - -snippet class "class" -class ${1:name} = object - ${2:methods} -end -endsnippet - -snippet obj "obj" -object - ${2:methods} -end -endsnippet - -snippet Obj "object" -object (self) - ${2:methods} -end -endsnippet - -snippet {{ "object functional update" -{< ${1:x} = ${2:y} >} -endsnippet - -snippet beg "beg" -begin - ${1:block} -end -endsnippet - -snippet ml "module instantiantion with functor" -module ${1:Mod} = ${2:Functor}(${3:Arg}) -endsnippet - -snippet mod "module - no signature" -module ${1:(* Name *)} = struct - ${2:(* BODY *)} -end -endsnippet - -snippet Mod "module with signature" -module ${1:(* Name *)} : ${2:(* SIG *)} = struct - ${3:(* BODY *)} -end -endsnippet - -snippet sig "anonymous signature" -sig - ${2:(* BODY *)} -end -endsnippet - -snippet sigf "functor signature or anonymous functor" -functor (${1:Arg} : ${2:ARG}) -> ${3:(* BODY *)} -endsnippet - -snippet func "define functor - no signature" -module ${1:M} (${2:Arg} : ${3:ARG}) = struct - ${4:(* BODY *)} -end -endsnippet - -snippet Func "define functor - with signature" -module ${1:M} (${2:Arg} : ${3:ARG}) : ${4:SIG} = struct - ${5:(* BODY *)} -end -endsnippet - -snippet mot "Declare module signature" -module type ${1:(* Name *)} = sig - ${2:(* BODY *)} -end -endsnippet - -snippet module "Module with anonymous signature" -module ${1:(* Name *)} : sig - ${2:(* SIGNATURE *)} -end = struct - ${3:(* BODY *)} -end -endsnippet - -snippet oo "odoc" -(** ${1:odoc} *) -endsnippet - -snippet qt "inline qtest" -(*$T ${1:name} - ${2:test} -*) -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/perl.snippets b/bundle/vim-snippets/UltiSnips/perl.snippets deleted file mode 100644 index 67c7f278..00000000 --- a/bundle/vim-snippets/UltiSnips/perl.snippets +++ /dev/null @@ -1,139 +0,0 @@ -priority -50 - -########################################################################### -# TextMate Snippets # -########################################################################### -snippet ife "Conditional if..else (ife)" -if ($1) { - ${2:# body...} -} -else { - ${3:# else...} -} - -endsnippet - -snippet ifee "Conditional if..elsif..else (ifee)" -if ($1) { - ${2:# body...} -} -elsif ($3) { - ${4:# elsif...} -} -else { - ${5:# else...} -} - -endsnippet - -snippet xunless "Conditional one-line (unless)" -${1:expression} unless ${2:condition}; - -endsnippet - -snippet xif "Conditional one-line (xif)" -${1:expression} if ${2:condition}; - -endsnippet - -snippet sub "Function (sub)" -sub ${1:function_name} { - ${2:# body...} -} - -endsnippet - -snippet xfore "Loop one-line (xforeach)" -${1:expression} foreach @${2:array}; - -endsnippet - -snippet xwhile "Loop one-line (xwhile)" -${1:expression} while ${2:condition}; - -endsnippet - -snippet test "Test" -#!/usr/bin/env perl -w - -use strict; -use Test::More tests => ${1:1}; -use ${2:ModuleName}; - -ok(${3:assertion}); - -endsnippet - -snippet class "class" -package ${1:ClassName}; - -${2:use parent qw(${3:ParentClass});}${2/.+/\n\n/}sub new { - my $class = shift; - $class = ref $class if ref $class; - my $self = bless {}, $class; - $self; -} - -1; - -endsnippet - -snippet eval "eval" -local $@; -eval { - ${1:# do something risky...} -}; -if (my $${2:exception} = $@) { - ${3:# handle failure...} -} - -endsnippet - -snippet for "for" -for (my $${1:var} = 0; $$1 < ${2:expression}; $$1++) { - ${3:# body...} -} - -endsnippet - -snippet fore "foreach" -foreach ${1:my $${2:x}} (@${3:array}) { - ${4:# body...} -} - -endsnippet - -snippet if "if" -if ($1) { - ${2:# body...} -} - -endsnippet - -snippet slurp "slurp" -my $${1:var} = do { local $/ = undef; open my $fh, '<', ${2:$file}; <$fh> }; - -endsnippet - -snippet unless "unless" -unless ($1) { - ${2:# body...} -} - -endsnippet - -snippet while "while" -while ($1) { - ${2:# body...} -} - -endsnippet - -snippet until "until" -until ($1) { - ${2:# body...} -} - -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/php.snippets b/bundle/vim-snippets/UltiSnips/php.snippets deleted file mode 100644 index bf450ff0..00000000 --- a/bundle/vim-snippets/UltiSnips/php.snippets +++ /dev/null @@ -1,270 +0,0 @@ -priority -50 - -## Snippets from SnipMate, taken from -## https://github.com/scrooloose/snipmate-snippets.git - -snippet array "array" -$${1:arrayName} = array('${2}' => ${3});${4} -endsnippet - -snippet def "def" -define('${1}'${2});${3} -endsnippet - -snippet do "do" -do { - ${2:// code... } -} while (${1:/* condition */}); -endsnippet - -snippet doc_f "doc_f" -/** - * $2 - * @return ${4:void} - * @author ${5:`!v g:snips_author`} - **/ -${1:public }function ${2:someFunc}(${3}) -{${6} -} -endsnippet - -snippet doc_i "doc_i" -/** - * $1 - * @package ${2:default} - * @author ${3:`!v g:snips_author`} - **/ -interface ${1:someClass} -{${4} -} // END interface $1" -endsnippet - -snippet else "else" -else { - ${1:// code...} -} -endsnippet - -snippet for "for" -for ($${2:i} = 0; $$2 < ${1:count}; $$2${3:++}) { - ${4:// code...} -} -endsnippet - -snippet foreachk "foreachk" -foreach ($${1:variable} as $${2:key} => $${3:value}){ - ${4:// code...} -} -endsnippet - -snippet get "get" -$_GET['${1}']${2} -endsnippet - -snippet if "if" -if (${1:/* condition */}) { - ${2:// code...} -} -endsnippet - -snippet elif "elseif" -elseif (${1:/* condition */}) { - ${2:// code...} -} -endsnippet - -snippet inc "inc" -include '${1:file}';${2} -endsnippet - -snippet log "log" -error_log(var_export(${1}, true));${2} -endsnippet - -snippet post "post" -$_POST['${1}']${2} -endsnippet - -snippet req1 "req1" -require_once '${1:file}';${2} -endsnippet - -snippet session "session" -$_SESSION['${1}']${2} -endsnippet - -snippet t "t" -$${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b};${5} -endsnippet - -snippet var "var" -var_export(${1});${2} -endsnippet - -snippet getter "PHP Class Getter" b -/* - * Getter for $1 - */ -public function get${1/\w+\s*/\u$0/}() -{ - return $this->$1;$2 -} -$4 -endsnippet - -snippet setter "PHP Class Setter" b -/* - * Setter for $1 - */ -public function set${1/\w+\s*/\u$0/}($$1) -{ - $this->$1 = $$1;$3 - ${4:return $this;} -} -$0 -endsnippet - -snippet gs "PHP Class Getter Setter" b -/* - * Getter for $1 - */ -public function get${1/\w+\s*/\u$0/}() -{ - return $this->$1;$2 -} - -/* - * Setter for $1 - */ -public function set${1/\w+\s*/\u$0/}($$1) -{ - $this->$1 = $$1;$3 - ${4:return $this;} -} -$0 -endsnippet - -snippet pub "Public function" b -public function ${1:name}(${2:$param}) -{ - ${VISUAL}${3:return null;} -} -$0 -endsnippet - -snippet pro "Protected function" b -protected function ${1:name}(${2:$param}) -{ - ${VISUAL}${3:return null;} -} -$0 -endsnippet - -snippet pri "Private function" b -private function ${1:name}(${2:$param}) -{ - ${VISUAL}${3:return null;} -} -$0 -endsnippet - -snippet pubs "Public static function" b -public static function ${1:name}(${2:$param}) -{ - ${VISUAL}${3:return null;} -} -$0 -endsnippet - -snippet pros "Protected static function" b -protected static function ${1:name}(${2:$param}) -{ - ${VISUAL}${3:return null;} -} -$0 -endsnippet - -snippet pris "Private static function" b -private static function ${1:name}(${2:$param}) -{ - ${VISUAL}${3:return null;} -} -$0 -endsnippet - -snippet fu "Function snip" b -function ${1:name}(${2:$param}) -{ - ${VISUAL}${3:return null;} -} -$0 -endsnippet - -snippet fore "Foreach loop" -foreach ($${1:variable} as $${3:value}){ - ${VISUAL}${4} -} -$0 -endsnippet - -snippet new "New class instance" b -$$1 = new $1($2); -$0 -endsnippet - -snippet ife "if else" -if (${1:/* condition */}) { - ${2:// code...} -} else { - ${3:// code...} -} -$0 -endsnippet - -snippet class "Class declaration template" b -/** - * Class ${1:`!p snip.rv=snip.fn.split('.')[0]`} - * @author ${2:`!v g:snips_author`} - */ -class $1 -{ - public function ${3:__construct}(${4:$options}) - { - ${5:// code} - } -} -$0 -endsnippet - -snippet construct "__construct()" b -/** - * @param $2mixed ${1/, /\n * \@param mixed /g} - */ -public function __construct(${1:$dependencies}) -{${1/\$(\w+)(, )*/\n $this->$1 = $$1;/g} -} -$0 -endsnippet - -snippet ve "Dumb debug helper in HTML" - echo '
    ' . var_export($1, 1) . '
    ';$0 -endsnippet - -snippet pc "Dumb debug helper in cli" -var_export($1);$0 -endsnippet - -# Symfony 2 based snippets -snippet sfa "Symfony 2 Controller action" -/** -* @Route("/${1:route_name}", name="$1") -* @Template() -*/ -public function $1Action($2) -{ - $3 - return ${4:array();}$0 -} -endsnippet - -# :vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/php_phpunit.snippets b/bundle/vim-snippets/UltiSnips/php_phpunit.snippets deleted file mode 100644 index 1a310a19..00000000 --- a/bundle/vim-snippets/UltiSnips/php_phpunit.snippets +++ /dev/null @@ -1,32 +0,0 @@ -# suggestion? report bugs? -# please go to https://github.com/chrisyue/vim-snippets/issues -priority -50 - -snippet test "phpunit test class" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -/** - * @author `whoami` - */ -class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -` extends \PHPUnit_Framework_TestCase -{ - public function test${1}() - { - ${2} - } -} -endsnippet - -snippet exp "phpunit expects" i -expects($this->${1:once}()) - ->method('${2}') - ->with($this->equalTo(${3})${4}) - ->will($this->returnValue(${5})); -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/php_symfony2.snippets b/bundle/vim-snippets/UltiSnips/php_symfony2.snippets deleted file mode 100644 index 55423e71..00000000 --- a/bundle/vim-snippets/UltiSnips/php_symfony2.snippets +++ /dev/null @@ -1,283 +0,0 @@ -# sugguestion? report bugs? -# go to https://github.com/chrisyue/vim-snippets/issues - -priority -50 - -snippet classn "Basic class with namespace snippet" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -/** - * ${1:@author `whoami`} - */ -class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -`$2 -{ - public function __construct(${3:$options}) - { - ${4:// code} - }$0 -} -endsnippet - -snippet contr "Symfony2 controller" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; -use Symfony\Component\HttpFoundation\Request; - -/** - * ${1:@author `whoami`} - */ -class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -` extends Controller -{ -} -endsnippet - -snippet act "Symfony2 action" b -/** - * @Route("${3}", name="${4}") - * @Method({${5:"POST"}}) - * @Template() - */ -public function ${1}Action(${2}) -{ - ${6} -} -endsnippet - -snippet actt "Symfony2 action and template" b -/** - * @Route("${3}", name="${4}") - * @Method({${5:"GET"}}) - * @Template() - */ -public function ${1}Action(${2}) -{ - ${6} - return []; -}`!p -abspath = os.path.abspath(path)` -endsnippet - -snippet comm "Symfony2 command" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; -use Symfony\Component\Console\Input\InputArgument; -use Symfony\Component\Console\Input\InputOption; -use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Output\OutputInterface; - -/** - * ${3:@author `whoami`} - */ -class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -` extends ContainerAwareCommand -{ - protected function configure() - { - $this->setName('${1}') - ->setDescription('${2}') - ->setDefinition([ - new InputArgument('', InputArgument::REQUIRED, ''), - new InputOption('', null, InputOption::VALUE_NONE, ''), - ]); - } - - protected function execute(InputInterface $input, OutputInterface $output) - { - } -} -endsnippet - -snippet subs "Symfony2 subscriber" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -use Symfony\Component\EventDispatcher\EventSubscriberInterface; - -/** - * ${1:@author `whoami`} - */ -class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -` implements EventSubscriberInterface -{ - public function __construct() - { - } - - /** - * {@inheritDoc} - */ - public static function getSubscribedEvents() - { - return []; - } -} -endsnippet - -snippet transf "Symfony2 form data transformer" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -use Symfony\Component\Form\DataTransformerInterface; -use Symfony\Component\Form\Exception\TransformationFailedException; - -/** - * ${3:@author `whoami`} - */ -class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -` implements DataTransformerInterface -{ - /** - * {@inheritDoc} - */ - public function transform(${1}) - { - } - - /** - * {@inheritDoc} - */ - public function reverseTransform(${2}) - { - } -} -endsnippet - -snippet ent "Symfony2 doctrine entity" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -use Doctrine\ORM\Mapping as ORM; - -/** - * ${3:@author `whoami`} - * - * @ORM\Entity() - * @ORM\Table(name="`!p -tmp = re.match(r'.*(?=\.)', fn).group() -tmp = re.sub(r'\B([A-Z])', r'_\1', tmp) -snip.rv = tmp.lower() -`") - */ -`!p -m = re.search(r'Abstract', path) -if m: - snip.rv = 'abstract ' -`class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -` -{ - /** - * @ORM\Column(type="integer") - * @ORM\GeneratedValue - * @ORM\Id - */ - private $id; -} -endsnippet - -snippet form "Symfony2 form type" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -use Symfony\Component\Form\AbstractType; -use Symfony\Component\Form\FormBuilderInterface; -use Symfony\Component\OptionsResolver\OptionsResolverInterface; - -/** - * ${2:@author `whoami`} - */ -class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -` extends AbstractType -{ - /** - * {@inheritDoc} - */ - public function buildForm(FormBuilderInterface $builder, array $options) - { - } - - /** - * {@inheritDoc} - */ - public function setDefaultOptions(OptionsResolverInterface $resolver) - { - $resolver->setDefaults(); - } - - /** - * {@inheritDoc} - */ - public function getName() - { - return '${1}'; - } -} -endsnippet - -snippet ev "Symfony2 event" b -namespace `!p -abspath = os.path.abspath(path) -m = re.search(r'[A-Z].+(?=/)', abspath) -if m: - snip.rv = m.group().replace('/', '\\') -`; - -use Symfony\Component\EventDispatcher\Event; - -/** - * ${2:@author `whoami`} - */ -class `!p -snip.rv = re.match(r'.*(?=\.)', fn).group() -` extends Event -{ -} -endsnippet - -snippet redir "Symfony2 redirect" -$this->redirect($this->generateUrl('${1}', ${2})); -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/puppet.snippets b/bundle/vim-snippets/UltiSnips/puppet.snippets deleted file mode 100644 index 1b2cfc57..00000000 --- a/bundle/vim-snippets/UltiSnips/puppet.snippets +++ /dev/null @@ -1,235 +0,0 @@ -priority -50 - -######################################################################### -# Python helper code # -######################################################################### - -global !p -import vim -import os.path -def get_module_namespace_and_basename(): - """This function will try to guess the current class or define name you are - trying to create. Note that for this to work you should be using the module - structure as per the style guide. Examples inputs and it's output - * /home/nikolavp/puppet/modules/collectd/manifests/init.pp -> collectd - * /home/nikolavp/puppet/modules/collectd/manfistes/mysql.pp -> collectd::mysql - """ - first_time = True - current_file_path_without_ext = vim.eval('expand("%:p:r")') or "" - if not current_file_path_without_ext: - return "name" - parts = os.path.split(current_file_path_without_ext) - namespace = '' - while parts[0] and parts[0] != '/': - if parts[1] == 'init' and first_time and not namespace: - first_time = False - parts = os.path.split(parts[0]) - continue - if parts[1] == 'manifests': - return os.path.split(parts[0])[1] + ('::' + namespace).rstrip(':') - else: - namespace = parts[1] + '::' + namespace - parts = os.path.split(parts[0]) - # couldn't guess the namespace. The user is editing a raw file in no module like the site.pp file - return "name" -endglobal - -############################################################################### -# Puppet Language Constructs # -# See http://docs.puppetlabs.com/puppet/latest/reference/lang_summary.html # -############################################################################### - -snippet class "Class declaration" b -class ${1:`!p snip.rv = get_module_namespace_and_basename()`} { - ${0:# body} -} -endsnippet - -snippet define "Definition" b -define ${1:`!p snip.rv = get_module_namespace_and_basename()`} { - ${0:# body} -} -endsnippet - -################################################################# -# Puppet Types # -# See http://docs.puppetlabs.com/references/latest/type.html # -################################################################# - -snippet cron "Cron resource type" b -cron { '${1:name}': - user => ${2:user}, - command => '${3:command}', - minute => ${3:minute}, - hour => ${4:hour}, -} -endsnippet - -snippet exec "Exec resource type" b -exec { '${1:command}': - refreshonly => true, -} -endsnippet - -snippet file "File resource type" b -file { '${1:name}': - source => "puppet://${2:path}", - mode => ${3:mode}, -} -endsnippet - -snippet File "Defaults for file" b -File { - owner => ${1:username}, - group => ${2:groupname}, -} -endsnippet - -snippet group "Group resource type" b -group { '${1:groupname}': - ensure => ${3:present}, - gid => ${2:gid}, -} -endsnippet - -snippet mount "Mount resource type" b -mount { '${1:path}': - device => '${2:/dev}', - fstype => '${3:filesystem}', - ensure => mounted, - options => 'rw,errors=remount-ro', -} -endsnippet - -snippet package "Package resource type" b -package { '${1:name}': - ensure => ${2:installed}, -} -endsnippet - -snippet user "user resource type" b -user { '${1:username}': - ensure => ${2:present}, - uid => ${3:uid}, - gid => ${4:gid}, - comment => ${5:gecos}, - home => ${6:homedirectory}, - managehome => false, - require => Group['${7:group'}], -} -endsnippet - -snippet service "Service resource type" b -service { '${1:name}': - hasstatus => true, - enable => true, - ensure => running, -} -endsnippet - -######################################################################## -# Puppet Functions # -# See http://docs.puppetlabs.com/references/latest/function.html # -######################################################################## - -snippet alert "Alert Function" b -alert("${1:message}")${0} -endsnippet - -snippet crit "Crit Function" b -crit("${1:message}")${0} -endsnippet - -snippet debug "Debug Function" b -debug("${1:message}")${0} -endsnippet - -snippet defined "Defined Function" b -defined(${1:Resource}["${2:name}"])${0} -endsnippet - -snippet emerg "Emerg Function" b -emerg("${1:message}")${0} -endsnippet - -snippet extlookup "Simple Extlookup" b -$${1:Variable} = extlookup("${2:Lookup}")${0} -endsnippet - -snippet extlookup "Extlookup with defaults" b -$${1:Variable} = extlookup("${2:Lookup}", ${3:Default})${0} -endsnippet - -snippet extlookup "Extlookup with defaults and custom data file" b -$${1:Variable} = extlookup("${2:Lookup}", ${3:Default}, ${4:Data Source})${0} -endsnippet - -snippet fail "Fail Function" b -fail("${1:message}")${0} -endsnippet - -snippet hiera "Hiera Function" b -$${1:Variable} = hiera("${2:Lookup}")${0} -endsnippet - -snippet hiera "Hiera with defaults" b -$${1:Variable} = hiera("${2:Lookup}", ${3:Default})${0} -endsnippet - -snippet hiera "Hiera with defaults and override" b -$${1:Variable} = hiera("${2:Lookup}", ${3:Default}, ${4:Override})${0} -endsnippet - -snippet hiera_hash "Hiera Hash Function" b -$${1:Variable} = hiera_hash("${2:Lookup}")${0} -endsnippet - -snippet hiera_hash "Hiera Hash with defaults" b -$${1:Variable} = hiera_hash("${2:Lookup}", ${3:Default})${0} -endsnippet - -snippet hiera_hash "Hiera Hash with defaults and override" b -$${1:Variable} = hiera_hash("${2:Lookup}", ${3:Default}, ${4:Override})${0} -endsnippet - -snippet hiera_include "Hiera Include Function" b -hiera_include("${1:Lookup}")${0} -endsnippet - -snippet include "Include Function" b -include ${1:classname}${0} -endsnippet - -snippet info "Info Function" b -info("${1:message}")${0} -endsnippet - -snippet inline_template "Inline Template Function" b -inline_template("<%= ${1:template} %>")${0} -endsnippet - -snippet notice "Notice Function" b -notice("${1:message}")${0} -endsnippet - -snippet realize "Realize Function" b -realize(${1:Resource}["${2:name}"])${0} -endsnippet - -snippet regsubst "Regsubst Function" b -regsubst($${1:Target}, '${2:regexp}', '${3:replacement}')${0} -endsnippet - -snippet split "Split Function" b -$${1:Variable} = split($${1:Target}, '${2:regexp}')${0} -endsnippet - -snippet versioncmp "Version Compare Function" b -$${1:Variable} = versioncmp('${1:version}', '${2:version}')${0} -endsnippet - -snippet warning "Warning Function" b -warning("${1:message}")${0} -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/python.snippets b/bundle/vim-snippets/UltiSnips/python.snippets deleted file mode 100644 index 3387533d..00000000 --- a/bundle/vim-snippets/UltiSnips/python.snippets +++ /dev/null @@ -1,586 +0,0 @@ -priority -50 - -########################################################################### -# TEXTMATE SNIPPETS # -########################################################################### - -#! header -snippet #! "Shebang header for python scripts" b -#!/usr/bin/env python -# encoding: utf-8 -$0 -endsnippet - -snippet ifmain "ifmain" b -if __name__ == '__main__': - ${1:main()}$0 -endsnippet - -snippet for "for loop" b -for ${1:item} in ${2:iterable}: - ${3:pass} -endsnippet - -########## -# COMMON # -########## - -# The smart def and smart class snippets use a global option called -# "g:ultisnips_python_style" which, if set to "doxygen" will use doxygen -# style comments in docstrings. - -global !p - -NORMAL = 0x1 -DOXYGEN = 0x2 -SPHINX = 0x3 -GOOGLE = 0x4 - -SINGLE_QUOTES = 0x1 -DOUBLE_QUOTES = 0x2 - - -class Arg(object): - def __init__(self, arg): - self.arg = arg - self.name = arg.split('=')[0].strip() - - def __str__(self): - return self.name - - def __unicode__(self): - return self.name - - def is_kwarg(self): - return '=' in self.arg - - -def get_args(arglist): - args = [Arg(arg) for arg in arglist.split(',') if arg] - args = [arg for arg in args if arg.name != 'self'] - - return args - - -def get_quoting_style(snip): - style = snip.opt("g:ultisnips_python_quoting_style", "double") - if style == 'single': - return SINGLE_QUOTES - return DOUBLE_QUOTES - -def triple_quotes(snip): - if get_quoting_style(snip) == SINGLE_QUOTES: - return "'''" - return '"""' - -def get_style(snip): - style = snip.opt("g:ultisnips_python_style", "normal") - - if style == "doxygen": return DOXYGEN - elif style == "sphinx": return SPHINX - elif style == "google": return GOOGLE - else: return NORMAL - - -def format_arg(arg, style): - if style == DOXYGEN: - return "@param %s TODO" % arg - elif style == SPHINX: - return ":param %s: TODO" % arg - elif style == NORMAL: - return ":%s: TODO" % arg - elif style == GOOGLE: - return "%s (TODO): TODO" % arg - - -def format_return(style): - if style == DOXYGEN: - return "@return: TODO" - elif style in (NORMAL, SPHINX): - return ":returns: TODO" - elif style == GOOGLE: - return "Returns: TODO" - - -def write_docstring_args(args, snip): - if not args: - snip.rv += ' {0}'.format(triple_quotes(snip)) - return - - snip.rv += '\n' + snip.mkline('', indent='') - - style = get_style(snip) - - if style == GOOGLE: - write_google_docstring_args(args, snip) - else: - for arg in args: - snip += format_arg(arg, style) - - -def write_google_docstring_args(args, snip): - kwargs = [arg for arg in args if arg.is_kwarg()] - args = [arg for arg in args if not arg.is_kwarg()] - - if args: - snip += "Args:" - snip.shift() - for arg in args: - snip += format_arg(arg, GOOGLE) - snip.unshift() - snip.rv += '\n' + snip.mkline('', indent='') - - if kwargs: - snip += "Kwargs:" - snip.shift() - for kwarg in kwargs: - snip += format_arg(kwarg, GOOGLE) - snip.unshift() - snip.rv += '\n' + snip.mkline('', indent='') - - -def write_init_body(args, parents, snip): - parents = [p.strip() for p in parents.split(",")] - parents = [p for p in parents if p != 'object'] - - for p in parents: - snip += p + ".__init__(self)" - - if parents: - snip.rv += '\n' + snip.mkline('', indent='') - - for arg in args: - snip += "self._%s = %s" % (arg, arg) - - -def write_slots_args(args, snip): - args = ['"_%s"' % arg for arg in args] - snip += '__slots__ = (%s,)' % ', '.join(args) - -endglobal - -######################################## -# Class & Special Method Name Snippets # -######################################## - -snippet class "class with docstrings" b -class ${1:MyClass}(${2:object}): - - `!p snip.rv = triple_quotes(snip)`${3:Docstring for $1. }`!p snip.rv = triple_quotes(snip)` - - def __init__(self$4): - `!p snip.rv = triple_quotes(snip)`${5:TODO: to be defined1.}`!p -snip.rv = "" -snip >> 2 - -args = get_args(t[4]) - -write_docstring_args(args, snip) -if args: - snip.rv += '\n' + snip.mkline('', indent='') - snip += '{0}'.format(triple_quotes(snip)) - -write_init_body(args, t[2], snip) -` - $0 -endsnippet - - -snippet slotclass "class with slots and docstrings" b -class ${1:MyClass}(${2:object}): - - `!p snip.rv = triple_quotes(snip)`${3:Docstring for $1. }`!p snip.rv = triple_quotes(snip)` -`!p -snip >> 1 -args = get_args(t[4]) -write_slots_args(args, snip) -` - - def __init__(self$4): - `!p snip.rv = triple_quotes(snip)`${5:TODO: to be defined.}`!p -snip.rv = "" -snip >> 2 - -args = get_args(t[4]) - -write_docstring_args(args, snip) -if args: - snip.rv += '\n' + snip.mkline('', indent='') - snip += triple_quotes(snip) - -write_init_body(args, t[2], snip) -` - $0 -endsnippet - - -snippet contain "methods for emulating a container type" b -def __len__(self): - ${1:pass} - -def __getitem__(self, key): - ${2:pass} - -def __setitem__(self, key, value): - ${3:pass} - -def __delitem__(self, key): - ${4:pass} - -def __iter__(self): - ${5:pass} - -def __reversed__(self): - ${6:pass} - -def __contains__(self, item): - ${7:pass} -endsnippet - - -snippet context "context manager methods" b -def __enter__(self): - ${1:pass} - -def __exit__(self, exc_type, exc_value, traceback): - ${2:pass} -endsnippet - - -snippet attr "methods for customizing attribute access" b -def __getattr__(self, name): - ${1:pass} - -def __setattr__(self, name, value): - ${2:pass} - -def __delattr__(self, name): - ${3:pass} -endsnippet - - -snippet desc "methods implementing descriptors" b -def __get__(self, instance, owner): - ${1:pass} - -def __set__(self, instance, value): - ${2:pass} - -def __delete__(self, instance): - ${3:pass} -endsnippet - - -snippet cmp "methods implementing rich comparison" -def __eq__(self, other): - ${1:pass} - -def __ne__(self, other): - ${2:pass} - -def __lt__(self, other): - ${3:pass} - -def __le__(self, other): - ${4:pass} - -def __gt__(self, other): - ${5:pass} - -def __ge__(self, other): - ${6:pass} - -def __cmp__(self, other): - ${7:pass} -endsnippet - - -snippet repr "methods implementing string representation" -def __repr__(self): - ${1:pass} - -def __str__(self): - ${2:pass} - -def __unicode__(self): - ${3:pass} -endsnippet - - -# note: reflected operands and augmented arithmeitc assignements have been -# intentionally ommited to reduce verbosity. -snippet numeric "methods for emulating a numeric type" b -def __add__(self, other): - ${1:pass} - -def __sub__(self, other): - ${2:pass} - -def __mul__(self, other): - ${3:pass} - -def __div__(self, other): - ${4:pass} - -def __truediv__(self, other): - ${5:pass} - -def __floordiv__(self, other): - ${6:pass} - - -def __mod__(self, other): - ${7:pass} - -def __divmod__(self, other): - ${8:pass} - -def __pow__(self, other): - ${9:pass} - - -def __lshift__(self, other): - ${10:pass} - -def __rshift__(self, other): - ${11:pass} - -def __and__(self, other): - ${12:pass} - -def __xor__(self, other): - ${13:pass} - -def __or__(self, other): - ${14:pass} - - -def __neg__(self): - ${15:pass} - -def __pos__(self): - ${16:pass} - -def __abs__(self): - ${17:pass} - -def __invert__(self): - ${18:pass} - - -def __complex__(self): - ${19:pass} - -def __int__(self): - ${20:pass} - -def __long__(self): - ${21:pass} - -def __float__(self): - ${22:pass} - - -def __oct__(self): - ${22:pass} - -def __hex__(self): - ${23:pass} - - -def __index__(self): - ${24:pass} - -def __coerce__(self, other): - ${25:pass} -endsnippet - -snippet def "function with docstrings" b -def ${1:function}(`!p -if snip.indent: - snip.rv = 'self' + (", " if len(t[2]) else "")`${2:arg1}): - `!p snip.rv = triple_quotes(snip)`${4:TODO: Docstring for $1.}`!p -snip.rv = "" -snip >> 1 - -args = get_args(t[2]) -if args: - write_docstring_args(args, snip) - -style = get_style(snip) -snip += format_return(style) -snip.rv += '\n' + snip.mkline('', indent='') -snip += triple_quotes(snip) ` - ${0:pass} -endsnippet - - -# doesn't expand when there is a word in front -snippet /(^|(?<=\W))\./ "self." r -self. -endsnippet - -snippet from "from module import name" b -from ${1:module} import ${2:Stuff} -endsnippet - - -############## -# PROPERTIES # -############## -snippet roprop "Read Only Property" b -@property -def ${1:name}(self): - ${2:return self._$1}$0 -endsnippet - -snippet rwprop "Read write property" b -def ${1:name}(): - `!p snip.rv = triple_quotes(snip) if t[2] else '' -`${2:TODO: Docstring for $1.}`!p -if t[2]: - snip >> 1 - - style = get_style(snip) - snip.rv += '\n' + snip.mkline('', indent='') - snip += format_return(style) - snip.rv += '\n' + snip.mkline('', indent='') - snip += triple_quotes(snip) -else: - snip.rv = ""` - def fget(self): - return self._$1$0 - - def fset(self, value): - self._$1 = value - return locals() - -$1 = property(**$1(), doc=$1.__doc__) -endsnippet - - -#################### -# If / Else / Elif # -#################### -snippet if "If" b -if ${1:condition}: - ${2:pass} -endsnippet - -snippet ife "If / Else" b -if ${1:condition}: - ${2:pass} -else: - ${3:pass} -endsnippet - -snippet ifee "If / Elif / Else" b -if ${1:condition}: - ${2:pass} -elif ${3:condition}: - ${4:pass} -else: - ${5:pass} -endsnippet - - -########################## -# Try / Except / Finally # -########################## -snippet try "Try / Except" b -try: - ${1:pass} -except ${2:Exception}, ${3:e}: - ${4:raise $3} -endsnippet - -snippet try "Try / Except / Else" b -try: - ${1:pass} -except ${2:Exception}, ${3:e}: - ${4:raise $3} -else: - ${5:pass} -endsnippet - -snippet try "Try / Except / Finally" b -try: - ${1:pass} -except ${2:Exception}, ${3:e}: - ${4:raise $3} -finally: - ${5:pass} -endsnippet - -snippet try "Try / Except / Else / Finally" b -try: - ${1:pass} -except${2: ${3:Exception}, ${4:e}}: - ${5:raise} -else: - ${6:pass} -finally: - ${7:pass} -endsnippet - - -##################### -# Assertions & Tests # -##################### - -snippet pdb "Set PDB breakpoint" b -import pdb; pdb.set_trace() -endsnippet - -snippet ipdb "Set IPDB breakpoint" b -import ipdb; ipdb.set_trace() -endsnippet - -snippet pudb "Set PUDB breakpoint" b -import pudb; pudb.set_trace() -endsnippet - -snippet ae "Assert equal" b -self.assertEqual(${1:first},${2:second}) -endsnippet - -snippet at "Assert True" b -self.assertTrue(${0:exp}) -endsnippet - -snippet af "Assert False" b -self.assertFalse(${1:expression}) -endsnippet - -snippet aae "Assert almost equal" b -self.assertAlmostEqual(${1:first},${2:second}) -endsnippet - -snippet ar "Assert raises" b -self.assertRaises(${1:exception}, ${2:func}${3/.+/, /}${3:arguments}) -endsnippet - -snippet an "Assert is None" b -self.assertIsNone(${0:expression}) -endsnippet - -snippet ann "Assert is not None" b -self.assertIsNotNone(${0:expression}) -endsnippet - -snippet testcase "pyunit testcase" b -class Test${1:Class}(${2:unittest.TestCase}): - - `!p snip.rv = triple_quotes(snip)`${3:Test case docstring.}`!p snip.rv = triple_quotes(snip)` - - def setUp(self): - ${4:pass} - - def tearDown(self): - ${5:pass} - - def test_${6:name}(self): - ${7:pass} -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/rails.snippets b/bundle/vim-snippets/UltiSnips/rails.snippets deleted file mode 100644 index 5c521795..00000000 --- a/bundle/vim-snippets/UltiSnips/rails.snippets +++ /dev/null @@ -1,904 +0,0 @@ -priority -50 - -snippet anaf "accepts_nested_attributes_for" -accepts_nested_attributes_for :${1:association_name}${2:${3:, :allow_destroy => true}${4:, :reject_if => proc \{ |obj| ${5:obj.blank?} \}}} - -endsnippet - -snippet tcbi "Create binary column" -t.binary :${1:title}${2:, :limit => ${3:2}.megabytes} -$0 -endsnippet - -snippet tcb "Create boolean column" -t.boolean :${1:title} -$0 -endsnippet - -snippet cla "Create controller class" -class ${1:Model}Controller < ApplicationController - before_filter :find_${2:model} - - $0 - - private - def find_${2} - @$2 = ${3:$1}.find(params[:id]) if params[:id] - end -end -endsnippet - -snippet tcda "Create date column" -t.date :${1:title} -$0 -endsnippet - -snippet tcdt "Create datetime column" -t.datetime :${1:title} -$0 -endsnippet - -snippet tcd "Create decimal column" -t.decimal :${1:title}${2:${3:, :precision => ${4:10}}${5:, :scale => ${6:2}}} -$0 -endsnippet - -snippet tcf "Create float column" -t.float :${1:title} -$0 -endsnippet - -snippet cla "Create functional test class" -require 'test_helper' - -class ${1:Model}ControllerTest < ActionController::TestCase - test$0 -end - -endsnippet - -snippet tci "Create integer column" -t.integer :${1:title} -$0 -endsnippet - -snippet tcl "Create lock_version column" -t.integer :lock_version, :null => false, :default => 0 -$0 -endsnippet - -# FIXME: handling literal bracket pair inside of nested tab groups? -snippet tcr "Create references column" -t.references :${1:taggable}${2:, :polymorphic => ${3:{ :default => '${4:Photo}' \}}} -$0 -endsnippet - -snippet resources "Create resources controller class" -class ${1:Model}sController < ApplicationController - before_filter :find_${1/./\l$0/}, :only => [:show, :edit, :update, :destroy] - - # GET /${1/./\l$0/}s - # GET /${1/./\l$0/}s.xml - def index - @${1/./\l$0/}s = ${1:Model}.all - - respond_to do |wants| - wants.html # index.html.erb - wants.xml { render :xml => @${1/./\l$0/}s } - end - end - - # GET /${1/./\l$0/}s/1 - # GET /${1/./\l$0/}s/1.xml - def show - respond_to do |wants| - wants.html # show.html.erb - wants.xml { render :xml => @${1/./\l$0/} } - end - end - - # GET /${1/./\l$0/}s/new - # GET /${1/./\l$0/}s/new.xml - def new - @${1/./\l$0/} = ${1:Model}.new - - respond_to do |wants| - wants.html # new.html.erb - wants.xml { render :xml => @${1/./\l$0/} } - end - end - - # GET /${1/./\l$0/}s/1/edit - def edit - end - - # POST /${1/./\l$0/}s - # POST /${1/./\l$0/}s.xml - def create - @${1/./\l$0/} = ${1:Model}.new(params[:${1/./\l$0/}]) - - respond_to do |wants| - if @${1/./\l$0/}.save - flash[:notice] = '${1:Model} was successfully created.' - wants.html { redirect_to(@${1/./\l$0/}) } - wants.xml { render :xml => @${1/./\l$0/}, :status => :created, :location => @${1/./\l$0/} } - else - wants.html { render :action => "new" } - wants.xml { render :xml => @${1/./\l$0/}.errors, :status => :unprocessable_entity } - end - end - end - - # PUT /${1/./\l$0/}s/1 - # PUT /${1/./\l$0/}s/1.xml - def update - respond_to do |wants| - if @${1/./\l$0/}.update_attributes(params[:${1/./\l$0/}]) - flash[:notice] = '${1:Model} was successfully updated.' - wants.html { redirect_to(@${1/./\l$0/}) } - wants.xml { head :ok } - else - wants.html { render :action => "edit" } - wants.xml { render :xml => @${1/./\l$0/}.errors, :status => :unprocessable_entity } - end - end - end - - # DELETE /${1/./\l$0/}s/1 - # DELETE /${1/./\l$0/}s/1.xml - def destroy - @${1/./\l$0/}.destroy - - respond_to do |wants| - wants.html { redirect_to(${1/./\l$0/}s_url) } - wants.xml { head :ok } - end - end - - private - def find_${1/./\l$0/} - @${1/./\l$0/} = ${1:Model}.find(params[:id]) - end - -end - -endsnippet - -snippet tcs "Create string column" -t.string :${1:title} -$0 -endsnippet - -snippet tct "Create text column" -t.text :${1:title} -$0 -endsnippet - -snippet tcti "Create time column" -t.time :${1:title} -$0 -endsnippet - -snippet tcts "Create timestamp column" -t.timestamp :${1:title} -$0 -endsnippet - -snippet tctss "Create timestamps columns" -t.timestamps -$0 -endsnippet - -snippet mcol "Migration Create Column (mcc)" -t.column ${1:title}, :${2:string} -$0 -endsnippet - -snippet mccc "Migration Create Column Continue (mccc)" -t.column ${1:title}, :${2:string} -mccc$0 -endsnippet - -snippet mtab "Migration Drop Create Table (mdct)" -drop_table :${1:table}${2: [press tab twice to generate create_table]} -endsnippet - -snippet mcol "Migration Remove and Add Column (mrac)" -remove_column :${1:table}, :${2:column}${3: [press tab twice to generate add_column]} -endsnippet - -snippet rdb "RAILS_DEFAULT_LOGGER.debug (rdb)" -RAILS_DEFAULT_LOGGER.debug "${1:message}"$0 -endsnippet - -snippet tre "Table column(s) rename" -t.rename(:${1:old_column_name}, :${2:new_column_name}) -$0 -endsnippet - -snippet art "Test Assert Redirected To (art)" -assert_redirected_to ${2::action => "${1:index}"} -endsnippet - -snippet asre "Test Assert Response (are)" -assert_response :${1:success}, @response.body$0 -endsnippet - -snippet aftc "after_create" -after_create $0 -endsnippet - -snippet aftd "after_destroy" -after_destroy $0 -endsnippet - -snippet afts "after_save" -after_save $0 -endsnippet - -snippet aftu "after_update" -after_update $0 -endsnippet - -snippet aftv "after_validation" -after_validation $0 -endsnippet - -snippet aftvoc "after_validation_on_create" -after_validation_on_create $0 -endsnippet - -snippet aftvou "after_validation_on_update" -after_validation_on_update $0 -endsnippet - -snippet asg "assert(var = assigns(:var))" -assert(${1:var} = assigns(:${1}), "Cannot find @${1}") -$0 -endsnippet - -snippet asd "assert_difference" -assert_difference "${1:Model}.${2:count}", ${3:1} do - $0 -end -endsnippet - -snippet asnd "assert_no_difference" -assert_no_difference "${1:Model}.${2:count}" do - $0 -end -endsnippet - -snippet artnpp "assert_redirected_to (nested path plural)" -assert_redirected_to ${10:${2:parent}_${3:child}_path(${4:@}${5:${2}})} -endsnippet - -snippet artnp "assert_redirected_to (nested path)" -assert_redirected_to ${2:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})} -endsnippet - -snippet artpp "assert_redirected_to (path plural)" -assert_redirected_to ${10:${2:model}s_path} -endsnippet - -snippet artp "assert_redirected_to (path)" -assert_redirected_to ${2:${12:model}_path(${13:@}${14:${12}})} -endsnippet - -snippet asrj "assert_rjs" -assert_rjs :${1:replace}, ${2:"${3:dom id}"} -endsnippet - -snippet ass "assert_select" -assert_select '${1:path}'${2:, :${3:text} => ${4:'${5:inner_html}'}}${6: do - $0 -end} -endsnippet - -snippet befc "before_create" -before_create $0 -endsnippet - -snippet befd "before_destroy" -before_destroy $0 -endsnippet - -snippet befs "before_save" -before_save $0 -endsnippet - -snippet befu "before_update" -before_update $0 -endsnippet - -snippet befv "before_validation" -before_validation $0 -endsnippet - -snippet befvoc "before_validation_on_create" -before_validation_on_create $0 -endsnippet - -snippet befvou "before_validation_on_update" -before_validation_on_update -endsnippet - -snippet bt "belongs_to (bt)" -belongs_to :${1:object}${2:, :class_name => "${3:${1/[[:alpha:]]+|(_)/(?1::\u$0)/g}}", :foreign_key => "${4:${1}_id}"} -endsnippet - -snippet crw "cattr_accessor" -cattr_accessor :${0:attr_names} -endsnippet - -snippet defcreate "def create - resource" -def create - @${1:model} = ${2:${1/[[:alpha:]]+|(_)/(?1::\u$0)/g}}.new(params[:$1]) - $0 - respond_to do |wants| - if @$1.save - flash[:notice] = '$2 was successfully created.' - wants.html { redirect_to(@$1) } - wants.xml { render :xml => @$1, :status => :created, :location => @$1 } - else - wants.html { render :action => "new" } - wants.xml { render :xml => @$1.errors, :status => :unprocessable_entity } - end - end -end - -endsnippet - -snippet test "test do..end" -test "${1:something interesting}" do - $0 -end -endsnippet - -snippet deftg "def get request" -def test_should_get_${1:action} - ${2:@${3:model} = ${4:$3s}(:${5:fixture_name}) - }get :${1}${6:, :id => @$3.to_param} - assert_response :success - $0 -end -endsnippet - -snippet deftp "def post request" -def test_should_post_${1:action} - ${3:@$2 = ${4:$2s}(:${5:fixture_name}) - }post :${1}${6:, :id => @$2.to_param}, :${2:model} => { $0 } - assert_response :redirect - -end -endsnippet - -snippet fina "find(:all)" -find(:all${1:, :conditions => ['${2:${3:field} = ?}', ${5:true}]}) -endsnippet - -snippet finf "find(:first)" -find(:first${1:, :conditions => ['${2:${3:field} = ?}', ${5:true}]}) -endsnippet - -snippet fini "find(id)" -find(${1:id}) -endsnippet - -snippet fine "find_each" -find_each(${1::conditions => {:${2:field} => ${3:true}\}}) do |${4:${TM_CURRENT_WORD/(\w+)\./\L$1/g}}| - $0 -end -endsnippet - -snippet finb "find_in_batches" -find_in_batches(${1::conditions => {:${2:field} => ${3:true}\}}) do |${4:${TM_CURRENT_WORD/(\w+)\./\L$1/g}}s| - $4s.each do |$4| - $0 - end -end -endsnippet - -snippet habtm "has_and_belongs_to_many (habtm)" -has_and_belongs_to_many :${1:object}${2:, :join_table => "${3:table_name}", :foreign_key => "${4:${1}_id}"} -endsnippet - -snippet hm "has_many (hm)" -has_many :${1:object}s${2:, :class_name => "${1}", :foreign_key => "${4:reference}_id"} -endsnippet - -snippet hmt "has_many (through)" -has_many :${1:objects}, :through => :${2:join_association}${3:, :source => :${4:${2}_table_foreign_key_to_${1}_table}} -endsnippet - -snippet hmd "has_many :dependent => :destroy" -has_many :${1:object}s${2:, :class_name => "${1}", :foreign_key => "${4:reference}_id"}, :dependent => :destroy$0 -endsnippet - -snippet ho "has_one (ho)" -has_one :${1:object}${2:, :class_name => "${3:${1/[[:alpha:]]+|(_)/(?1::\u$0)/g}}", :foreign_key => "${4:${1}_id}"} -endsnippet - -snippet logd "logger.debug" -${1:Rails.}logger.debug { "${1:message}" }$0 -endsnippet - -snippet loge "logger.error" -logger.error { "${1:message}" }$0 -endsnippet - -snippet logf "logger.fatal" -logger.fatal { "${1:message}" }$0 -endsnippet - -snippet logi "logger.info" -logger.info { "${1:message}" }$0 -endsnippet - -snippet logw "logger.warn" -logger.warn { "${1:message}" }$0 -endsnippet - -snippet mp "map(&:sym_proc)" -map(&:${1:id}) -endsnippet - -snippet mapca "map.catch_all" -${1:map}.catch_all "*${2:anything}", :controller => "${3:default}", :action => "${4:error}" - -endsnippet - -snippet map "map.named_route" -${1:map}.${2:connect} '${3::controller/:action/:id}' -endsnippet - -snippet mapr "map.resource" -${1:map}.resource :${2:resource}${10: do |${11:$2}| - $0 -end} -endsnippet - -snippet maprs "map.resources" -${1:map}.resources :${2:resource}${10: do |${11:$2}| - $0 -end} -endsnippet - -snippet mapwo "map.with_options" -${1:map}.with_options :${2:controller} => '${3:thing}' do |${4:$3}| - $0 -end - -endsnippet - -snippet mrw "mattr_accessor" -mattr_accessor :${0:attr_names} -endsnippet - -snippet ncl "named_scope lambda" -named_scope :name, lambda { |${1:param}| { :conditions => ${3:['${4:${5:field} = ?}', ${6:$1}]} } } - -endsnippet - -snippet nc "named_scope" -named_scope :name${1:, :joins => :${2:table}}, :conditions => ${3:['${4:${5:field} = ?}', ${6:true}]} - -endsnippet - -snippet dscope "default_scope" -default_scope ${1:order(${2:'${3:created_at DESC}'})} -endsnippet - -snippet flash "flash[...]" -flash[:${1:notice}] = "${2:Successfully created...}"$0 -endsnippet - -snippet rea "redirect_to (action)" -redirect_to :action => "${1:index}" -endsnippet - -snippet reai "redirect_to (action, id)" -redirect_to :action => "${1:show}", :id => ${0:@item} -endsnippet - -snippet rec "redirect_to (controller)" -redirect_to :controller => "${1:items}" -endsnippet - -snippet reca "redirect_to (controller, action)" -redirect_to :controller => "${1:items}", :action => "${2:list}" -endsnippet - -snippet recai "redirect_to (controller, action, id)" -redirect_to :controller => "${1:items}", :action => "${2:show}", :id => ${0:@item} -endsnippet - -snippet renpp "redirect_to (nested path plural)" -redirect_to(${2:${10:parent}_${11:child}_path(${12:@}${13:${10}})}) -endsnippet - -snippet renp "redirect_to (nested path)" -redirect_to(${2:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})}) -endsnippet - -snippet repp "redirect_to (path plural)" -redirect_to(${2:${10:model}s_path}) -endsnippet - -snippet rep "redirect_to (path)" -redirect_to(${2:${12:model}_path(${13:@}${14:${12}})}) -endsnippet - -snippet reb "redirect_to :back" -redirect_to :back -endsnippet - -snippet ra "render (action)... (ra)" -render :action => "${1:action}" -endsnippet - -snippet ral "render (action,layout) (ral)" -render :action => "${1:action}", :layout => "${2:layoutname}" -endsnippet - -snippet rf "render (file) (rf)" -render :file => "${1:filepath}" -endsnippet - -snippet rfu "render (file,use_full_path) (rfu)" -render :file => "${1:filepath}", :use_full_path => ${2:false} -endsnippet - -snippet ri "render (inline) (ri)" -render :inline => "${1:<%= 'hello' %>}" -endsnippet - -snippet ril "render (inline,locals) (ril)" -render :inline => "${1:<%= 'hello' %>}", :locals => { ${2::name} => "${3:value}"$4 } -endsnippet - -snippet rit "render (inline,type) (rit)" -render :inline => "${1:<%= 'hello' %>}", :type => ${2::rxml} -endsnippet - -snippet rl "render (layout) (rl)" -render :layout => "${1:layoutname}" -endsnippet - -snippet rn "render (nothing) (rn)" -render :nothing => ${1:true} -endsnippet - -snippet rns "render (nothing,status) (rns)" -render :nothing => ${1:true}, :status => ${2:401} -endsnippet - -snippet rt "render (text) (rt)" -render :text => "${1:text to render...}" -endsnippet - -snippet rtl "render (text,layout) (rtl)" -render :text => "${1:text to render...}", :layout => "${2:layoutname}" -endsnippet - -snippet rtlt "render (text,layout => true) (rtlt)" -render :text => "${1:text to render...}", :layout => ${2:true} -endsnippet - -snippet rts "render (text,status) (rts)" -render :text => "${1:text to render...}", :status => ${2:401} -endsnippet - -snippet ru "render (update)" -render :update do |${2:page}| - $2.$0 -end -endsnippet - -snippet rest "respond_to" -respond_to do |wants| - wants.${1:html}${2: { $0 \}} -end -endsnippet - -snippet resw "respond_with" -respond_with(${1:@${2:model}})${3: do |format| - format.${4:html} { $0 \} -end} -endsnippet - -# FIXME -snippet returning "returning do |variable| ... end" -returning ${1:variable} do${2/(^(?\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g)*,?\s*$)|.*/(?1: |)/}${2:v}${2/(^(?\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g)*,?\s*$)|.*/(?1:|)/} - $0 -end -endsnippet - -snippet t. "t.binary (tcbi)" -t.binary :${1:title}${2:, :limit => ${3:2}.megabytes} -t.$0 -endsnippet - -snippet t. "t.boolean (tcb)" -t.boolean :${1:title} -t.$0 -endsnippet - -snippet t. "t.date (tcda)" -t.date :${1:title} -t.$0 -endsnippet - -snippet t. "t.datetime (tcdt)" -t.datetime :${1:title} -t.$0 -endsnippet - -snippet t. "t.decimal (tcd)" -t.decimal :${1:title}${2:${3:, :precision => ${4:10}}${5:, :scale => ${6:2}}} -t.$0 -endsnippet - -snippet t. "t.float (tcf)" -t.float :${1:title} -t.$0 -endsnippet - -snippet t. "t.integer (tci)" -t.integer :${1:title} -t.$0 -endsnippet - -snippet t. "t.lock_version (tcl)" -t.integer :lock_version, :null => false, :default => 0 -t.$0 -endsnippet - -snippet t. "t.references (tcr)" -t.references :${1:taggable}${2:, :polymorphic => ${3:{ :default => '${4:Photo}' \}}} -t.$0 -endsnippet - -snippet t. "t.rename (tre)" -t.rename(:${1:old_column_name}, :${2:new_column_name}) -t.$0 -endsnippet - -snippet t. "t.string (tcs)" -t.string :${1:title} -t.$0 -endsnippet - -snippet t. "t.text (tct)" -t.text :${1:title} -t.$0 -endsnippet - -snippet t. "t.time (tcti)" -t.time :${1:title} -t.$0 -endsnippet - -snippet t. "t.timestamp (tcts)" -t.timestamp :${1:title} -t.$0 -endsnippet - -snippet t. "t.timestamps (tctss)" -t.timestamps -t.$0 -endsnippet - -snippet vaoif "validates_acceptance_of if" -validates_acceptance_of :${1:terms}${2:${3:, :accept => "${4:1}"}${5:, :message => "${6:You must accept the terms of service}"}}, :if => proc { |obj| ${7:obj.condition?} }} -endsnippet - -snippet vao "validates_acceptance_of" -validates_acceptance_of :${1:terms}${2:${3:, :accept => "${4:1}"}${5:, :message => "${6:You must accept the terms of service}"}} -endsnippet - -snippet va "validates_associated (va)" -validates_associated :${1:attribute}${2:, :on => :${3:create}} -endsnippet - -snippet vaif "validates_associated if (vaif)" -validates_associated :${1:attribute}${2:, :on => :${3:create}, :if => proc { |obj| ${5:obj.condition?} }} -endsnippet - -snippet vc "validates_confirmation_of (vc)" -validates_confirmation_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:should match confirmation}"} -endsnippet - -snippet vcif "validates_confirmation_of if (vcif)" -validates_confirmation_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:should match confirmation}", :if => proc { |obj| ${5:obj.condition?} }} -endsnippet - -snippet ve "validates_exclusion_of (ve)" -validates_exclusion_of :${1:attribute}${2:, :in => ${3:%w( ${4:mov avi} )}, :on => :${5:create}, :message => "${6:extension %s is not allowed}"} -endsnippet - -snippet veif "validates_exclusion_of if (veif)" -validates_exclusion_of :${1:attribute}${2:, :in => ${3:%w( ${4:mov avi} )}, :on => :${5:create}, :message => "${6:extension %s is not allowed}"}, :if => proc { |obj| ${7:obj.condition?} }} -endsnippet - -snippet vfif "validates_format_of if" -validates_format_of :${1:attribute}, :with => /${2:^[${3:\w\d}]+\$}/${4:, :on => :${5:create}, :message => "${6:is invalid}"}, :if => proc { |obj| ${7:obj.condition?} }} -endsnippet - -snippet vf "validates_format_of" -validates_format_of :${1:attribute}, :with => /${2:^[${3:\w\d}]+\$}/${4:, :on => :${5:create}, :message => "${6:is invalid}"} -endsnippet - -snippet viif "validates_inclusion_of if" -validates_inclusion_of :${1:attribute}${2:, :in => ${3:%w( ${4:mov avi} )}, :on => :${5:create}, :message => "${6:extension %s is not included in the list}"}, :if => proc { |obj| ${7:obj.condition?} }} -endsnippet - -snippet vi "validates_inclusion_of" -validates_inclusion_of :${1:attribute}${2:, :in => ${3:%w( ${4:mov avi} )}, :on => :${5:create}, :message => "${6:extension %s is not included in the list}"} -endsnippet - -snippet vl "validates_length_of (vl)" -validates_length_of :${1:attribute}, :within => ${2:3..20}${3:, :on => :${4:create}, :message => "${5:must be present}"} -endsnippet - -snippet vlif "validates_length_of if" -validates_length_of :${1:attribute}, :within => ${2:3..20}${3:, :on => :${4:create}, :message => "${5:must be present}"}, :if => proc { |obj| ${6:obj.condition?} }} -endsnippet - -snippet vnif "validates_numericality_of if" -validates_numericality_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:is not a number}"}, :if => proc { |obj| ${5:obj.condition?} }} -endsnippet - -snippet vn "validates_numericality_of" -validates_numericality_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:is not a number}"} -endsnippet - -snippet vp "validates_presence_of (vp)" -validates_presence_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:can't be blank}"} -endsnippet - -snippet vpif "validates_presence_of if (vpif) 2" -validates_presence_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:can't be blank}"}, :if => proc { |obj| ${5:obj.condition?} }} -endsnippet - -snippet vu "validates_uniqueness_of (vu)" -validates_uniqueness_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:must be unique}"} -endsnippet - -snippet vuif "validates_uniqueness_of if (vuif)" -validates_uniqueness_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:must be unique}", :if => proc { |obj| ${6:obj.condition?} }} -endsnippet - -snippet verify "verify -- render" -verify :only => [:$1], :method => :post, :render => {:status => 500, :text => "use HTTP-POST"} - -endsnippet - -snippet verify "verify -- redirect" -verify :only => [:$1], :session => :user, :params => :id, :redirect_to => {:action => '${2:index}'} - -endsnippet - -snippet wants "wants_format" -wants.${1:js|xml|html}${2: { $0 \}} -endsnippet - -snippet xdelete "xhr delete" -xhr :delete, :${1:destroy}, :id => ${2:1}$0 -endsnippet - -snippet xget "xhr get" -xhr :get, :${1:show}${2:, :id => ${3:1}}$0 -endsnippet - -snippet xpost "xhr post" -xhr :post, :${1:create}, :${2:object} => { $3 } -endsnippet - -snippet xput "xhr put" -xhr :put, :${1:update}, :id => ${2:1}, :${3:object} => { $4 }$0 -endsnippet - -snippet finl "find(:last)" -find(:last${1:, :conditions => ['${2:${3:field} = ?}', ${5:true}]}) -endsnippet - -snippet sweeper "Create sweeper class" -class ${1:Model}Sweeper < ActionController::Caching::Sweeper - observe ${1:Model} - - def after_save(${1/./\l$0/}) - expire_cache(${1/./\l$0/}) - end - - def after_destroy(${1/./\l$0/}) - expire_cache(${1/./\l$0/}) - end - - private - - def expire_cache(${1/./\l$0/}) - ${0:expire_page ${1/./\l$0/}s_path - expire_page ${1/./\l$0/}_path(${1/./\l$0/})} - end - -end -endsnippet - -snippet col "collection routes" -collection do - ${1:get :${2:action}} - ${3:put :${4:action}} - ${5:post :${6:action}} - ${7:delete :${8:action}} -end -endsnippet - -snippet format "format (respond_with)" -format.${1:html|xml|json|js|any} { $0 } -endsnippet - -snippet gem "gem" -gem '${1:name}'${2:${3:, "${4:1.0}"}${5:${6:, :require => ${7:"${8:$1}"}}${9:, :group => :${10:test}}}} -endsnippet - -snippet gemg "gem :git" -gem '${1:paperclip}', :git => "${2:git://github.com/thoughtbot/paperclip.git}"${3:, :branch => "${4:rails3}"} -endsnippet - -snippet match "match" -match '${1:${2::controller}${3:/${4::action}${5:/${6::id}${7:(.:format)}}}}'${8: => '${9:$2}#${10:$4}'${11:, :as => :${12:$10}}} -endsnippet - -snippet member "member routes" -member do - ${1:get :${2:action}} - ${3:put :${4:action}} - ${5:post :${6:action}} - ${7:delete :${8:action}} -end -endsnippet - -snippet res "resources" -resources :${1:posts}${2: do - $3 -end} -endsnippet - -snippet scope "scope" -scope :${1:name}, ${2:joins(:${3:table}).}where(${4:'${5:$3.${6:field}} = ?', ${7:'${8:value}'}}) -endsnippet - -snippet scopel "scope lambda" -scope :${1:name}, lambda { |${2:param}| ${3:where(${4::${5:field} => ${6:"${7:value}"}})} } -endsnippet - -snippet scopee "scope with extension" -scope :${1:name}, ${2:where(${3::${4:field} => ${5:'${6:value}'}})} do - def ${7:method_name} - $0 - end -end -endsnippet - -snippet sb "scoped_by" -scoped_by_${1:attribute}(${2:id}) -endsnippet - -snippet setup "setup do..end" -setup do - $0 -end -endsnippet - -snippet trans "Translation snippet" -I18n.t('`!v substitute(substitute(substitute(@%, substitute(getcwd() . "/", "\/", "\\\\/", "g"), "", ""), "\\(\\.\\(html\\|js\\)\\.\\(haml\\|erb\\)\\|\\(_controller\\)\\?\\.rb\\)$", "", ""), "/", ".", "g")`.${2:${1/[^\w]/_/g}}${3}', :default => "${1:some_text}"${4})${5:$0} -endsnippet - -snippet route_spec -it 'routes to #${1:action}' do - ${2:get}('/${3:url}').should route_to('`!v substitute(expand('%:t:r'), '_routing_spec$', '', '')`#$1'${4:, ${5:params}})${6} -end -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/rst.snippets b/bundle/vim-snippets/UltiSnips/rst.snippets deleted file mode 100644 index 0596eee1..00000000 --- a/bundle/vim-snippets/UltiSnips/rst.snippets +++ /dev/null @@ -1,293 +0,0 @@ -# -*- coding: utf-8 -*- - -priority -50 - -########################################################################### -# General Stuff # -########################################################################### -global !p -import vim -from os import path as ospath -from string import Template -import re -from collections import Counter - -from vimsnippets import complete - -#http://docutils.sourceforge.net/docs/ref/rst/roles.html -TEXT_ROLES = ['emphasis','literal','code','math', - 'pep-reference','rfc-reference', - 'strong','subscript','superscript', - 'title-reference','raw'] -TEXT_ROLES_REGEX = r'\.\.\srole::?\s(w+)' - -#http://docutils.sourceforge.net/docs/ref/rst/directives.html#specific-admonitions -SPECIFIC_ADMONITIONS = ["attention", "caution", "danger", - "error", "hint", "important", "note", - "tip", "warning"] -#http://docutils.sourceforge.net/docs/ref/rst/directives.html -DIRECTIVES = ['topic','sidebar','math','epigraph', - 'parsed-literal','code','highlights', - 'pull-quote','compound','container', - 'list-table','class','sectnum', - 'role','default-role','unicode', - 'raw'] - -NONE_CONTENT_DIRECTIVES = ['rubric', 'contents', 'header', - 'footer', 'date', 'include', 'title'] - -INCLUDABLE_DIRECTIVES = ['image', 'figure', 'include'] -# CJK chars -# http://stackoverflow.com/questions/2718196/find-all-chinese-text-in-a-string-using-python-and-regex -CJK_RE = re.compile(u'[⺀-⺙⺛-⻳⼀-⿕々〇〡-〩〸-〺〻㐀-䶵一-鿃豈-鶴侮-頻並-龎]', re.UNICODE) - - -def has_cjk(s): - """Detect if s contains CJK characters.""" - return CJK_RE.search(s) is not None - -def real_filename(filename): - """pealeextension name off if possible - # i.e. "foo.bar.png will return "foo.bar" - """ - return ospath.splitext(filename)[0] - -def check_file_exist(rst_path, relative_path): - """ - For RST file, it can just include files as relative path. - - :param rst_path: absolute path to rst file - :param relative_path: path related to rst file - :return: relative file's absolute path if file exist - """ - abs_path = ospath.join(ospath.dirname(rst_path), relative_path) - if ospath.isfile(abs_path): - return abs_path - - -try: - rst_char_len = vim.strwidth # Requires Vim 7.3+ -except AttributeError: - from unicodedata import east_asian_width - def rst_char_len(s): - """Return the required over-/underline length for s.""" - result = 0 - for c in s: - result += 2 if east_asian_width(c) in ('W', 'F') else 1 - return result - - -def make_items(times, leading='+'): - """ - make lines with leading char multitimes - - :param: times, how many times you need - :param: leading, leading character - """ - times = int(times) - if leading == 1: - msg = "" - for x in range(1, times+1): - msg += "%s. Item\n" % x - return msg - else: - return ("%s Item\n" % leading) * times - - -def look_up_directives(regex, fpath): - """ - find all directive args in given file - :param: regex, the regex that needs to match - :param: path, to path to rst file - - :return: list, empty list if nothing match - """ - try: - with open(fpath) as source: - match = re.findall(regex, source.read()) - except IOError: - match = [] - return match - - -def get_popular_code_type(): - """ - find most popular code type in the given rst - - :param path: file to detect - - :return: string, most popular code type in file - """ - buf = "".join(vim.current.buffer) - types = re.findall(r'[:|\.\.\s]code::?\s(\w+)', buf) - try: - popular_type = Counter(types).most_common()[0][0] - except IndexError: - popular_type = "lua" # Don't break default - return popular_type -endglobal - -snippet part "Part" b -`!p snip.rv = rst_char_len(t[1])*'#'` -${1:${VISUAL:Part name}} -`!p snip.rv = rst_char_len(t[1])*'#'` - -$0 -endsnippet - -snippet chap "Chapter" b -`!p snip.rv = rst_char_len(t[1])*'*'` -${1:${VISUAL:Chapter name}} -`!p snip.rv = rst_char_len(t[1])*'*'` - -$0 -endsnippet - -snippet sec "Section" b -${1:${VISUAL:Section name}} -`!p snip.rv = rst_char_len(t[1])*'='` - -$0 -endsnippet - -snippet ssec "Subsection" b -${1:${VISUAL:Subsection name}} -`!p snip.rv = rst_char_len(t[1])*'-'` - -$0 -endsnippet - -snippet sssec "Subsubsection" b -${1:${VISUAL:Subsubsection name}} -`!p snip.rv = rst_char_len(t[1])*'^'` - -$0 -endsnippet - -snippet para "Paragraph" b -${1:${VISUAL:Paragraph name}} -`!p snip.rv = rst_char_len(t[1])*'"'` - -$0 -endsnippet - -snippet em "Emphasize string" i -`!p -# dirty but works with CJK character detection -if has_cjk(vim.current.line): - snip.rv ="\ "`*${1:${VISUAL:Em}}*`!p -if has_cjk(vim.current.line): - snip.rv ="\ " -else: - snip.rv = " " -`$0 -endsnippet - -snippet st "Strong string" i -`!p -if has_cjk(vim.current.line): - snip.rv ="\ "`**${1:${VISUAL:Strong}}**`!p -if has_cjk(vim.current.line): - snip.rv ="\ " -else: - snip.rv = " " -`$0 -endsnippet - -snippet "li(st)? (?P\d+)" "List" br -$0 -`!p -# usage: li 4 -# which will extand into a unordered list contains 4 items -snip.rv = make_items(match.groupdict()['num']) -` -endsnippet - -snippet "ol(st)? (?P\d+)" "Order List" br -$0 -`!p -# usage: ol 4 -# which will extand into a ordered list contains 4 items -snip.rv = make_items(match.groupdict()['num'], 1) -` -endsnippet -########################################################################### -# More Specialized Stuff. # -########################################################################### -snippet cb "Code Block" b -.. code-block:: ${1:`!p snip.rv = get_popular_code_type()`} - - ${2:${VISUAL:code}} - -$0 -endsnippet - -# match snippets : -# img, inc, fig -snippet id "Includable Directives" b -`!p -real_name=real_filename(ospath.basename(t[2])) -di=t[1][:2] - -link="" -content="" - -if di == 'im': - link = "|{0}|".format(real_name) - -if di == 'fi': - content=""" - :alt: {0} - {0}""".format(real_name) -` -..`!p snip.rv = " %s" % link if link else ""` $1`!p -snip.rv=complete(t[1], INCLUDABLE_DIRECTIVES) -`:: ${2:${VISUAL:file}}`!p -if content: - snip.rv +=" "+content` -`!p -# Tip of whether file is exist in comment type -if not check_file_exist(path, t[2]): - snip.rv='.. FILE {0} does not exist'.format(t[2]) -else: - snip.rv="" -`$0 -endsnippet - -snippet di "Directives" b -.. $1`!p snip.rv=complete(t[1], DIRECTIVES)`:: $2 - - ${3:${VISUAL:Content}} -$0 -endsnippet - -snippet nd "None Content Directives" b -.. $1`!p snip.rv=complete(t[1], NONE_CONTENT_DIRECTIVES)`:: $2 -$0 -endsnippet - -snippet sa "Specific Admonitions" b -.. $1`!p snip.rv =complete(t[1], SPECIFIC_ADMONITIONS)`:: - - ${2:${VISUAL:Content}} - -$0 -endsnippet - -#it will be trigger at start of line or after a word -snippet ro "Text Roles" w -\ :$1`!p snip.rv=complete(t[1], - TEXT_ROLES+look_up_directives(TEXT_ROLES_REGEX, - path))`:\`$2\`\ -endsnippet - -############ -# Sphinx # -############ - -snippet sid "SideBar" b -.. sidebar:: ${1:SideBar Title} - - ${2:${VISUAL:SideBar Content}} -endsnippet -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/ruby.snippets b/bundle/vim-snippets/UltiSnips/ruby.snippets deleted file mode 100644 index 09a114f6..00000000 --- a/bundle/vim-snippets/UltiSnips/ruby.snippets +++ /dev/null @@ -1,570 +0,0 @@ -priority -50 - -snippet "^#!" "#!/usr/bin/env ruby" r -#!/usr/bin/env ruby -$0 -endsnippet - - -snippet "^# ?[uU][tT][fF]-?8" "# encoding: UTF-8" r -# encoding: UTF-8 -$0 -endsnippet - - - -snippet If " if " -${1:command} if ${0:expression} -endsnippet - - - -snippet Unless " unless " -${1:command} unless ${0:expression} -endsnippet - - - -snippet if "if ... end" -if ${1:condition} - ${2:# TODO} -end -endsnippet - - - -snippet ife "if ... else ... end" -if ${1:condition} - ${2:# TODO} -else - ${3:# TODO} -end -endsnippet - - - -snippet ifee "if ... elseif ... else ... end" -if ${1:condition} - ${2:# TODO} -elsif ${3:condition} - ${4:# TODO} -else - ${0:# TODO} -end -endsnippet - - - -snippet unless "unless ... end" -unless ${1:condition} - ${0:# TODO} -end -endsnippet - - - -snippet unlesse "unless ... else ... end" -unless ${1:condition} - ${2:# TODO} -else - ${0:# TODO} -end -endsnippet - - - -snippet unlesee "unless ... elseif ... else ... end" -unless ${1:condition} - ${2:# TODO} -elsif ${3:condition} - ${4:# TODO} -else - ${0:# TODO} -end -endsnippet - - - -snippet "\b(de)?f" "def ..." r -def ${1:function_name}${2: ${3:*args}} - ${0:# TODO} -end -endsnippet - - - -snippet defi "def initialize ..." -def initialize${1: ${2:*args}} - ${0:# TODO} -end -endsnippet - - - -snippet defr "def ... rescue ..." -def ${1:function_name}${2: ${3:*args}} - ${4:# TODO} -rescue - ${0:# TODO} -end -endsnippet - - - -snippet For "(..).each { || }" -(${1:from}..${2:to}).each { |${3:i}| ${4:# TODO} } -endsnippet - - - -snippet for "(..).each do || end" -(${1:from}..${2:to}).each do |${3:i}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.Merge!" ".merge!() { |,,| }" r -`!p snip.rv=match.group(1)`.merge!(${1:other_hash}) { |${2:key},${3:oldval},${4:newval}| ${5:block} } -endsnippet - - - -snippet "(\S+)\.merge!" ".merge!() do |,,| end" r -`!p snip.rv=match.group(1)`.merge!(${1:other_hash}) do |${2:key},${3:oldval},${4:newval}| - ${0:block} -end -endsnippet - - - -snippet "(\S+)\.Del(ete)?_?if" ".delete_if { |,| }" r -`!p snip.rv=match.group(1)`.delete_if { |${1:key},${2:value}| ${3:# TODO} } -endsnippet - - - -snippet "(\S+)\.del(ete)?_?if" ".delete_if do |,| end" r -`!p snip.rv=match.group(1)`.delete_if do |${1:key},${2:value}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.Keep_?if" ".keep_if { |,| }" r -`!p snip.rv=match.group(1)`.keep_if { |${1:key},${2:value}| ${3:# TODO} } -endsnippet - - - -snippet "(\S+)\.keep_?if" ".keep_if do ,| end" r -`!p snip.rv=match.group(1)`.keep_if do |${1:key},${2:value}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.Reject" ".reject { |,| }" r -`!p snip.rv=match.group(1)`.reject { |${1:key},${2:value}| ${3:# TODO} } -endsnippet - - - -snippet "(\S+)\.reject" ".reject do ,| end" r -`!p snip.rv=match.group(1)`.reject do |${1:key},${2:value}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.Select" ".select { || }" r -`!p snip.rv=match.group(1)`.select { |${1:item}| ${2:block} } -endsnippet - - - -snippet "(\S+)\.select" ".select do || end" r -`!p snip.rv=match.group(1)`.select do |${1:item}| - ${0:block} -end -endsnippet - - - -snippet "(\S+)\.Sort" ".sort { |
    ,| }" r -`!p snip.rv=match.group(1)`.sort { |${1:a},${2:b}| ${3:# TODO} } -endsnippet - - - -snippet "(\S+)\.sort" ".sort do |,| end" r -`!p snip.rv=match.group(1)`.sort do |${1:a},${2:b}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.Each_?k(ey)?" ".each_key { || }" r -`!p snip.rv=match.group(1)`.each_key { |${1:key}| ${2:# TODO} } -endsnippet - - - -snippet "(\S+)\.each_?k(ey)?" ".each_key do |key| end" r -`!p snip.rv=match.group(1)`.each_key do |${1:key}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.Each_?val(ue)?" ".each_value { || }" r -`!p snip.rv=match.group(1)`.each_value { |${1:value}| ${2:# TODO} } -endsnippet - - - -snippet "(\S+)\.each_?val(ue)?" ".each_value do || end" r -`!p snip.rv=match.group(1)`.each_value do |${1:value}| - ${0:# TODO} -end -endsnippet - - - -snippet Each ".each { || }" -${1:elements}.each { |${2:${1/s$//}}| ${3:# TODO} } -endsnippet - - - -snippet each ".each do || end" -${1:elements}.each do |${2:${1/s$//}}| - ${0:# TODO} -end -endsnippet - - - -snippet "each_?s(lice)?" ".each_slice(n) do |slice| end" r -${1:elements}.each_slice(${2:2}) do |${3:slice}| - ${0:# TODO} -end -endsnippet - - - -snippet "Each_?s(lice)?" ".each_slice(n) { |slice| }" r -${1:elements}.each_slice(${2:2}) { |${3:slice}| ${0:# TODO} } -endsnippet - - - - -snippet "(\S+)\.Map" ".map { || }" r -`!p snip.rv=match.group(1)`.map { |${1:`!p -element_name = match.group(1).lstrip('$@') -ematch = re.search("([A-Za-z][A-Za-z0-9_]+?)s?[^A-Za-z0-9_]*?$", element_name) -try: - wmatch = re.search("([A-Za-z][A-Za-z0-9_]+)$", ematch.group(1)) - snip.rv = wmatch.group(1).lower() -except: - snip.rv = 'element' -`}| ${2:# TODO} } -endsnippet - - - -snippet "(\S+)\.map" ".map do || end" r -`!p snip.rv=match.group(1)`.map do |${1:`!p -element_name = match.group(1).lstrip('$@') -ematch = re.search("([A-Za-z][A-Za-z0-9_]+?)s?[^A-Za-z0-9_]*?$", element_name) -try: - wmatch = re.search("([A-Za-z][A-Za-z0-9_]+)$", ematch.group(1)) - snip.rv = wmatch.group(1).lower() -except: - snip.rv = 'element' -`}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.Rev(erse)?_?each" ".reverse_each { || }" r -`!p snip.rv=match.group(1)`.reverse_each { |${1:`!p -element_name = match.group(1).lstrip('$@') -ematch = re.search("([A-Za-z][A-Za-z0-9_]+?)s?[^A-Za-z0-9_]*?$", element_name) -try: - wmatch = re.search("([A-Za-z][A-Za-z0-9_]+)$", ematch.group(1)) - snip.rv = wmatch.group(1).lower() -except: - snip.rv = 'element' -`}| ${2:# TODO} } -endsnippet - - - -snippet "(\S+)\.rev(erse)?_?each" ".reverse_each do || end" r -`!p snip.rv=match.group(1)`.reverse_each do |${1:`!p -element_name = match.group(1).lstrip('$@') -ematch = re.search("([A-Za-z][A-Za-z0-9_]+?)s?[^A-Za-z0-9_]*?$", element_name) -try: - wmatch = re.search("([A-Za-z][A-Za-z0-9_]+)$", ematch.group(1)) - snip.rv = wmatch.group(1).lower() -except: - snip.rv = 'element' -`}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.Each" ".each { || }" r -`!p snip.rv=match.group(1)`.each { |${1:`!p -element_name = match.group(1).lstrip('$@') -ematch = re.search("([A-Za-z][A-Za-z0-9_]+?)s?[^A-Za-z0-9_]*?$", element_name) -try: - wmatch = re.search("([A-Za-z][A-Za-z0-9_]+)$", ematch.group(1)) - snip.rv = wmatch.group(1).lower() -except: - snip.rv = 'element' -`}| ${2:# TODO} } -endsnippet - - - -snippet "(\S+)\.each" ".each do || end" r -`!p snip.rv=match.group(1)`.each do |${1:`!p -element_name = match.group(1).lstrip('$@') -ematch = re.search("([A-Za-z][A-Za-z0-9_]+?)s?[^A-Za-z0-9_]*?$", element_name) -try: - wmatch = re.search("([A-Za-z][A-Za-z0-9_]+)$", ematch.group(1)) - snip.rv = wmatch.group(1).lower() -except: - snip.rv = 'element' -`}| - ${0:# TODO} -end -endsnippet - - - - -snippet "(\S+)\.Each_?w(ith)?_?i(ndex)?" ".each_with_index { |,| }" r -`!p snip.rv=match.group(1)`.each_with_index { |${1:`!p -element_name = match.group(1).lstrip('$@') -ematch = re.search("([A-Za-z][A-Za-z0-9_]+?)s?[^A-Za-z0-9_]*?$", element_name) -try: - wmatch = re.search("([A-Za-z][A-Za-z0-9_]+)$", ematch.group(1)) - snip.rv = wmatch.group(1).lower() -except: - snip.rv = 'element' -`},${2:i}| ${3:# TODO} }$0 -endsnippet - - - -snippet "(\S+)\.each_?w(ith)?_?i(ndex)?" ".each_with_index do |,| end" r -`!p snip.rv=match.group(1)`.each_with_index do |${1:`!p -element_name = match.group(1).lstrip('$@') -ematch = re.search("([A-Za-z][A-Za-z0-9_]+?)s?[^A-Za-z0-9_]*?$", element_name) -try: - wmatch = re.search("([A-Za-z][A-Za-z0-9_]+)$", ematch.group(1)) - snip.rv = wmatch.group(1).lower() -except: - snip.rv = 'element' -`},${2:i}| - ${0:# TODO} -end -endsnippet - - - - -snippet "(\S+)\.Each_?p(air)?" ".each_pair { |,| }" r -`!p snip.rv=match.group(1)`.each_pair { |${1:key},${2:value}| ${3:# TODO} } -endsnippet - - - -snippet "(\S+)\.each_?p(air)?" ".each_pair do |,| end" r -`!p snip.rv=match.group(1)`.each_pair do |${1:key},${2:value}| - ${0:# TODO} -end -endsnippet - - - -snippet "(\S+)\.sub" ".sub() { }" r -`!p snip.rv=match.group(1)`.sub(${1:expression}) { ${2:"replace_with"} } -endsnippet - - - -snippet "(\S+)\.gsub" ".gsub() { }" r -`!p snip.rv=match.group(1)`.gsub(${1:expression}) { ${2:"replace_with"} } -endsnippet - - - -snippet "(\S+)\.index" ".index { |item| }" r -`!p snip.rv=match.group(1)`.index { |${1:item}| ${2:block} } -endsnippet - - - -snippet "(\S+)\.Index" ".index do |item| ... end" r -`!p snip.rv=match.group(1)`.index do |${1:item}| - ${0:block} -end -endsnippet - - - -snippet do "do || ... end" i -do |${1:args}| - $0 -end -endsnippet - - - -snippet Do "do ... end" i -do - $0 -end -endsnippet - - -snippet until "until ... end" -until ${1:expression} - ${0:# TODO} -end -endsnippet - - - -snippet Until "begin ... end until " -begin - ${0:# TODO} -end until ${1:expression} -endsnippet - - - -snippet while "while ... end" -while ${1:expression} - ${0:# TODO} -end -endsnippet - - - -snippet While "begin ... end while " -begin - ${0:# TODO} -end while ${1:expression} -endsnippet - - - -snippet "\b(r|attr)" "attr_reader :" r -attr_reader :${0:attr_names} -endsnippet - - - -snippet "\b(w|attr)" "attr_writer :" r -attr_writer :${0:attr_names} -endsnippet - - - -snippet "\b(rw|attr)" "attr_accessor :" r -attr_accessor :${0:attr_names} -endsnippet - - - -snippet begin "begin ... rescue ... end" -begin - ${1:# TODO} -rescue - ${0:# TODO} -end -endsnippet - - - -snippet begin "begin ... rescue ... else ... ensure ... end" -begin - ${1:# Raise exception} -rescue Exception => e - puts e.message - puts e.backtrace.inspect - ${2:# Rescue} -else - ${3:# other exception} -ensure - ${0:# always excute} -end -endsnippet - - - -snippet rescue -rescue Exception => e - puts e.message - puts e.backtrace.inspect - ${0:# Rescue} -endsnippet - - - -snippet "\b(case|sw(itch)?)" "case when ... end" r -case ${1:variable} -when ${2:expression} -$0 -end -endsnippet - - - -snippet alias "alias : :" -alias :${1:new_name} :${2:old_name} -endsnippet - - - -snippet class "class def initialize ... end end" -class ${1:class_name} - def initialize ${2:*args} - $0 - end -end -endsnippet - - - -snippet module "module" -module ${1:module_name} - $0 -end -endsnippet - - - -snippet ### -=begin - $0 -=end -endsnippet - -# vim: set ts=2 sw=2 expandtab: diff --git a/bundle/vim-snippets/UltiSnips/scss.snippets b/bundle/vim-snippets/UltiSnips/scss.snippets deleted file mode 100644 index f2142847..00000000 --- a/bundle/vim-snippets/UltiSnips/scss.snippets +++ /dev/null @@ -1,57 +0,0 @@ -extends css - -priority -50 - -snippet imp "@import '...';" b -@import '${1:file}'; -endsnippet - -snippet inc "@include mixin(...);" b -@include ${1:mixin}(${2:arguments}); -endsnippet - -snippet ext "@extend %placeholder;" b -@extend %${1:placeholder}; -endsnippet - -snippet mixin "@mixin (...) { ... }" b -@mixin ${1:name}(${2:arguments}) { - ${VISUAL}$0 -} -endsnippet - -snippet fun "@function (...) { ... }" b -@function ${1:name}(${2:arguments}) { - ${VISUAL}$0 -} -endsnippet - -snippet if "@if (...) { ... }" b -@if ${1:condition} { - ${VISUAL}$0 -} -endsnippet - -snippet else "@else { ... }" b -@else ${1:condition} { - ${VISUAL}$0 -} -endsnippet - -snippet for "@for loop" b -@for ${1:$i} from ${2:1} through ${3:3} { - ${VISUAL}$0 -} -endsnippet - -snippet each "@each loop" b -@each ${1:$item} in ${2:item, item, item} { - ${VISUAL}$0 -} -endsnippet - -snippet while "@while loop" b -@while ${1:$i} ${2:>} ${3:0} { - ${VISUAL}$0 -} -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/sh.snippets b/bundle/vim-snippets/UltiSnips/sh.snippets deleted file mode 100644 index 9cc45779..00000000 --- a/bundle/vim-snippets/UltiSnips/sh.snippets +++ /dev/null @@ -1,92 +0,0 @@ -priority -50 - -global !p -import vim - -# Tests for the existence of a variable declared by Vim's filetype detection -# suggesting the type of shell script of the current file -def testShell(scope, shell): - return vim.eval("exists('" + scope + ":is_" + shell + "')") - -# Loops over the possible variables, checking for global variables -# first since they indicate an override by the user. -def getShell(): - for scope in ["g", "b"]: - for shell in ["bash", "posix", "sh", "kornshell"]: - if testShell(scope, shell) == "1": - if shell == "kornshell": - return "ksh" - if shell == "posix": - return "sh" - return shell - return "sh" -endglobal - -########################################################################### -# TextMate Snippets # -########################################################################### -snippet #! -`!p snip.rv = '#!/bin/' + getShell() + "\n\n" ` -endsnippet - -snippet !env "#!/usr/bin/env (!env)" -`!p snip.rv = '#!/usr/bin/env ' + getShell() + "\n\n" ` -endsnippet - -snippet temp "Tempfile" -${1:TMPFILE}="$(mktemp -t ${2:`!p -snip.rv = re.sub(r'[^a-zA-Z]', '_', snip.fn) or "untitled" -`})" -${3:${4/(.+)/trap "/}${4:rm -f '$${1/.*\s//}'}${4/(.+)/" 0 # EXIT\n/}${5/(.+)/trap "/}${5:rm -f '$${1/.*\s//}'; exit 1}${5/(.+)/" 2 # INT\n/}${6/(.+)/trap "/}${6:rm -f '$${1/.*\s//}'; exit 1}${6/(.+)/" 1 15 # HUP TERM\n/}} - -endsnippet - -snippet case "case .. esac (case)" -case ${1:word} in - ${2:pattern} ) - $0;; -esac -endsnippet - -snippet elif "elif .. (elif)" -elif ${2:[[ ${1:condition} ]]}; then - ${0:#statements} -endsnippet - -snippet for "for ... done (for)" -for (( i = 0; i < ${1:10}; i++ )); do - ${0:#statements} -done -endsnippet - -snippet forin "for ... in ... done (forin)" -for ${1:i}${2/.+/ in /}${2:words}; do - ${0:#statements} -done -endsnippet - -snippet here "here document (here)" -<<-${2:'${1:TOKEN}'} - $0 -${1/['"`](.+)['"`]/$1/} -endsnippet - -snippet if "if ... then (if)" -if ${2:[[ ${1:condition} ]]}; then - ${0:#statements} -fi -endsnippet - -snippet until "until ... (done)" -until ${2:[[ ${1:condition} ]]}; do - ${0:#statements} -done -endsnippet - -snippet while "while ... (done)" -while ${2:[[ ${1:condition} ]]}; do - ${0:#statements} -done -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/snippets.snippets b/bundle/vim-snippets/UltiSnips/snippets.snippets deleted file mode 100644 index ee0c8c76..00000000 --- a/bundle/vim-snippets/UltiSnips/snippets.snippets +++ /dev/null @@ -1,21 +0,0 @@ -priority -50 - -# We use a little hack so that the snippet is expanded -# and parsed correctly -snippet snip "Snippet definition" b -`!p snip.rv = "snippet"` ${1:Tab_trigger} "${2:Description}" ${3:b} -$0 -`!p snip.rv = "endsnippet"` -endsnippet - -snippet global "Global snippet" b -`!p snip.rv = "global"` !p -$0 -`!p snip.rv = "endglobal"` -endsnippet - -snippet vis "${VISUAL}" i -\$\{VISUAL${1:${2:default}${3:/transform/}}\} -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/tcl.snippets b/bundle/vim-snippets/UltiSnips/tcl.snippets deleted file mode 100644 index 65849157..00000000 --- a/bundle/vim-snippets/UltiSnips/tcl.snippets +++ /dev/null @@ -1,52 +0,0 @@ -priority -50 - -########################################################################### -# TEXTMATE SNIPPETS # -########################################################################### -snippet for "for... (for)" b -for {${1:set i 0}} {${2:\$i < \$n}} {${3:incr i}} { - ${4} -} - -endsnippet - -snippet foreach "foreach... (foreach)" -foreach ${1:var} ${2:\$list} { - ${3} -} - -endsnippet - -snippet if "if... (if)" b -if {${1:condition}} { - ${2} -} - -endsnippet - -snippet proc "proc... (proc)" b -proc ${1:name} {${2:args}} \ -{ - ${3} -} - -endsnippet - -snippet switch "switch... (switch)" b -switch ${1:-exact} -- ${2:\$var} { - ${3:match} { - ${4} - } - default {${5}} -} - -endsnippet - -snippet while "while... (while)" b -while {${1:condition}} { - ${2} -} - -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/tex.snippets b/bundle/vim-snippets/UltiSnips/tex.snippets deleted file mode 100644 index ede9090d..00000000 --- a/bundle/vim-snippets/UltiSnips/tex.snippets +++ /dev/null @@ -1,110 +0,0 @@ -priority -50 - -extends texmath - -snippet "b(egin)?" "begin{} / end{}" br -\begin{${1:something}} - ${0:${VISUAL}} -\end{$1} -endsnippet - -snippet tab "tabular / array environment" b -\begin{${1:t}${1/(t)$|(a)$|(.*)/(?1:abular)(?2:rray)/}}{${2:c}} -$0${2/((?<=.)c|l|r)|./(?1: & )/g} -\end{$1${1/(t)$|(a)$|(.*)/(?1:abular)(?2:rray)/}} -endsnippet - -snippet fig "Figure environment" b -\begin{figure}${2:[htpb]} - \centering - \includegraphics[width=${3:0.8}\linewidth]{${4:name.ext}} - \caption{${4/(\w+)\.\w+/\u$1/}$0} - \label{fig:${4/(\w+)\.\w+/$1/}} -\end{figure} -endsnippet - -snippet enum "Enumerate" b -\begin{enumerate} - \item $0 -\end{enumerate} -endsnippet - -snippet item "Itemize" b -\begin{itemize} - \item $0 -\end{itemize} -endsnippet - -snippet desc "Description" b -\begin{description} - \item[$1] $0 -\end{description} -endsnippet - -snippet it "Individual item" b -\item ${1} -$0 -endsnippet - -snippet part "Part" b -\part{${1:part name}} -\label{prt:${2:${1/(\w+)|\W+/(?1:\L$0\E:_)/ga}}} - -${0} -endsnippet - -snippet cha "Chapter" b -\chapter{${1:chapter name}} -\label{cha:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3\E)/ga}}} - -${0} -endsnippet - -snippet sec "Section" b -\section{${1:section name}} -\label{sec:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3\E)/ga}}} - -${0} -endsnippet - -snippet sub "Subsection" b -\subsection{${1:subsection name}} -\label{sub:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3\E)/ga}}} - -${0} -endsnippet - -snippet ssub "Subsubsection" b -\subsubsection{${1:subsubsection name}} -\label{ssub:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3\E)/ga}}} - -${0} -endsnippet - -snippet par "Paragraph" b -\paragraph{${1:paragraph name}} -\label{par:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3\E)/ga}}} - -${0} -endsnippet - -snippet subp "Subparagraph" b -\subparagraph{${1:subparagraph name}} -\label{par:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3\E)/ga}}} - -${0} -endsnippet - -snippet ni "Non-indented paragraph" b -\noindent -${0} -endsnippet - -snippet pac "Package" b -\usepackage[${1:options}]{${2:package}}$0 -endsnippet - -snippet lp "Long parenthesis" -\left(${1:${VISUAL:contents}}\right)$0 -endsnippet -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/texmath.snippets b/bundle/vim-snippets/UltiSnips/texmath.snippets deleted file mode 100644 index d0a25e9a..00000000 --- a/bundle/vim-snippets/UltiSnips/texmath.snippets +++ /dev/null @@ -1,56 +0,0 @@ -priority -50 - -############## -# MATH STUFF # -############## -snippet eq "Equation" b -\begin{equation} - $0 -\end{equation} -endsnippet - -snippet eqnn "Equation without number" b -\begin{equation*} - $0 -\end{equation*} -endsnippet - -snippet eqa "Equation array" b -\begin{eqnarray} - $1 & $2 & $0 -\end{eqnarray} -endsnippet - -snippet eqann "Equation array without numbers" b -\begin{eqnarray*} - $1 & $2 & $0 -\end{eqnarray*} - -endsnippet -snippet frac "Fraction" w -\frac{${1:${VISUAL:nom}}}{${2:denom}} -endsnippet - -snippet mat "Smart Matrix" -\begin{${1:p/b/v/V/B/small}matrix} - $0 -\end{$1matrix} -endsnippet - -snippet lr( "left( right)" w -\left( ${1:${VISUAL}} \right) -endsnippet - -snippet lr| "left| right|" w -\left| ${1:${VISUAL}} \right| -endsnippet - -snippet lr{ "left\{ right\}" w -\left\\{ ${1:${VISUAL}} \right\\} -endsnippet - -snippet lr[ "left[ right]" w -\left[ ${1:${VISUAL}} \right] -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/twig.snippets b/bundle/vim-snippets/UltiSnips/twig.snippets deleted file mode 100644 index 156b981b..00000000 --- a/bundle/vim-snippets/UltiSnips/twig.snippets +++ /dev/null @@ -1,35 +0,0 @@ -priority -50 - -snippet bl "twig block" b -{% block ${1} %} -${2} -{% endblock $1 %} -endsnippet - -snippet js "twig javascripts" b -{% javascripts '${1}' %} - -{% endjavascripts %} -endsnippet - -snippet css "twig stylesheets" b -{% stylesheets '${1}' %} - -{% endstylesheets %} -endsnippet - -snippet if "twig if" b -{% if ${1} %} -${2} -{% endif %} -endsnippet - -snippet for "twig for" b -{% for ${1} in ${2} %} -${3} -{% endfor %} -endsnippet - -snippet ext "twig extends" b -{% extends ${1} %} -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/vim.snippets b/bundle/vim-snippets/UltiSnips/vim.snippets deleted file mode 100644 index dbb2396d..00000000 --- a/bundle/vim-snippets/UltiSnips/vim.snippets +++ /dev/null @@ -1,24 +0,0 @@ -priority -50 - -########################################################################### -# SnipMate Snippets # -########################################################################### -snippet gvar "Global / configuration variable" b -if !exists("g:${1:MyUltraImportantVar}") - let g:$1 = ${2:"${3:}"} -endif -endsnippet - -snippet guard "script reload guard" b -if exists('${1:did_`!p snip.rv = snip.fn.replace('.','_')`}') || &cp${2: || version < 700} - finish -endif -let $1 = 1${3} -endsnippet - -snippet f "function" b -fun ${1:function_name}(${2}) - ${3:" code} -endf -endsnippet -# vim:ft=snippets: diff --git a/bundle/vim-snippets/UltiSnips/xhtml.snippets b/bundle/vim-snippets/UltiSnips/xhtml.snippets deleted file mode 100644 index a9c5a29a..00000000 --- a/bundle/vim-snippets/UltiSnips/xhtml.snippets +++ /dev/null @@ -1,3 +0,0 @@ -priority -50 - -extends html diff --git a/bundle/vim-snippets/UltiSnips/xml.snippets b/bundle/vim-snippets/UltiSnips/xml.snippets deleted file mode 100644 index 92dfb6e1..00000000 --- a/bundle/vim-snippets/UltiSnips/xml.snippets +++ /dev/null @@ -1,16 +0,0 @@ -priority -50 - -snippet xml "XML declaration" b - - -endsnippet - -snippet t "Simple tag" b -<${1:tag}> - ${2:content} - -endsnippet - -snippet ti "Inline tag" b -<${1:tag}>${2:content} -endsnippet diff --git a/bundle/vim-snippets/UltiSnips/zsh.snippets b/bundle/vim-snippets/UltiSnips/zsh.snippets deleted file mode 100644 index f7986ea5..00000000 --- a/bundle/vim-snippets/UltiSnips/zsh.snippets +++ /dev/null @@ -1,17 +0,0 @@ -priority -50 - -extends sh - -priority -49 - -snippet #! "shebang" b -#!/bin/zsh - -endsnippet - -snippet !env "#!/usr/bin/env (!env)" b -#!/usr/bin/env zsh - -endsnippet - -# vim:ft=snippets: diff --git a/bundle/vim-snippets/addon-info.json b/bundle/vim-snippets/addon-info.json deleted file mode 100644 index 303bf285..00000000 --- a/bundle/vim-snippets/addon-info.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name" : "snipmate-snippets", - "author" : "community", - "maintainer" : "honza @ github & others", - "repository" : {"type": "git", "url": "git://github.com/honza/snipmate-snippets.git"}, - "dependencies" : { - }, - "description" : "community driven set of snippets for snipmate" -} diff --git a/bundle/vim-snippets/autoload/vim_snippets.vim b/bundle/vim-snippets/autoload/vim_snippets.vim deleted file mode 100644 index 061f171e..00000000 --- a/bundle/vim-snippets/autoload/vim_snippets.vim +++ /dev/null @@ -1,27 +0,0 @@ -" this is well known Filename found in snipmate (and the other engines), but -" rewritten and documented :) -" -" optional arg1: string in which to replace '$1' by filename with extension -" and path dropped. Defaults to $1 -" optional arg2: return this value if buffer has no filename -" But why not use the template in this case, too? -" Doesn't make sense to me -fun! vim_snippets#Filename(...) - let template = get(a:000, 0, "$1") - let arg2 = get(a:000, 1, "") - - let basename = expand('%:t:r') - - if basename == '' - return arg2 - else - return substitute(template, '$1', basename, 'g') - endif -endf - -" original code: -" fun! Filename(...) -" let filename = expand('%:t:r') -" if filename == '' | return a:0 == 2 ? a:2 : '' | endif -" return !a:0 || a:1 == '' ? filename : substitute(a:1, '$1', filename, 'g') -" endf diff --git a/bundle/vim-snippets/snippets/_.snippets b/bundle/vim-snippets/snippets/_.snippets deleted file mode 100644 index 85616018..00000000 --- a/bundle/vim-snippets/snippets/_.snippets +++ /dev/null @@ -1,259 +0,0 @@ -# Global snippets - -# (c) holds no legal value ;) -snippet c) - Copyright `&enc[:2] == "utf" ? "©" : "(c)"` `strftime("%Y")` ${1:`g:snips_author`}. All Rights Reserved. -snippet date - `strftime("%Y-%m-%d")` -snippet ddate - `strftime("%B %d, %Y")` -snippet time - `strftime("%H:%M")` -snippet datetime - `strftime("%Y-%m-%d %H:%M")` -snippet lorem - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -snippet GPL2 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see . - - ${0} -snippet LGPL2 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, see . - - ${0} -snippet GPL3 - ${1:one line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - - ${0} -snippet LGPL3 - ${1:One line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, see . - - ${0} -snippet AGPL3 - ${1:one line to give the program's name and a brief description.} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . - - ${0} -snippet BSD2 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - The views and conclusions contained in the software and documentation - are those of the authors and should not be interpreted as representing - official policies, either expressedor implied, of $2. - - ${0} -snippet BSD3 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. Neither the name of the ${3:organization} nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ${0} -snippet BSD4 - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. All advertising materials mentioning features or use of this software - must display the following acknowledgement: - This product includes software developed by the ${3:organization}. - 4. Neither the name of the $3 nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY $2 ''AS IS'' AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL $2 BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ${0} -snippet MIT - ${1:one line to give the program's name and a brief description} - Copyright (C) `strftime("%Y")` ${2:copyright holder} - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE - OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ${0} -snippet APACHE - ${1:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${2:copyright holder} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - ${0} -snippet BEERWARE - ${2:one line to give the program's name and a brief description} - Copyright `strftime("%Y")` ${3:copyright holder} - - Licensed under the "THE BEER-WARE LICENSE" (Revision 42): - ${1:`g:snips_author`} wrote this file. As long as you retain this notice you - can do whatever you want with this stuff. If we meet some day, and you think - this stuff is worth it, you can buy me a beer or coffee in return - - ${0} - -snippet WTFPL - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright `strftime("%Y")` ${0:copyright holder} - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/bundle/vim-snippets/snippets/actionscript.snippets b/bundle/vim-snippets/snippets/actionscript.snippets deleted file mode 100644 index 6b1d8ebe..00000000 --- a/bundle/vim-snippets/snippets/actionscript.snippets +++ /dev/null @@ -1,157 +0,0 @@ -snippet main - package { - import flash.display.*; - import flash.Events.*; - - public class Main extends Sprite { - public function Main ( ) { - trace("start"); - stage.scaleMode = StageScaleMode.NO_SCALE; - stage.addEventListener(Event.RESIZE, resizeListener); - } - - private function resizeListener (e:Event):void { - trace("The application window changed size!"); - trace("New width: " + stage.stageWidth); - trace("New height: " + stage.stageHeight); - } - - } - - } -snippet class - ${1:public|internal} class ${2:name} ${0:extends } { - public function $2 ( ) { - ("start"); - } - } -snippet all - package name { - - ${1:public|internal|final} class ${2:name} ${0:extends } { - private|public| static const FOO = "abc"; - private|public| static var BAR = "abc"; - - // class initializer - no JIT !! one time setup - if Cababilities.os == "Linux|MacOS" { - FOO = "other"; - } - - // constructor: - public function $2 ( ){ - super2(); - trace("start"); - } - public function name (a, b...){ - super.name(..); - lable:break - } - } - } - - function A(){ - // A can only be accessed within this file - } -snippet switch - switch(${1}){ - case ${2}: - ${0} - break; - default: - } -snippet case - case ${1}: - ${0} - break; -snippet package - package ${1:package}{ - ${0} - } -snippet wh - while ${1:cond}{ - ${0} - } -snippet do - do { - ${0} - } while (${1:cond}) -snippet wh - while ${1:cond}{ - ${0} - } -snippet for enumerate names - for (${1:var} in ${2:object}){ - ${0} - } -snippet for enumerate values - for each (${1:var} in ${2:object}){ - ${0} - } -snippet get_set - function get ${1:name} { - return ${2} - } - function set $1 (newValue) { - ${0} - } -snippet interface - interface name { - function method(${1}):${0:returntype}; - } -snippet try - try { - ${1} - } catch (error:ErrorType) { - ${2} - } finally { - ${0} - } -# For Loop (same as c.snippet) -snippet for for (..) {..} - for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) { - ${0} - } -# Custom For Loop -snippet forr - for (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) { - ${0} - } -# If Condition -snippet if - if (${1:/* condition */}) { - ${0} - } -snippet el - else { - ${0} - } -# Ternary conditional -snippet t - ${1:/* condition */} ? ${2:a} : ${0:b} -snippet fun - function ${1:function_name}(${2})${3} - { - ${0} - } -# FlxSprite (usefull when using the flixel library) -snippet FlxSprite - package - { - import org.flixel.* - - public class ${1:ClassName} extends ${2:FlxSprite} - { - public function $1(${3: X:Number, Y:Number}):void - { - super(X,Y); - ${4} - } - - override public function update():void - { - super.update(); - ${0} - } - } - } - diff --git a/bundle/vim-snippets/snippets/apache.snippets b/bundle/vim-snippets/snippets/apache.snippets deleted file mode 100644 index db3256e9..00000000 --- a/bundle/vim-snippets/snippets/apache.snippets +++ /dev/null @@ -1,35 +0,0 @@ -# Snippets for code blocks used oftenly in Apache files. -# -snippet dir - - DirectoryIndex ${0:index.html} - Order Deny,Allow - Deny from All - -# -snippet filesmatch - - ${0} - -# -snippet ifmodule - - ${0} - -# -snippet limitexcept - - ${0} - -# -snippet proxy - - ${0} - -# -snippet virtualhost - - ServerAdmin ${3:webmaster@example.com} - DocumentRoot ${4:/www/example.com} - ServerName ${0:www.example.com} - diff --git a/bundle/vim-snippets/snippets/autoit.snippets b/bundle/vim-snippets/snippets/autoit.snippets deleted file mode 100644 index f973fbc3..00000000 --- a/bundle/vim-snippets/snippets/autoit.snippets +++ /dev/null @@ -1,66 +0,0 @@ -snippet if - If ${1:condition} Then - ${0:; True code} - EndIf -snippet el - Else - ${0} -snippet eif - ElseIf ${1:condition} Then - ${0:; True code} -# If/Else block -snippet ife - If ${1:condition} Then - ${2:; True code} - Else - ${0:; Else code} - EndIf -# If/ElseIf/Else block - because there is eif this is not really neccessary -snippet ifelif - If ${1:condition 1} Then - ${2:; True code} - ElseIf ${3:condition 2} Then - ${4:; True code} - Else - ${0:; Else code} - EndIf -# Switch block -snippet switch - Switch (${1:condition}) - Case ${2:case1}: - ${3:; Case 1 code} - Case Else: - ${0:; Else code} - EndSwitch -# Select block -snippet select - Select (${1:condition}) - Case ${2:case1}: - ${3:; Case 1 code} - Case Else: - ${0:; Else code} - EndSelect -# While loop -snippet wh - While (${1:condition}) - ${0:; code...} - WEnd -# For loop -snippet for - For ${1:n} = ${3:1} to ${2:count} - ${0:; code...} - Next -# New Function -snippet func - Func ${1:fname}(${2:`indent('.') ? 'self' : ''`}): - ${0:Return} - EndFunc -# Message box -snippet msg - MsgBox(${0:MsgType}, ${1:"Title"}, ${2:"Message Text"}) -# Debug Message -snippet debug - MsgBox(0, "Debug", ${0:"Debug Message"}) -# Show Variable Debug Message -snippet showvar - MsgBox(0, "${0:VarName}", $1) diff --git a/bundle/vim-snippets/snippets/c.snippets b/bundle/vim-snippets/snippets/c.snippets deleted file mode 100644 index 96e19a0a..00000000 --- a/bundle/vim-snippets/snippets/c.snippets +++ /dev/null @@ -1,237 +0,0 @@ -## Main -# main -snippet main - int main(int argc, const char *argv[]) - { - ${0} - return 0; - } -# main(void) -snippet mainn - int main(void) - { - ${0} - return 0; - } -## -## Preprocessor -# #include <...> -snippet inc - #include <${1:stdio}.h> -# #include "..." -snippet Inc - #include "${1:`vim_snippets#Filename("$1.h")`}" -# ifndef...define...endif -snippet ndef - #ifndef $1 - #define ${1:SYMBOL} ${2:value} - #endif -# define -snippet def - #define -# ifdef...endif -snippet ifdef - #ifdef ${1:FOO} - ${2:#define } - #endif -# if -snippet #if - #if ${1:FOO} - ${0} - #endif -# header include guard -snippet once - #ifndef ${1:`toupper(vim_snippets#Filename('$1_H', 'UNTITLED_H'))`} - - #define $1 - - ${0} - - #endif /* end of include guard: $1 */ -## -## Control Statements -# if -snippet if - if (${1:/* condition */}) { - ${2} - } -# else -snippet el - else { - ${1} - } -# else if -snippet elif - else if (${1:/* condition */}) { - ${2} - } -# ifi -snippet ifi - if (${1:/* condition */}) ${2}; -# ternary -snippet t - ${1:/* condition */} ? ${2:a} : ${3:b} -# switch -snippet switch - switch (${1:/* variable */}) { - case ${2:/* variable case */}: - ${3} - ${4:break;}${5} - default: - ${6} - } -# switch without default -snippet switchndef - switch (${1:/* variable */}) { - case ${2:/* variable case */}: - ${3} - ${4:break;}${5} - } -# case -snippet case - case ${1:/* variable case */}: - ${2} - ${3:break;} -## -## Loops -# for -snippet for - for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) { - ${4} - } -# for (custom) -snippet forr - for (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) { - ${5} - } -# while -snippet wh - while (${1:/* condition */}) { - ${2} - } -# do... while -snippet do - do { - ${2} - } while (${1:/* condition */}); -## -## Functions -# function definition -snippet fun - ${1:void} ${2:function_name}(${3}) - { - ${4} - } -# function declaration -snippet fund - ${1:void} ${2:function_name}(${3}); -## -## Types -# typedef -snippet td - typedef ${1:int} ${2:MyCustomType}; -# struct -snippet st - struct ${1:`vim_snippets#Filename('$1_t', 'name')`} { - ${2:/* data */} - }${3: /* optional variable list */}; -# typedef struct -snippet tds - typedef struct ${2:_$1 }{ - ${3:/* data */} - } ${1:`vim_snippets#Filename('$1_t', 'name')`}; -# typedef enum -snippet tde - typedef enum { - ${1:/* data */} - } ${2:foo}; -## -## Input/Output -# printf -snippet pr - printf("${1:%s}\n"${2}); -# fprintf (again, this isn't as nice as TextMate's version, but it works) -snippet fpr - fprintf(${1:stderr}, "${2:%s}\n"${3}); -# getopt -snippet getopt - int choice; - while (1) - { - static struct option long_options[] = - { - /* Use flags like so: - {"verbose", no_argument, &verbose_flag, 'V'}*/ - /* Argument styles: no_argument, required_argument, optional_argument */ - {"version", no_argument, 0, 'v'}, - {"help", no_argument, 0, 'h'}, - ${1} - {0,0,0,0} - }; - - int option_index = 0; - - /* Argument parameters: - no_argument: " " - required_argument: ":" - optional_argument: "::" */ - - choice = getopt_long( argc, argv, "vh", - long_options, &option_index); - - if (choice == -1) - break; - - switch( choice ) - { - case 'v': - ${2} - break; - - case 'h': - ${3} - break; - - case '?': - /* getopt_long will have already printed an error */ - break; - - default: - /* Not sure how to get here... */ - return EXIT_FAILURE; - } - } - - /* Deal with non-option arguments here */ - if ( optind < argc ) - { - while ( optind < argc ) - { - ${0} - } - } -## -## Miscellaneous -# This is kind of convenient -snippet . - [${1}] -# GPL -snippet gpl - /* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see . - * - * Copyright (C) ${1:Author}, `strftime("%Y")` - */ - - ${0} diff --git a/bundle/vim-snippets/snippets/chef.snippets b/bundle/vim-snippets/snippets/chef.snippets deleted file mode 100644 index 429146ad..00000000 --- a/bundle/vim-snippets/snippets/chef.snippets +++ /dev/null @@ -1,204 +0,0 @@ -# Opscode Chef Cookbook Recipe Resources -# Snippet by: Mike Smullin -# Based on: http://wiki.opscode.com/display/chef/Resources - -# @TODO: Include Meta attributes and actions in all snippets -# @TODO: Finish writing snippets for remaining Resources - -snippet cookbook_file - # Cookbook File resource - cookbook_file ${1:"/path/to/file"} do # The remote path where the file will reside - ${2:#}backup ${3} # How many backups of this file to keep. Set to false if you want no backups - ${4:#}group ${5} # The group owner of the file (string or id) - ${6:#}mode ${7} # The octal mode of the file - e.g. 0755 - ${8:#}owner ${9} # The owner for the file - ${10:#}source ${11} # The basename of the source file - ${12:#}cookbook ${13} # The cookbook this file is stored in - - ${14:#}${15: action :create} # Create this file (Default) - ${16:#}${17: action :create_if_missing} # Create only if it doesn't exist yet - ${18:#}${0: action :delete} # Delete this file - end - -snippet execute - # Execute resource - execute ${1:"command to execute"} do # The command to execute - ${2:#}creates ${3:nil} # A file this command creates - if the file exists, the command will not be run. - ${4:#}cwd ${5:nil} # Current working directory to run the command from. - ${6:#}environment ${7:nil} # A hash of environment variables to set before running this command. - ${8:#}group ${9:nil} # A group name or group ID that we should change to before running this command. - ${10:#}path ${11:nil} # An array of paths to use when searching for the command. Nil uses system path. - ${12:#}returns ${13:0} # The return value of the command - this resource raises an exception if the return value does not match. - ${14:#}timeout ${15:nil} # How many seconds to let the command run before timing it out. - ${16:#}user ${17:nil} # A user name or user ID that we should change to before running this command. - ${18:#}umask ${19:nil} # Umask for files created by the command - - ${20:#}${21:action :run} # Run this command (Default) - ${22:#}${0:action :nothing} # Do not run this command - end - -snippet link - # Link resource - link ${1:"/target/file"} do # The file name of the link - ${2:#}to ${3} # The real file you want to link to - ${4:#}link_type ${5:symbolic} # Either :symbolic or :hard - ${6:#}owner ${7} # The owner of the symlink - ${8:#}group ${9} # The group of the symlink - - ${10:#}${11:action :create} # Create a link (Default) - ${12:#}${0:action :delete} # Delete a link - end - -snippet package - # Package resource - package ${1:"package_name"} do # Name of the package to install - ${2:#}version ${3:nil} # The version of the package to install/upgrade - ${4:#}response_file ${5:nil} # An optional response file - used to pre-seed packages (note: the file is fetched by Remote File) - ${6:#}source ${7} # Used to provide an optional package source for providers that use a local file (rubygems, dpkg and rpm) - ${8:#}options ${9:nil} # Add additional options to the underlying package command - ${10:#}gem_binary ${11:gem} # A gem_package attribut to specify a gem binary. Useful for installing ruby 1.9 gems while running chef in ruby 1.8 - - ${12:#}${13:action :install} # Install a package - if version is provided, install that specific version (Default) - ${14:#}${15:action :upgrade} # Upgrade a package - if version is provided, upgrade to that specific version - ${16:#}${17:action :remove} # Remove a package - ${18:#}${0:action :purge} # Purge a package (this usually entails removing configuration files as well as the package itself) - end - -snippet service - # Service resource - service ${1:"service_name"} do # Name of the service - ${2:#}enabled ${3:nil} # Whether the service is enabled at boot time - ${4:#}running ${5:nil} # Make sure the service is running. Start if stopped - ${6:#}pattern ${7} # Pattern to look for in the process table - ${8:#}start_command ${9:nil} # Command used to start this service - ${10:#}stop_command ${11:nil} # Command used to stop this service - ${12:#}status_command ${13:nil} # Command used to check the service run status - ${14:#}restart_command ${15:nil} # Command used to restart this service - ${16:#}reload_command ${17:nil} # Command used to tell this service to reload its configuration - ${18:#}supports ${19:false} # Features this service supports, ie :restart, :reload, :status - - ${20:#}${21:action :enable} # Enable this service - ${22:#}${23:action :disable} # Disable this service - ${24:#}${25:action :nothing} # Don't do anything with this service (Default) - ${26:#}${27:action :start} # Start this service - ${28:#}${29:action :stop} # Stop this service - ${30:#}${31:action :restart} # Restart this service - ${32:#}${0:action :reload} # Reload the configuration for this service - end - -snippet file - # File resource - file ${1:"/path/to/file"} do # Path to the file - ${2:#}backup ${3:5} # How many backups of this file to keep. Set to false if you want no backups. - ${4:#}owner ${5} # The owner for the file - ${6:#}group ${7} # The group owner of the file (string or id) - ${8:#}mode ${9} # The octal mode of the file (4-digit format) - ${10:#}content ${11:nil} # A string to write to the file. This will replace any previous content if set - - ${12:#}${13:action :create} # Create this file (Default) - ${14:#}${15:action :delete} # Delete this file - ${16:#}${0:action :touch} # Touch this file (update the mtime/atime) - end - -snippet directory - # Directory resource - directory ${1:"/path/to/dir"} do # The path to the directory - ${2:#}group ${3} # The group owner of the directory (string or id) - ${4:#}mode ${5} # The octal mode of the directory, eg 0755 - ${6:#}owner ${7} # The owner for the directory - ${10:#}recursive ${11:false} # When deleting the directory, delete it recursively. When creating the directory, create recursively (ie, mkdir -p) - - ${12:#}${13:action :create} # Create this directory (Default) - ${14:#}${0:action :delete} # Delete this directory - end - -snippet template - # Template resource - template ${1:"/path/to/file"} do # Path to the file - ${2:#}cookbook ${3:nil} # Specify the cookbook where the template is located, default is current cookbook - ${4:#}source ${5:nil} # Template source file. Found in templates/default for the cookbook - ${6:#}variables ${7} # Variables to use in the template - ${8:#}local ${9:false} # Is the template already present on the node? - ${10:#}backup ${11:5} # How many backups of this file to keep. Set to false if you want no backups. - ${12:#}owner ${13} # The owner for the file - ${14:#}group ${15} # The group owner of the file (string or id) - ${16:#}mode ${17} # The octal mode of the file (4-digit format) - ${18:#}content ${19:nil} # A string to write to the file. This will replace any previous content if set - - ${20:#}${21:action :create} # Create the file (Default) - ${22:#}${23:action :delete} # Delete this file - ${24:#}${0:action :touch} # Touch this file (update the mtime/atime) - end - -snippet svn - # SCM Resource, Chef::Provider::Subversion - svn ${1:"/destination/path"} do # Path to clone/checkout/export the source to - ${2:#}repository ${3} # URI of the repository - ${4:#}revision ${5:"HEAD"} # revision to checkout. can be symbolic, like "HEAD" or an SCM specific revision id - ${6:#}reference ${7} # (Git only) alias for revision - ${8:#}user ${9:nil} # System user to own the checked out code - ${10:#}group ${11:nil} # System group to own the checked out code - ${12:#}svn_username ${13} # (Subversion only) Username for Subversion operations - ${14:#}svn_password ${15} # (Subversion only) Password for Subversion operations - ${16:#}svn_arguments ${17} # (Subversion only) Extra arguments passed to the subversion command - - ${18:#}${19:action :sync} # Update the source to the specified revision, or get a new checkout (Default) - ${20:#}${21:action :checkout} # Checkout the source. Does nothing if a checkout is available - ${22:#}${0:action :export} # Export the source, excluding or removing any version control artifacts - end - -snippet git - # SCM Resource, Chef::Provider::Git - git ${1:"/destination/path"} do # Path to clone/checkout/export the source to - ${2:#}repository ${3} # URI of the repository - ${4:#}revision ${5:"HEAD"} # revision to checkout. can be symbolic, like "HEAD" or an SCM specific revision id - ${6:#}reference ${7} # (Git only) alias for revision - ${8:#}user ${9:nil} # System user to own the checked out code - ${10:#}group ${11:nil} # System group to own the checked out code - ${12:#}depth ${13:nil} # (Git only) Number of past revisions to include in Git shallow clone - ${14:#}enable_submodules ${15:"false"} # (Git only) performs a submodule init and submodule update - ${16:#}remote ${17:"origin"} # (Git only) remote repository to use for syncing an existing clone - ${18:#}ssh_wrapper ${19} # (Git only) path to a wrapper script for running SSH with git. GIT_SSH environment variable is set to this. - - ${20:#}${21:action :sync} # Update the source to the specified revision, or get a new clone (Default) - ${22:#}${23:action :checkout} # Clone the source. Does nothing if a checkout is available - ${24:#}${0:action :export} # Export the source, excluding or removing any version control artifacts - end - -snippet deploy - # Deploy resource - deploy ${1:"/deploy/dir/"} do # Path to deploy to - ${2:#}deploy_to ${3} # The "meta root" for your application. - ${4:#}repository ${5} # URI of the repository - ${6:#}repo ${7} # alias for repository - ${8:#}revision ${9:"HEAD"} # revision to checkout. can be symbolic, like "HEAD" or an SCM specific revision id - ${10:#}branch ${11} # alias for revision - ${12:#}user ${13:nil} # System user to run the deploy as - ${14:#}group ${15:nil} # System group to run the deploy as - ${16:#}svn_username ${17} # (Subversion only) Username for Subversion operations} - ${18:#}svn_password ${19} # (Subversion only) Password for Subversion operations} - ${20:#}svn_arguments ${21} # (Subversion only) Extra arguments passed to the subversion command} - ${22:#}shallow_clone ${23:nil} # (Git only) boolean, true sets clone depth to 5 - ${24:#}enable_submodules ${25:false} # (Git only) performs a submodule init and submodule update - ${26:#}remote ${27:"origin"} # (Git only) remote repository to use for syncing an existing clone - ${28:#}ssh_wrapper ${29} # (Git only) path to a wrapper script for running SSH with git. GIT_SSH environment variable is set to this. - ${30:#}git_ssh_wrapper ${31} # alias for ssh_wrapper - ${32:#}scm_provider ${33:Chef::Provider::Git} # SCM Provider to use. - ${34:#}repository_cache ${35: "cached-copy"} # Name of the subdirectory where the pristine copy of your app's source is kept - ${36:#}environment ${37} # A hash of the form {"ENV_VARIABLE"=>"VALUE"}} - ${38:#}purge_before_symlink ${39:%w(log tmp/pids public/system)} # An array of paths, relative to app root, to be removed from a checkout before symlinking - ${40:#}create_dirs_before_symlink ${41:%w(tmp public config)} # Directories to create before symlinking. Runs after purge_before_symlink - ${42:#}symlinks ${43:"system" => "public/system", "pids" => "tmp/pids", "log" => "log"} # A hash that maps files in the shared directory to their paths in the current release - ${44:#}symlink_before_migrate ${45:"config/database.yml" => "config/database.yml"} # A hash that maps files in the shared directory into the current release. Runs before migration - ${46:#}migrate ${47:false} # Should the migration command be executed? (true or false) - ${48:#}migration_command ${49} # A string containing a shell command to execute to run the migration - ${50:#}restart_command ${51:nil} # A code block to evaluate or a string containing a shell command - ${52:#}before_migrate ${53:"deploy/before_migrate.rb"} # A block or path to a file containing chef code to run before migrating - ${54:#}before_symlink ${55:"deploy/before_symlink.rb"} # A block or path to a file containing chef code to run before symlinking - ${56:#}before_restart ${57:"deploy/before_restart.rb"} # A block or path to a file containing chef code to run before restarting - ${58:#}after_restart ${59:"deploy/after_restart.rb"} # A block or path to a file containing chef code to run after restarting - - ${60:#}${61::deploy} # Deploy the application (Default) - ${62:#}${63::force_deploy} # For the revision deploy strategy, this removes any existing release of the same code version and re-deploys in its place - ${64:#}${0::rollback} # Rollback the application to the previous release - end diff --git a/bundle/vim-snippets/snippets/clojure.snippets b/bundle/vim-snippets/snippets/clojure.snippets deleted file mode 100644 index 6fd653fc..00000000 --- a/bundle/vim-snippets/snippets/clojure.snippets +++ /dev/null @@ -1,90 +0,0 @@ -snippet comm - (comment - ${0} - ) -snippet condp - (condp ${1:pred} ${2:expr} - ${0}) -snippet def - (def ${0}) -snippet defm - (defmethod ${1:multifn} "${2:doc-string}" ${3:dispatch-val} [${4:args}] - ${0}) -snippet defmm - (defmulti ${1:name} "${2:doc-string}" ${0:dispatch-fn}) -snippet defma - (defmacro ${1:name} "${2:doc-string}" ${0:dispatch-fn}) -snippet defn - (defn ${1:name} "${2:doc-string}" [${3:arg-list}] - ${0}) -snippet defp - (defprotocol ${1:name} - ${0}) -snippet defr - (defrecord ${1:name} [${2:fields}] - ${3:protocol} - ${0}) -snippet deft - (deftest ${1:name} - (is (= ${2:assertion}))) - ${0}) -snippet is - (is (= ${1} ${0})) -snippet defty - (deftype ${1:Name} [${2:fields}] - ${3:Protocol} - ${0}) -snippet doseq - (doseq [${1:elem} ${2:coll}] - ${0}) -snippet fn - (fn [${1:arg-list}] ${0}) -snippet if - (if ${1:test-expr} - ${2:then-expr} - ${0:else-expr}) -snippet if-let - (if-let [${1:result} ${2:test-expr}] - (${3:then-expr} $1) - (${0:else-expr})) -snippet imp - (:import [${1:package}]) - & {:keys [${1:keys}] :or {${0:defaults}}} -snippet let - (let [${1:name} ${2:expr}] - ${0}) -snippet letfn - (letfn [(${1:name) [${2:args}] - ${0})]) -snippet map - (map ${1:func} ${0:coll}) -snippet mapl - (map #(${1:lambda}) ${0:coll}) -snippet met - (${1:name} [${2:this} ${3:args}] - ${0}) -snippet ns - (ns ${1:name} - ${0}) -snippet dotimes - (dotimes [_ 10] - (time - (dotimes [_ ${1:times}] - ${0}))) -snippet pmethod - (${1:name} [${2:this} ${0:args}]) -snippet refer - (:refer-clojure :exclude [${0}]) -snippet require - (:require [${1:namespace} :as [${0}]]) -snippet use - (:use [${1:namespace} :only [${0}]]) -snippet print - (println ${0}) -snippet reduce - (reduce ${1:(fn [p n] ${3})} ${2}) -snippet when - (when ${1:test} ${0:body}) -snippet when-let - (when-let [${1:result} ${2:test}] - ${0:body}) diff --git a/bundle/vim-snippets/snippets/cmake.snippets b/bundle/vim-snippets/snippets/cmake.snippets deleted file mode 100644 index ef2256a4..00000000 --- a/bundle/vim-snippets/snippets/cmake.snippets +++ /dev/null @@ -1,58 +0,0 @@ -snippet cmake - CMAKE_MINIMUM_REQUIRED(VERSION 2.6) - PROJECT(${1:ProjectName}) - - FIND_PACKAGE(${2:LIBRARY}) - - INCLUDE_DIRECTORIES( - ${$2_INCLUDE_DIR} - ) - - ADD_SUBDIRECTORY(${0:src}) - - ADD_EXECUTABLE($1) - - TARGET_LINK_LIBRARIES($1 - ${$2_LIBRARIES} - ) - -snippet include - INCLUDE_DIRECTORIES( - ${${0:INCLUDE_DIR}} - ) - -snippet find - FIND_PACKAGE(${0:LIBRARY}) - -snippet glob - FILE(GLOB ${1:SRCS} *.${0:cpp}) - -snippet subdir - ADD_SUBDIRECTORY(${0:src}) - -snippet lib - ADD_LIBRARY(${1:lib} ${2:STATIC} - ${${0:SRCS}} - ) - -snippet link - TARGET_LINK_LIBRARIES(${1:bin} - ${0:somelib} - ) - -snippet bin - ADD_EXECUTABLE(${1:bin}) - -snippet set - SET(${1:var} ${0:val}) - -snippet dep - ADD_DEPENDENCIES(${1:target} - ${0:dep} - ) - -snippet props - SET_TARGET_PROPERTIES(${1:target} - ${2:PROPERTIES} ${3:COMPILE_FLAGS} - ${0:"-O3 -Wall -pedantic"} - ) diff --git a/bundle/vim-snippets/snippets/coffee/angular_coffee.snippets b/bundle/vim-snippets/snippets/coffee/angular_coffee.snippets deleted file mode 100644 index f98cae35..00000000 --- a/bundle/vim-snippets/snippets/coffee/angular_coffee.snippets +++ /dev/null @@ -1,116 +0,0 @@ -## Global Snippets -# Define a new Angular Controller; -# You can change the controller name and parameters -snippet ngc - ${1:controllerName} = (${2:scope}, ${3:injectables}) -> - ${4} -# angular.foreach loop -snippet ngfor - angular.forEach ${1:iterateOver}, (value, key) -> - ${2} -## Module Based Snippets -# A new angular module without a config function -snippet ngm - angular.module '${1:moduleName}', [${2:moduleDependencies}] - ${3} -# A new angular module without a config function and a variable assignment -snippet ngma - ${1:moduleName} = angular.module '$1', [${2:moduleDeps}] - ${3} -# A new angular module with a config function -snippet ngmc - ${1:moduleName} = angular.module('$1', [${2:moduleDeps}], (${3:configDeps}) -> - ${4} - ) -# A factory in a module -snippet ngmfa - factory '${1:factoryName}', (${2:dependencies}) -> - ${3} -# Define an Angular Module Service to be attached to a previously defined module -# You can change the service name and service injectables -snippet ngms - service '${1:serviceName}', (${2:injectables}) -> - ${3} -# Define an Angular Module Filter to be attached to a previously defined module -# You can change the filter name -snippet ngmfi - filter '${1:filterName}', (${2:injectables}) -> - (input, ${3:args}) -> - ${4} -## Route Based Snippets -# Defines a when condition of an AngularJS route -snippet ngrw - $routeProvider.when '${1:url}', - templateUrl: '${2:templateUrl}' - controller: '${3:controller}' - ${4} -# Defines a when condition of an AngularJS route with the resolve block -snippet ngrwr - $routeProvider.when '${1:url}', - templateUrl: '${2:templateUrl}' - controller: '${3:controller}' - resolve: - ${4} - ${5} -# Defines an otherwise condition of an AngularJS route -snippet ngro - $routeProvider.otherwise redirectTo: '${1:url}' - ${2} -## Scope Related Snippets -# Define a new $scope'd function (usually inside an AngularJS Controller) -# You can change the function name and arguments -snippet $f - $scope.${1:functionName} = (${2:args}) -> - ${3} -# Defines a new $scope'd variable inside an AngularJS controller -snippet $v - $scope.${1:variable} = ${2:value} - ${3} -# Defines a new $scope'd variable inside an AngularJS controller and assigns a value from a constructor arguments -snippet $va - $scope.${1:variable} = ${2:variable} - ${3} -# Define a $watch for an expression -# You can change the expression to be watched -snippet $w - $scope.$watch '${1:watchExpr}', (newValue, oldValue) -> - ${2} -# Define a $on for a $broadcast/$emit on the $scope inside an Angular Controller -# You can change the event name to listen on -snippet $on - $scope.$on '${1:eventName}', (event, ${2:args}) -> - ${3} -# Define a $broadcast for a $scope inside an Angular Controller / Angular Controller Function -# You can change the event name and optional event arguments -snippet $b - $scope.$broadcast '${1:eventName}', ${2:eventArgs} - ${3} -# Define an $emit for a $scope inside an Angular Controller / Angular Controller Function -# You can change the event name and optional event arguments -snippet $e - $scope.$emit '${1:eventName}', ${2:eventArgs} - ${3} -## Directive related snippets -# A compile function -snippet ngdcf - compile = (tElement, tAttrs, transclude) -> - (scope, element, attrs) -> - ${1} -# A linking function in a directive -snippet ngdlf - (scope, element, attrs${1:ctrl}) -> - ${2} -# A directive with a compile function -snippet ngdc - directive '${1:directiveName}', factory = (${2:injectables}) -> - directiveDefinitionObject = - ${3:directiveAttrs} - compile: compile = (tElement, tAttrs, transclude) -> - (scope, element, attrs) -> - directiveDefinitionObject -# A directive with a linking function only -snippet ngdl - .directive('${1:directiveName}', (${2:directiveDeps}) -> - (scope, element, attrs${3:ctrl}) -> - ${4} - ) \ No newline at end of file diff --git a/bundle/vim-snippets/snippets/coffee/coffee.snippets b/bundle/vim-snippets/snippets/coffee/coffee.snippets deleted file mode 100644 index bb964346..00000000 --- a/bundle/vim-snippets/snippets/coffee/coffee.snippets +++ /dev/null @@ -1,101 +0,0 @@ -# Closure loop -snippet forindo - for ${1:name} in ${2:array} - do ($1) -> - ${0:// body} -# Array comprehension -snippet fora - for ${1:name} in ${2:array} - ${0:# body...} -# Object comprehension -snippet foro - for ${1:key}, ${2:value} of ${3:object} - ${0:# body...} -# Range comprehension (inclusive) -snippet forr - for ${1:name} in [${2:start}..${3:finish}] - ${0:# body...} -snippet forrb - for ${1:name} in [${2:start}..${3:finish}] by ${4:step} - ${0:# body...} -# Range comprehension (exclusive) -snippet forrex - for ${1:name} in [${2:start}...${3:finish}] - ${0:# body...} -snippet forrexb - for ${1:name} in [${2:start}...${3:finish}] by ${4:step} - ${0:# body...} -# Function -snippet fun - (${1:args}) -> - ${0:# body...} -# Function (bound) -snippet bfun - (${1:args}) => - ${0:# body...} -# Class -snippet cla class .. - class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} - ${0} -snippet cla class .. constructor: .. - class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} - constructor: (${2:args}) -> - ${3} - - ${0} -snippet cla class .. extends .. - class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} extends ${2:ParentClass} - ${0} -snippet cla class .. extends .. constructor: .. - class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} extends ${2:ParentClass} - constructor: (${3:args}) -> - ${4} - - ${0} -# If -snippet if - if ${1:condition} - ${0:# body...} -# If __ Else -snippet ife - if ${1:condition} - ${2:# body...} - else - ${0:# body...} -# Else if -snippet eif - else if ${1:condition} - ${0:# body...} -# Ternary If -snippet ifte - if ${1:condition} then ${2:value} else ${0:other} -# Unless -snippet unl - ${1:action} unless ${0:condition} -# Switch -snippet swi - switch ${1:object} - when ${2:value} - ${0:# body...} - -# Log -snippet log - console.log ${0} -# Try __ Catch -snippet try - try - ${1} - catch ${2:error} - ${0} -# Require -snippet req - ${2:$1} = require '${1:sys}' -# Export -snippet exp - ${0:root} = exports ? this - -snippet jsonp - JSON.parse ${0:jstr} -# JSON.stringify -snippet jsons - JSON.stringify ${0:object} diff --git a/bundle/vim-snippets/snippets/coffee/jquery_coffee.snippets b/bundle/vim-snippets/snippets/coffee/jquery_coffee.snippets deleted file mode 100644 index 10bcd775..00000000 --- a/bundle/vim-snippets/snippets/coffee/jquery_coffee.snippets +++ /dev/null @@ -1,524 +0,0 @@ -snippet add - ${1:obj}.add('${2:selector expression}') -snippet addClass - ${1:obj}.addClass('${2:class name}') -snippet after - ${1:obj}.after('${2:Some text and bold!}') -snippet ajax - $.ajax - url: "${1:mydomain.com/url}" - type: "${2:POST}" - dataType: "${3:xml/html/script/json}" - data: ${4:data} - complete: (jqXHR, textStatus) -> - ${5:// callback} - success: (data, textStatus, jqXHR) -> - ${6:// success callback} - error: (jqXHR, textStatus, errorThrown) -> - ${0:// error callback} -snippet ajaxcomplete - ${1:obj}.ajaxComplete (${1:e}, xhr, settings) -> - ${0:// callback} -snippet ajaxerror - ${1:obj}.ajaxError (${1:e}, xhr, settings, thrownError) -> - ${2:// error callback} - ${0} -snippet ajaxget - $.get '${1:mydomain.com/url}', - ${2:{ param1: value1 },} - (data, textStatus, jqXHR) -> - ${0:// success callback} -snippet ajaxpost - $.post '${1:mydomain.com/url}', - ${2:{ param1: value1 },} - (data, textStatus, jqXHR) -> - ${0:// success callback} -snippet ajaxprefilter - $.ajaxPrefilter (${1:options}, ${2:originalOptions}, jqXHR) -> - ${0: // Modify options, control originalOptions, store jqXHR, etc} -snippet ajaxsend - ${1:obj}.ajaxSend (${1:request, settings}) -> - ${2:// error callback} - ${0} -snippet ajaxsetup - $.ajaxSetup({ - url: "${1:mydomain.com/url}", - type: "${2:POST}", - dataType: "${3:xml/html/script/json}", - data: $.param( $("${4:Element or Expression}") ), - complete: (jqXHR, textStatus) -> - ${5:// callback} - , - success: (data, textStatus, jqXHR) -> - ${6:// success callback} - , - error: (jqXHR, textStatus, errorThrown) -> - ${0:// error callback} - }) -snippet ajaxstart - $.ajaxStart -> - ${1:// handler for when an AJAX call is started and no other AJAX calls are in progress} - ${0} -snippet ajaxstop - $.ajaxStop -> - ${1:// handler for when all AJAX calls have been completed} - ${0} -snippet ajaxsuccess - $.ajaxSuccess (${1:e}, xhr, settings) -> - ${2:// handler for when any AJAX call is successfully completed} - ${0} -snippet andself - ${1:obj}.andSelf() -snippet animate - ${1:obj}.animate({${2:param1: value1, param2: value2}}, ${3:speed}) -snippet append - ${1:obj}.append('${2:Some text and bold!}') -snippet appendTo - ${1:obj}.appendTo('${2:selector expression}') -snippet attr - ${1:obj}.attr('${2:attribute}', '${3:value}') -snippet attrm - ${1:obj}.attr({'${2:attr1}': '${3:value1}', '${4:attr2}': '${5:value2}'}) -snippet before - ${1:obj}.before('${2:Some text and bold!}') -snippet bind - ${1:obj}.bind('${2:event name}', (${3:e}) -> - ${0:// event handler} -snippet blur - ${1:obj}.blur (${2:e}) -> - ${0:// event handler} -snippet C - $.Callbacks() -snippet Cadd - ${1:callbacks}.add(${2:callbacks}) -snippet Cdis - ${1:callbacks}.disable() -snippet Cempty - ${1:callbacks}.empty() -snippet Cfire - ${1:callbacks}.fire(${2:args}) -snippet Cfired - ${1:callbacks}.fired() -snippet Cfirew - ${1:callbacks}.fireWith(${2:this}, ${3:args}) -snippet Chas - ${1:callbacks}.has(${2:callback}) -snippet Clock - ${1:callbacks}.lock() -snippet Clocked - ${1:callbacks}.locked() -snippet Crem - ${1:callbacks}.remove(${2:callbacks}) -snippet change - ${1:obj}.change (${2:e}) -> - ${0:// event handler} -snippet children - ${1:obj}.children('${2:selector expression}') -snippet clearq - ${1:obj}.clearQueue(${2:'queue name'}) -snippet click - ${1:obj}.click (${2:e}) -> - ${0:// event handler} -snippet clone - ${1:obj}.clone() -snippet contains - $.contains(${1:container}, ${0:contents}) -snippet css - ${1:obj}.css('${2:attribute}', '${3:value}') -snippet csshooks - $.cssHooks['${1:CSS prop}'] = { - get: (elem, computed, extra) -> - ${2: // handle getting the CSS property} - set: (elem, value) -> - ${0: // handle setting the CSS value} - } -snippet cssm - ${1:obj}.css({${2:attribute1}: '${3:value1}', ${4:attribute2}: '${5:value2}'}) -snippet D - $.Deferred() -snippet Dalways - ${1:deferred}.always(${2:callbacks}) -snippet Ddone - ${1:deferred}.done(${2:callbacks}) -snippet Dfail - ${1:deferred}.fail(${2:callbacks}) -snippet Disrej - ${1:deferred}.isRejected() -snippet Disres - ${1:deferred}.isResolved() -snippet Dnotify - ${1:deferred}.notify(${2:args}) -snippet Dnotifyw - ${1:deferred}.notifyWith(${2:this}, ${3:args}) -snippet Dpipe - ${1:deferred}.then(${2:doneFilter}, ${3:failFilter}, ${4:progressFilter}) -snippet Dprog - ${1:deferred}.progress(${2:callbacks}) -snippet Dprom - ${1:deferred}.promise(${2:target}) -snippet Drej - ${1:deferred}.reject(${2:args}) -snippet Drejw - ${1:deferred}.rejectWith(${2:this}, ${3:args}) -snippet Dres - ${1:deferred}.resolve(${2:args}) -snippet Dresw - ${1:deferred}.resolveWith(${2:this}, ${3:args}) -snippet Dstate - ${1:deferred}.state() -snippet Dthen - ${1:deferred}.then(${2:doneCallbacks}, ${3:failCallbacks}, ${4:progressCallbacks}) -snippet Dwhen - $.when(${1:deferreds}) -snippet data - ${1:obj}.data(${2:obj}) -snippet dataa - $.data('${1:selector expression}', '${2:key}'${3:, 'value'}) -snippet dblclick - ${1:obj}.dblclick (${2:e}) -> - ${0:// event handler} -snippet delay - ${1:obj}.delay('${2:slow/400/fast}'${3:, 'queue name'}) -snippet dele - ${1:obj}.delegate '${2:selector expression}', '${3:event name}', (${4:e}) -> - ${0:// event handler} -snippet deq - ${1:obj}.dequeue(${2:'queue name'}) -snippet deqq - $.dequeue('${1:selector expression}'${2:, 'queue name'}) -snippet detach - ${1:obj}.detach('${2:selector expression}') -snippet die - ${1:obj}.die(${2:event}, ${3:handler}) -snippet each - ${1:obj}.each (index) -> - ${0:this.innerHTML = this + " is the element, " + index + " is the position"} -snippet el - $('<${1}/>'${2:, {}}) -snippet eltrim - $.trim('${1:string}') -snippet empty - ${1:obj}.empty() -snippet end - ${1:obj}.end() -snippet eq - ${1:obj}.eq(${2:element index}) -snippet error - ${1:obj}.error (${2:e}) -> - ${0:// event handler} -snippet eventsmap - { - :f${0} - } -snippet extend - $.extend(${1:true, }${2:target}, ${3:obj}) -snippet fadein - ${1:obj}.fadeIn('${2:slow/400/fast}') -snippet fadeinc - ${1:obj}.fadeIn 'slow/400/fast', -> - ${0:// callback} -snippet fadeout - ${1:obj}.fadeOut('${2:slow/400/fast}') -snippet fadeoutc - ${1:obj}.fadeOut 'slow/400/fast', -> - ${0:// callback} -snippet fadeto - ${1:obj}.fadeTo('${2:slow/400/fast}', ${3:0.5}) -snippet fadetoc - ${1:obj}.fadeTo 'slow/400/fast', ${2:0.5}, -> - ${0:// callback} -snippet filter - ${1:obj}.filter('${2:selector expression}') -snippet filtert - ${1:obj}.filter (${2:index}) -> - ${3} -snippet find - ${1:obj}.find('${2:selector expression}') -snippet focus - ${1:obj}.focus (${2:e}) -> - ${0:// event handler} -snippet focusin - ${1:obj}.focusIn (${2:e}) -> - ${0:// event handler} -snippet focusout - ${1:obj}.focusOut (${2:e}) -> - ${0:// event handler} -snippet get - ${1:obj}.get(${2:element index}) -snippet getjson - $.getJSON '${1:mydomain.com/url}', - ${2:{ param1: value1 },} - (data, textStatus, jqXHR) -> - ${0:// success callback} -snippet getscript - $.getScript '${1:mydomain.com/url}', (script, textStatus, jqXHR) -> - ${0:// callback} -snippet grep - $.grep(${1:array}, (item, index) > - ${2} - ${0:, true}) -snippet hasc - ${1:obj}.hasClass('${2:className}') -snippet hasd - $.hasData('${0:selector expression}') -snippet height - ${1:obj}.height(${2:integer}) -snippet hide - ${1:obj}.hide('${2:slow/400/fast}') -snippet hidec - ${1:obj}.hide '${2:slow/400/fast}', -> - ${0:// callback} -snippet hover - ${1:obj}.hover (${2:e}) -> - ${3:// event handler} - , ($2) -> - ${4:// event handler} -snippet html - ${1:obj}.html('${2:Some text and bold!}') -snippet inarr - $.inArray(${1:value}, ${0:array}) -snippet insa - ${1:obj}.insertAfter('${2:selector expression}') -snippet insb - ${1:obj}.insertBefore('${2:selector expression}') -snippet is - ${1:obj}.is('${2:selector expression}') -snippet isarr - $.isArray(${1:obj}) -snippet isempty - $.isEmptyObject(${1:obj}) -snippet isfunc - $.isFunction(${1:obj}) -snippet isnum - $.isNumeric(${1:value}) -snippet isobj - $.isPlainObject(${1:obj}) -snippet iswin - $.isWindow(${1:obj}) -snippet isxml - $.isXMLDoc(${1:node}) -snippet jj - $('${1:selector}') -snippet kdown - ${1:obj}.keydown (${2:e}) -> - ${0:// event handler} -snippet kpress - ${1:obj}.keypress (${2:e}) -> - ${0:// event handler} -snippet kup - ${1:obj}.keyup (${2:e}) -> - ${0:// event handler} -snippet last - ${1:obj}.last('${1:selector expression}') -snippet live - ${1:obj}.live '${2:events}', (${3:e}) -> - ${0:// event handler} -snippet load - ${1:obj}.load (${2:e}) -> - ${0:// event handler} -snippet loadf - ${1:obj}.load('${2:mydomain.com/url}', - ${2:{ param1: value1 },} - (responseText, textStatus, xhr) -> - ${0:// success callback} - }) -snippet makearray - $.makeArray(${0:obj}) -snippet map - ${1:obj}.map (${2:index}, ${3:element}) -> - ${0:// callback} -snippet mapp - $.map ${1:arrayOrObject}, (${2:value}, ${3:indexOrKey}) -> - ${0:// callback} -snippet merge - $.merge(${1:target}, ${0:original}) -snippet mdown - ${1:obj}.mousedown (${2:e}) -> - ${0:// event handler} -snippet menter - ${1:obj}.mouseenter (${2:e}) -> - ${0:// event handler} -snippet mleave - ${1:obj}.mouseleave (${2:e}) -> - ${0:// event handler} -snippet mmove - ${1:obj}.mousemove (${2:e}) -> - ${0:// event handler} -snippet mout - ${1:obj}.mouseout (${2:e}) -> - ${0:// event handler} -snippet mover - ${1:obj}.mouseover (${2:e}) -> - ${0:// event handler} -snippet mup - ${1:obj}.mouseup (${2:e}) -> - ${0:// event handler} -snippet next - ${1:obj}.next('${2:selector expression}') -snippet nexta - ${1:obj}.nextAll('${2:selector expression}') -snippet nextu - ${1:obj}.nextUntil('${2:selector expression}'${3:, 'filter expression'}) -snippet not - ${1:obj}.not('${2:selector expression}') -snippet off - ${1:obj}.off('${2:events}', '${3:selector expression}'${4:, handler}) -snippet offset - ${1:obj}.offset() -snippet offsetp - ${1:obj}.offsetParent() -snippet on - ${1:obj}.on '${2:events}', '${3:selector expression}', (${4:e}) -> - ${0:// event handler} -snippet one - ${1:obj}.one '${2:event name}', (${3:e}) -> - ${0:// event handler} -snippet outerh - ${1:obj}.outerHeight() -snippet outerw - ${1:obj}.outerWidth() -snippet param - $.param(${1:obj}) -snippet parent - ${1:obj}.parent('${2:selector expression}') -snippet parents - ${1:obj}.parents('${2:selector expression}') -snippet parentsu - ${1:obj}.parentsUntil('${2:selector expression}'${3:, 'filter expression'}) -snippet parsejson - $.parseJSON(${1:data}) -snippet parsexml - $.parseXML(${1:data}) -snippet pos - ${1:obj}.position() -snippet prepend - ${1:obj}.prepend('${2:Some text and bold!}') -snippet prependto - ${1:obj}.prependTo('${2:selector expression}') -snippet prev - ${1:obj}.prev('${2:selector expression}') -snippet preva - ${1:obj}.prevAll('${2:selector expression}') -snippet prevu - ${1:obj}.prevUntil('${2:selector expression}'${3:, 'filter expression'}) -snippet promise - ${1:obj}.promise(${2:'fx'}, ${3:target}) -snippet prop - ${1:obj}.prop('${2:property name}') -snippet proxy - $.proxy(${1:function}, ${2:this}) -snippet pushstack - ${1:obj}.pushStack(${2:elements}) -snippet queue - ${1:obj}.queue(${2:name}${3:, newQueue}) -snippet queuee - $.queue(${1:element}${2:, name}${3:, newQueue}) -snippet ready - $(() -> - ${0} - ) -snippet rem - ${1:obj}.remove() -snippet rema - ${1:obj}.removeAttr('${2:attribute name}') -snippet remc - ${1:obj}.removeClass('${2:class name}') -snippet remd - ${1:obj}.removeData('${2:key name}') -snippet remdd - $.removeData(${1:element}${2:, 'key name}') -snippet remp - ${1:obj}.removeProp('${2:property name}') -snippet repa - ${1:obj}.replaceAll(${2:target}) -snippet repw - ${1:obj}.replaceWith(${2:content}) -snippet reset - ${1:obj}.reset (${2:e}) -> - ${0:// event handler} -snippet resize - ${1:obj}.resize (${2:e}) -> - ${0:// event handler} -snippet scroll - ${1:obj}.scroll (${2:e}) -> - ${0:// event handler} -snippet scrolll - ${1:obj}.scrollLeft(${2:value}) -snippet scrollt - ${1:obj}.scrollTop(${2:value}) -snippet sdown - ${1:obj}.slideDown('${2:slow/400/fast}') -snippet sdownc - ${1:obj}.slideDown('${2:slow/400/fast}', -> - ${0:// callback} -snippet select - ${1:obj}.select (${2:e}) -> - ${0:// event handler} -snippet serialize - ${1:obj}.serialize() -snippet serializea - ${1:obj}.serializeArray() -snippet show - ${1:obj}.show('${2:slow/400/fast}') -snippet showc - ${1:obj}.show '${2:slow/400/fast}', -> - ${0:// callback} -snippet sib - ${1:obj}.siblings('${2:selector expression}') -snippet size - ${1:obj}.size() -snippet slice - ${1:obj}.slice(${2:start}${3:, end}) -snippet stoggle - ${1:obj}.slideToggle('${2:slow/400/fast}') -snippet stop - ${1:obj}.stop('${2:queue}', ${3:false}, ${4:false}) -snippet submit - ${1:obj}.submit (${2:e}) -> - ${0:// event handler} -snippet sup - ${1:obj}.slideUp('${2:slow/400/fast}') -snippet supc - ${1:obj}.slideUp '${2:slow/400/fast}', -> - ${0:// callback} -snippet text - ${1:obj}.text(${2:'some text'}) -snippet this - $(this) -snippet toarr - ${0:obj}.toArray() -snippet tog - ${1:obj}.toggle (${2:e}) -> - ${3:// event handler} - , ($2) -> - ${4:// event handler} - ${0} -snippet togclass - ${1:obj}.toggleClass('${2:class name}') -snippet togsh - ${1:obj}.toggle('${2:slow/400/fast}') -snippet trig - ${1:obj}.trigger('${2:event name}') -snippet trigh - ${1:obj}.triggerHandler('${2:event name}') -snippet $trim - $.trim(${1:str}) -snippet $type - $.type(${1:obj}) -snippet unbind - ${1:obj}.unbind('${2:event name}') -snippet undele - ${1:obj}.undelegate(${2:selector expression}, ${3:event}, ${4:handler}) -snippet uniq - $.unique(${1:array}) -snippet unload - ${1:obj}.unload (${2:e}) -> - ${0:// event handler} -snippet unwrap - ${1:obj}.unwrap() -snippet val - ${1:obj}.val('${2:text}') -snippet width - ${1:obj}.width(${2:integer}) -snippet wrap - ${1:obj}.wrap('${2:<div class="extra-wrapper"></div>}') diff --git a/bundle/vim-snippets/snippets/cpp.snippets b/bundle/vim-snippets/snippets/cpp.snippets deleted file mode 100644 index cdccf1eb..00000000 --- a/bundle/vim-snippets/snippets/cpp.snippets +++ /dev/null @@ -1,131 +0,0 @@ -## STL Collections -# std::array -snippet array - std::array<${1:T}, ${2:N}> ${3}; -# std::vector -snippet vector - std::vector<${1:T}> ${2}; -# std::deque -snippet deque - std::deque<${1:T}> ${2}; -# std::forward_list -snippet flist - std::forward_list<${1:T}> ${2}; -# std::list -snippet list - std::list<${1:T}> ${2}; -# std::set -snippet set - std::set<${1:T}> ${2}; -# std::map -snippet map - std::map<${1:Key}, ${2:T}> ${3}; -# std::multiset -snippet mset - std::multiset<${1:T}> ${2}; -# std::multimap -snippet mmap - std::multimap<${1:Key}, ${2:T}> ${3}; -# std::unordered_set -snippet uset - std::unordered_set<${1:T}> ${2}; -# std::unordered_map -snippet umap - std::unordered_map<${1:Key}, ${2:T}> ${3}; -# std::unordered_multiset -snippet umset - std::unordered_multiset<${1:T}> ${2}; -# std::unordered_multimap -snippet ummap - std::unordered_multimap<${1:Key}, ${2:T}> ${3}; -# std::stack -snippet stack - std::stack<${1:T}> ${2}; -# std::queue -snippet queue - std::queue<${1:T}> ${2}; -# std::priority_queue -snippet pqueue - std::priority_queue<${1:T}> ${2}; -## -## Access Modifiers -# private -snippet pri - private -# protected -snippet pro - protected -# public -snippet pub - public -# friend -snippet fr - friend -# mutable -snippet mu - mutable -## -## Class -# class -snippet cl - class ${1:`vim_snippets#Filename('$1', 'name')`} - { - public: - $1(${2}); - ~$1(); - - private: - ${0:/* data */} - }; -# member function implementation -snippet mfun - ${4:void} ${1:`vim_snippets#Filename('$1', 'ClassName')`}::${2:memberFunction}(${3}) { - ${0} - } -# namespace -snippet ns - namespace ${1:`vim_snippets#Filename('', 'my')`} { - ${0} - } /* namespace $1 */ -## -## Input/Output -# std::cout -snippet cout - std::cout << ${1} << std::endl; -# std::cin -snippet cin - std::cin >> ${1}; -## -## Iteration -# for i -snippet fori - for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) { - ${4} - } - -# foreach -snippet fore - for (${1:auto} ${2:i} : ${3:container}) { - ${4} - } -# iterator -snippet iter - for (${1:std::vector}<${2:type}>::${3:const_iterator} ${4:i} = ${5:container}.begin(); $4 != $5.end(); ++$4) { - ${6} - } - -# auto iterator -snippet itera - for (auto ${1:i} = ${2:container}.begin(); $1 != $2.end(); ++$1) { - ${3:std::cout << *$1 << std::endl;} - } -## -## Lambdas -# lamda (one line) -snippet ld - [${1}](${2}){${3}} -# lambda (multi-line) -snippet lld - [${1}](${2}){ - ${3} - } diff --git a/bundle/vim-snippets/snippets/cs.snippets b/bundle/vim-snippets/snippets/cs.snippets deleted file mode 100644 index e537bce4..00000000 --- a/bundle/vim-snippets/snippets/cs.snippets +++ /dev/null @@ -1,374 +0,0 @@ -# cs.snippets -# =========== -# -# Standard C-Sharp snippets for snipmate. -# -# Largely ported over from Visual Studio 2010 snippets plus -# a few snippets from Resharper plus a few widely known snippets. -# -# Most snippets on elements (i.e. classes, properties) -# follow suffix conventions. The order of suffixes to a snippet -# is fixed. -# -# Snippet Suffix Order -# -------------------- -# 1. Access Modifiers -# 2. Class Modifiers -# -# Access Modifier Suffix Table -# ---------------------------- -# + = public -# & = internal -# | = protected -# - = private -# -# Example: `cls&` expands to `internal class $1`. -# Access modifiers might be doubled to indicate -# different modifiers for get/set on properties. -# Example: `pb+-` expands to `public bool $1 { get; private set; }` -# -# Class Modifier Table -# -------------------- -# ^ = static -# % = abstract -# -# Example: `cls|%` expands to `protected abstract class $1` -# -# On method and property snippets, you can directly set -# one of the common types int, string and bool, if desired, -# just by appending the type modifier. -# -# Type Modifier Table -# ------------------- -# i = integer -# s = string -# b = bool -# -# Example: `pi+&` expands to `public int $1 { get; internal set; }` -# -# I'll most propably add more stuff in here like -# * List/Array constructio -# * Mostly used generics -# * Linq -# * Funcs, Actions, Predicates -# * Lambda -# * Events -# -# Feedback is welcome! -# -# entry point -snippet sim - public static int Main(string[] args) { - ${0} - return 0; - } -snippet simc - public class Application { - public static int Main(string[] args) { - ${0} - return 0; - } - } -# if condition -snippet if - if (${1}) { - ${0} - } -snippet el - else { - ${0} - } -snippet ifs - if (${1}) - ${0} -# ternary conditional -snippet t - ${1} ? ${2} : ${0} -snippet ? - ${1} ? ${2} : ${0} -# do while loop -snippet do - do { - ${0} - } while (${1}); -# while loop -snippet wh - while (${1}) { - ${0} - } -# for loop -snippet for - for (int ${1:i} = 0; $1 < ${2:count}; $1${3:++}) { - ${0} - } -# foreach -snippet fore - foreach (var ${1:entry} in ${2}) { - ${0} - } -snippet foreach - foreach (var ${1:entry} in ${2}) { - ${0} - } -snippet each - foreach (var ${1:entry} in ${2}) { - ${0} - } -# interfaces -snippet interface - public interface ${1:`vim_snippets#Filename()`} { - ${0} - } -snippet if+ - public interface ${1:`vim_snippets#Filename()`} { - ${0} - } -# class bodies -snippet class - public class ${1:`vim_snippets#Filename()`} { - ${0} - } -snippet cls - ${2:public} class ${1:`vim_snippets#Filename()`} { - ${0} - } -snippet cls+ - public class ${1:`vim_snippets#Filename()`} { - ${0} - } -snippet cls+^ - public static class ${1:`vim_snippets#Filename()`} { - ${0} - } -snippet cls& - internal class ${1:`vim_snippets#Filename()`} { - ${0} - } -snippet cls&^ - internal static class ${1:`vim_snippets#Filename()`} { - ${0} - } -snippet cls| - protected class ${1:`vim_snippets#Filename()`} { - ${0} - } -snippet cls|% - protected abstract class ${1:`vim_snippets#Filename()`} { - ${0} - } -# constructor -snippet ctor - public ${1:`vim_snippets#Filename()`}() { - ${0} - } -# properties - auto properties by default. -# default type is int with layout get / set. -snippet prop - ${1:public} ${2:int} ${3:} { get; set; } -snippet p - ${1:public} ${2:int} ${3:} { get; set; } -snippet p+ - public ${1:int} ${2:} { get; set; } -snippet p+& - public ${1:int} ${2:} { get; internal set; } -snippet p+| - public ${1:int} ${2:} { get; protected set; } -snippet p+- - public ${1:int} ${2:} { get; private set; } -snippet p& - internal ${1:int} ${2:} { get; set; } -snippet p&| - internal ${1:int} ${2:} { get; protected set; } -snippet p&- - internal ${1:int} ${2:} { get; private set; } -snippet p| - protected ${1:int} ${2:} { get; set; } -snippet p|- - protected ${1:int} ${2:} { get; private set; } -snippet p- - private ${1:int} ${2:} { get; set; } -# property - bool -snippet pi - ${1:public} int ${2:} { get; set; } -snippet pi+ - public int ${1} { get; set; } -snippet pi+& - public int ${1} { get; internal set; } -snippet pi+| - public int ${1} { get; protected set; } -snippet pi+- - public int ${1} { get; private set; } -snippet pi& - internal int ${1} { get; set; } -snippet pi&| - internal int ${1} { get; protected set; } -snippet pi&- - internal int ${1} { get; private set; } -snippet pi| - protected int ${1} { get; set; } -snippet pi|- - protected int ${1} { get; private set; } -snippet pi- - private int ${1} { get; set; } -# property - bool -snippet pb - ${1:public} bool ${2:} { get; set; } -snippet pb+ - public bool ${1} { get; set; } -snippet pb+& - public bool ${1} { get; internal set; } -snippet pb+| - public bool ${1} { get; protected set; } -snippet pb+- - public bool ${1} { get; private set; } -snippet pb& - internal bool ${1} { get; set; } -snippet pb&| - internal bool ${1} { get; protected set; } -snippet pb&- - internal bool ${1} { get; private set; } -snippet pb| - protected bool ${1} { get; set; } -snippet pb|- - protected bool ${1} { get; private set; } -snippet pb- - private bool ${1} { get; set; } -# property - string -snippet ps - ${1:public} string ${2:} { get; set; } -snippet ps+ - public string ${1} { get; set; } -snippet ps+& - public string ${1} { get; internal set; } -snippet ps+| - public string ${1} { get; protected set; } -snippet ps+- - public string ${1} { get; private set; } -snippet ps& - internal string ${1} { get; set; } -snippet ps&| - internal string ${1} { get; protected set; } -snippet ps&- - internal string ${1} { get; private set; } -snippet ps| - protected string ${1} { get; set; } -snippet ps|- - protected string ${1} { get; private set; } -snippet ps- - private string ${1} { get; set; } -# members - void -snippet m - ${1:public} ${2:void} ${3:}(${4:}) { - ${5:} - } -snippet m+ - public ${1:void} ${2:}(${3:}) { - ${4:} - } -snippet m& - internal ${1:void} ${2:}(${3:}) { - ${4:} - } -snippet m| - protected ${1:void} ${2:}(${3:}) { - ${4:} - } -snippet m- - private ${1:void} ${2:}(${3:}) { - ${4:} - } -# members - int -snippet mi - ${1:public} int ${2:}(${3:}) { - ${4:return 0;} - } -snippet mi+ - public int ${1:}(${2:}) { - ${3:return 0;} - } -snippet mi& - internal int ${1:}(${2:}) { - ${3:return 0;} - } -snippet mi| - protected int ${1:}(${2:}) { - ${3:return 0;} - } -snippet mi- - private int ${1:}(${2:}) { - ${3:return 0;} - } -# members - bool -snippet mb - ${1:public} bool ${2:}(${3:}) { - ${4:return false;} - } -snippet mb+ - public bool ${1:}(${2:}) { - ${3:return false;} - } -snippet mb& - internal bool ${1:}(${2:}) { - ${3:return false;} - } -snippet mb| - protected bool ${1:}(${2:}) { - ${3:return false;} - } -snippet mb- - private bool ${1:}(${2:}) { - ${3:return false;} - } -# members - string -snippet ms - ${1:public} string ${2:}(${3:}) { - ${4:return "";} - } -snippet ms+ - public string ${1:}(${2:}) { - ${3:return "";} - } -snippet ms& - internal string ${1:}(${2:}) { - ${3:return "";} - } -snippet ms| - protected string ${1:}(${2:}) { - ${3:return "";} - } -snippet ms- - private string ${1:}(${2:}) { - ${3:return "";} - } -# structure -snippet struct - public struct ${1:`vim_snippets#Filename()`} { - ${0} - } -# enumeration -snippet enum - public enum ${1} { - ${0} - } -# preprocessor directives -snippet #if - #if - ${0} - #endif -# inline xml documentation -snippet /// - /// - /// ${0} - /// -snippet
    - ${0} -
    -snippet area - ${0} -snippet area+ - ${4} - area+ -snippet area:c - ${0} -snippet area:d - ${0} -snippet area:p - ${0} -snippet area:r - ${0} -snippet article -
    - ${0} -
    -snippet article. -
    - ${0} -
    -snippet article# -
    - ${0} -
    -snippet aside - -snippet aside. - -snippet aside# - -snippet audio -

    ${2:$1} -snippet ${2} -snippet ${1}{ -snippet -snippet ${1} -snippet ${1} diff --git a/bundle/vim-snippets/snippets/css.snippets b/bundle/vim-snippets/snippets/css.snippets deleted file mode 100644 index c4a74dec..00000000 --- a/bundle/vim-snippets/snippets/css.snippets +++ /dev/null @@ -1,987 +0,0 @@ -snippet . - ${1} { - ${0} - } -snippet ! - !important -snippet bdi:m+ - -moz-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${0:stretch}; -snippet bdi:m - -moz-border-image: ${0}; -snippet bdrz:m - -moz-border-radius: ${0}; -snippet bxsh:m+ - -moz-box-shadow: ${1:0} ${2:0} ${3:0} #${0:000}; -snippet bxsh:m - -moz-box-shadow: ${0}; -snippet bdi:w+ - -webkit-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${0:stretch}; -snippet bdi:w - -webkit-border-image: ${0}; -snippet bdrz:w - -webkit-border-radius: ${0}; -snippet bxsh:w+ - -webkit-box-shadow: ${1:0} ${2:0} ${3:0} #${0:000}; -snippet bxsh:w - -webkit-box-shadow: ${0}; -snippet @f - @font-face { - font-family: ${1}; - src: url(${0}); - } -snippet @i - @import url(${0}); -snippet @m - @media ${1:print} { - ${0} - } -snippet bg+ - background: #${1:FFF} url(${2}) ${3:0} ${4:0} ${0:no-repeat}; -snippet bga - background-attachment: ${0}; -snippet bga:f - background-attachment: fixed; -snippet bga:s - background-attachment: scroll; -snippet bgbk - background-break: ${0}; -snippet bgbk:bb - background-break: bounding-box; -snippet bgbk:c - background-break: continuous; -snippet bgbk:eb - background-break: each-box; -snippet bgcp - background-clip: ${0}; -snippet bgcp:bb - background-clip: border-box; -snippet bgcp:cb - background-clip: content-box; -snippet bgcp:nc - background-clip: no-clip; -snippet bgcp:pb - background-clip: padding-box; -snippet bgc - background-color: #${0:FFF}; -snippet bgc:t - background-color: transparent; -snippet bgi - background-image: url(${0}); -snippet bgi:n - background-image: none; -snippet bgo - background-origin: ${0}; -snippet bgo:bb - background-origin: border-box; -snippet bgo:cb - background-origin: content-box; -snippet bgo:pb - background-origin: padding-box; -snippet bgpx - background-position-x: ${0}; -snippet bgpy - background-position-y: ${0}; -snippet bgp - background-position: ${1:0} ${0:0}; -snippet bgr - background-repeat: ${0}; -snippet bgr:n - background-repeat: no-repeat; -snippet bgr:x - background-repeat: repeat-x; -snippet bgr:y - background-repeat: repeat-y; -snippet bgr:r - background-repeat: repeat; -snippet bgz - background-size: ${0}; -snippet bgz:a - background-size: auto; -snippet bgz:ct - background-size: contain; -snippet bgz:cv - background-size: cover; -snippet bg - background: ${0}; -snippet bg:ie - filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='${1}',sizingMethod='${0:crop}'); -snippet bg:n - background: none; -snippet bd+ - border: ${1:1px} ${2:solid} #${0:000}; -snippet bdb+ - border-bottom: ${1:1px} ${2:solid} #${0:000}; -snippet bdbc - border-bottom-color: #${0:000}; -snippet bdbi - border-bottom-image: url(${0}); -snippet bdbi:n - border-bottom-image: none; -snippet bdbli - border-bottom-left-image: url(${0}); -snippet bdbli:c - border-bottom-left-image: continue; -snippet bdbli:n - border-bottom-left-image: none; -snippet bdblrz - border-bottom-left-radius: ${0}; -snippet bdbri - border-bottom-right-image: url(${0}); -snippet bdbri:c - border-bottom-right-image: continue; -snippet bdbri:n - border-bottom-right-image: none; -snippet bdbrrz - border-bottom-right-radius: ${0}; -snippet bdbs - border-bottom-style: ${0}; -snippet bdbs:n - border-bottom-style: none; -snippet bdbw - border-bottom-width: ${0}; -snippet bdb - border-bottom: ${0}; -snippet bdb:n - border-bottom: none; -snippet bdbk - border-break: ${0}; -snippet bdbk:c - border-break: close; -snippet bdcl - border-collapse: ${0}; -snippet bdcl:c - border-collapse: collapse; -snippet bdcl:s - border-collapse: separate; -snippet bdc - border-color: #${0:000}; -snippet bdci - border-corner-image: url(${0}); -snippet bdci:c - border-corner-image: continue; -snippet bdci:n - border-corner-image: none; -snippet bdf - border-fit: ${0}; -snippet bdf:c - border-fit: clip; -snippet bdf:of - border-fit: overwrite; -snippet bdf:ow - border-fit: overwrite; -snippet bdf:r - border-fit: repeat; -snippet bdf:sc - border-fit: scale; -snippet bdf:sp - border-fit: space; -snippet bdf:st - border-fit: stretch; -snippet bdi - border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${0:stretch}; -snippet bdi:n - border-image: none; -snippet bdl+ - border-left: ${1:1px} ${2:solid} #${0:000}; -snippet bdlc - border-left-color: #${0:000}; -snippet bdli - border-left-image: url(${0}); -snippet bdli:n - border-left-image: none; -snippet bdls - border-left-style: ${0}; -snippet bdls:n - border-left-style: none; -snippet bdlw - border-left-width: ${0}; -snippet bdl - border-left: ${0}; -snippet bdl:n - border-left: none; -snippet bdlt - border-length: ${0}; -snippet bdlt:a - border-length: auto; -snippet bdrz - border-radius: ${0}; -snippet bdr+ - border-right: ${1:1px} ${2:solid} #${0:000}; -snippet bdrc - border-right-color: #${0:000}; -snippet bdri - border-right-image: url(${0}); -snippet bdri:n - border-right-image: none; -snippet bdrs - border-right-style: ${0}; -snippet bdrs:n - border-right-style: none; -snippet bdrw - border-right-width: ${0}; -snippet bdr - border-right: ${0}; -snippet bdr:n - border-right: none; -snippet bdsp - border-spacing: ${0}; -snippet bds - border-style: ${0}; -snippet bds:ds - border-style: dashed; -snippet bds:dtds - border-style: dot-dash; -snippet bds:dtdtds - border-style: dot-dot-dash; -snippet bds:dt - border-style: dotted; -snippet bds:db - border-style: double; -snippet bds:g - border-style: groove; -snippet bds:h - border-style: hidden; -snippet bds:i - border-style: inset; -snippet bds:n - border-style: none; -snippet bds:o - border-style: outset; -snippet bds:r - border-style: ridge; -snippet bds:s - border-style: solid; -snippet bds:w - border-style: wave; -snippet bdt+ - border-top: ${1:1px} ${2:solid} #${0:000}; -snippet bdtc - border-top-color: #${0:000}; -snippet bdti - border-top-image: url(${0}); -snippet bdti:n - border-top-image: none; -snippet bdtli - border-top-left-image: url(${0}); -snippet bdtli:c - border-corner-image: continue; -snippet bdtli:n - border-corner-image: none; -snippet bdtlrz - border-top-left-radius: ${0}; -snippet bdtri - border-top-right-image: url(${0}); -snippet bdtri:c - border-top-right-image: continue; -snippet bdtri:n - border-top-right-image: none; -snippet bdtrrz - border-top-right-radius: ${0}; -snippet bdts - border-top-style: ${0}; -snippet bdts:n - border-top-style: none; -snippet bdtw - border-top-width: ${0}; -snippet bdt - border-top: ${0}; -snippet bdt:n - border-top: none; -snippet bdw - border-width: ${0}; -snippet bd - border: ${0}; -snippet bd:n - border: none; -snippet b - bottom: ${0}; -snippet b:a - bottom: auto; -snippet bxsh+ - box-shadow: ${1:0} ${2:0} ${3:0} #${0:000}; -snippet bxsh - box-shadow: ${0}; -snippet bxsh:n - box-shadow: none; -snippet bxz - box-sizing: ${0}; -snippet bxz:bb - box-sizing: border-box; -snippet bxz:cb - box-sizing: content-box; -snippet cps - caption-side: ${0}; -snippet cps:b - caption-side: bottom; -snippet cps:t - caption-side: top; -snippet cl - clear: ${0}; -snippet cl:b - clear: both; -snippet cl:l - clear: left; -snippet cl:n - clear: none; -snippet cl:r - clear: right; -snippet cp - clip: ${0}; -snippet cp:a - clip: auto; -snippet cp:r - clip: rect(${1:0} ${2:0} ${3:0} ${0:0}); -snippet c - color: #${0:000}; -snippet ct - content: ${0}; -snippet ct:a - content: attr(${0}); -snippet ct:cq - content: close-quote; -snippet ct:c - content: counter(${0}); -snippet ct:cs - content: counters(${0}); -snippet ct:ncq - content: no-close-quote; -snippet ct:noq - content: no-open-quote; -snippet ct:n - content: normal; -snippet ct:oq - content: open-quote; -snippet coi - counter-increment: ${0}; -snippet cor - counter-reset: ${0}; -snippet cur - cursor: ${0}; -snippet cur:a - cursor: auto; -snippet cur:c - cursor: crosshair; -snippet cur:d - cursor: default; -snippet cur:ha - cursor: hand; -snippet cur:he - cursor: help; -snippet cur:m - cursor: move; -snippet cur:p - cursor: pointer; -snippet cur:t - cursor: text; -snippet d - display: ${0}; -snippet d:mib - display: -moz-inline-box; -snippet d:mis - display: -moz-inline-stack; -snippet d:b - display: block; -snippet d:cp - display: compact; -snippet d:ib - display: inline-block; -snippet d:itb - display: inline-table; -snippet d:i - display: inline; -snippet d:li - display: list-item; -snippet d:n - display: none; -snippet d:ri - display: run-in; -snippet d:tbcp - display: table-caption; -snippet d:tbc - display: table-cell; -snippet d:tbclg - display: table-column-group; -snippet d:tbcl - display: table-column; -snippet d:tbfg - display: table-footer-group; -snippet d:tbhg - display: table-header-group; -snippet d:tbrg - display: table-row-group; -snippet d:tbr - display: table-row; -snippet d:tb - display: table; -snippet ec - empty-cells: ${0}; -snippet ec:h - empty-cells: hide; -snippet ec:s - empty-cells: show; -snippet exp - expression() -snippet fl - float: ${0}; -snippet fl:l - float: left; -snippet fl:n - float: none; -snippet fl:r - float: right; -snippet f+ - font: ${1:1em} ${2:Arial},${0:sans-serif}; -snippet fef - font-effect: ${0}; -snippet fef:eb - font-effect: emboss; -snippet fef:eg - font-effect: engrave; -snippet fef:n - font-effect: none; -snippet fef:o - font-effect: outline; -snippet femp - font-emphasize-position: ${0}; -snippet femp:a - font-emphasize-position: after; -snippet femp:b - font-emphasize-position: before; -snippet fems - font-emphasize-style: ${0}; -snippet fems:ac - font-emphasize-style: accent; -snippet fems:c - font-emphasize-style: circle; -snippet fems:ds - font-emphasize-style: disc; -snippet fems:dt - font-emphasize-style: dot; -snippet fems:n - font-emphasize-style: none; -snippet fem - font-emphasize: ${0}; -snippet ff - font-family: ${0}; -snippet ff:c - font-family: ${0:'Monotype Corsiva','Comic Sans MS'},cursive; -snippet ff:f - font-family: ${0:Capitals,Impact},fantasy; -snippet ff:m - font-family: ${0:Monaco,'Courier New'},monospace; -snippet ff:ss - font-family: ${0:Helvetica,Arial},sans-serif; -snippet ff:s - font-family: ${0:Georgia,'Times New Roman'},serif; -snippet fza - font-size-adjust: ${0}; -snippet fza:n - font-size-adjust: none; -snippet fz - font-size: ${0}; -snippet fsm - font-smooth: ${0}; -snippet fsm:aw - font-smooth: always; -snippet fsm:a - font-smooth: auto; -snippet fsm:n - font-smooth: never; -snippet fst - font-stretch: ${0}; -snippet fst:c - font-stretch: condensed; -snippet fst:e - font-stretch: expanded; -snippet fst:ec - font-stretch: extra-condensed; -snippet fst:ee - font-stretch: extra-expanded; -snippet fst:n - font-stretch: normal; -snippet fst:sc - font-stretch: semi-condensed; -snippet fst:se - font-stretch: semi-expanded; -snippet fst:uc - font-stretch: ultra-condensed; -snippet fst:ue - font-stretch: ultra-expanded; -snippet fs - font-style: ${0}; -snippet fs:i - font-style: italic; -snippet fs:n - font-style: normal; -snippet fs:o - font-style: oblique; -snippet fv - font-variant: ${0}; -snippet fv:n - font-variant: normal; -snippet fv:sc - font-variant: small-caps; -snippet fw - font-weight: ${0}; -snippet fw:b - font-weight: bold; -snippet fw:br - font-weight: bolder; -snippet fw:lr - font-weight: lighter; -snippet fw:n - font-weight: normal; -snippet f - font: ${0}; -snippet h - height: ${0}; -snippet h:a - height: auto; -snippet l - left: ${0}; -snippet l:a - left: auto; -snippet lts - letter-spacing: ${0}; -snippet lh - line-height: ${0}; -snippet lisi - list-style-image: url(${0}); -snippet lisi:n - list-style-image: none; -snippet lisp - list-style-position: ${0}; -snippet lisp:i - list-style-position: inside; -snippet lisp:o - list-style-position: outside; -snippet list - list-style-type: ${0}; -snippet list:c - list-style-type: circle; -snippet list:dclz - list-style-type: decimal-leading-zero; -snippet list:dc - list-style-type: decimal; -snippet list:d - list-style-type: disc; -snippet list:lr - list-style-type: lower-roman; -snippet list:n - list-style-type: none; -snippet list:s - list-style-type: square; -snippet list:ur - list-style-type: upper-roman; -snippet lis - list-style: ${0}; -snippet lis:n - list-style: none; -snippet mb - margin-bottom: ${0}; -snippet mb:a - margin-bottom: auto; -snippet ml - margin-left: ${0}; -snippet ml:a - margin-left: auto; -snippet mr - margin-right: ${0}; -snippet mr:a - margin-right: auto; -snippet mt - margin-top: ${0}; -snippet mt:a - margin-top: auto; -snippet m - margin: ${0}; -snippet m:4 - margin: ${1:0} ${2:0} ${3:0} ${0:0}; -snippet m:3 - margin: ${1:0} ${2:0} ${0:0}; -snippet m:2 - margin: ${1:0} ${0:0}; -snippet m:0 - margin: 0; -snippet m:a - margin: auto; -snippet mah - max-height: ${0}; -snippet mah:n - max-height: none; -snippet maw - max-width: ${0}; -snippet maw:n - max-width: none; -snippet mih - min-height: ${0}; -snippet miw - min-width: ${0}; -snippet op - opacity: ${0}; -snippet op:ie - filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=${0:100}); -snippet op:ms - -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=${0:100})'; -snippet orp - orphans: ${0}; -snippet o+ - outline: ${1:1px} ${2:solid} #${0:000}; -snippet oc - outline-color: ${0:#000}; -snippet oc:i - outline-color: invert; -snippet oo - outline-offset: ${0}; -snippet os - outline-style: ${0}; -snippet ow - outline-width: ${0}; -snippet o - outline: ${0}; -snippet o:n - outline: none; -snippet ovs - overflow-style: ${0}; -snippet ovs:a - overflow-style: auto; -snippet ovs:mq - overflow-style: marquee; -snippet ovs:mv - overflow-style: move; -snippet ovs:p - overflow-style: panner; -snippet ovs:s - overflow-style: scrollbar; -snippet ovx - overflow-x: ${0}; -snippet ovx:a - overflow-x: auto; -snippet ovx:h - overflow-x: hidden; -snippet ovx:s - overflow-x: scroll; -snippet ovx:v - overflow-x: visible; -snippet ovy - overflow-y: ${0}; -snippet ovy:a - overflow-y: auto; -snippet ovy:h - overflow-y: hidden; -snippet ovy:s - overflow-y: scroll; -snippet ovy:v - overflow-y: visible; -snippet ov - overflow: ${0}; -snippet ov:a - overflow: auto; -snippet ov:h - overflow: hidden; -snippet ov:s - overflow: scroll; -snippet ov:v - overflow: visible; -snippet pb - padding-bottom: ${0}; -snippet pl - padding-left: ${0}; -snippet pr - padding-right: ${0}; -snippet pt - padding-top: ${0}; -snippet p - padding: ${0}; -snippet p:4 - padding: ${1:0} ${2:0} ${3:0} ${0:0}; -snippet p:3 - padding: ${1:0} ${2:0} ${0:0}; -snippet p:2 - padding: ${1:0} ${0:0}; -snippet p:0 - padding: 0; -snippet pgba - page-break-after: ${0}; -snippet pgba:aw - page-break-after: always; -snippet pgba:a - page-break-after: auto; -snippet pgba:l - page-break-after: left; -snippet pgba:r - page-break-after: right; -snippet pgbb - page-break-before: ${0}; -snippet pgbb:aw - page-break-before: always; -snippet pgbb:a - page-break-before: auto; -snippet pgbb:l - page-break-before: left; -snippet pgbb:r - page-break-before: right; -snippet pgbi - page-break-inside: ${0}; -snippet pgbi:a - page-break-inside: auto; -snippet pgbi:av - page-break-inside: avoid; -snippet pos - position: ${0}; -snippet pos:a - position: absolute; -snippet pos:f - position: fixed; -snippet pos:r - position: relative; -snippet pos:s - position: static; -snippet q - quotes: ${0}; -snippet q:en - quotes: '\201C' '\201D' '\2018' '\2019'; -snippet q:n - quotes: none; -snippet q:ru - quotes: '\00AB' '\00BB' '\201E' '\201C'; -snippet rz - resize: ${0}; -snippet rz:b - resize: both; -snippet rz:h - resize: horizontal; -snippet rz:n - resize: none; -snippet rz:v - resize: vertical; -snippet r - right: ${0}; -snippet r:a - right: auto; -snippet tbl - table-layout: ${0}; -snippet tbl:a - table-layout: auto; -snippet tbl:f - table-layout: fixed; -snippet tal - text-align-last: ${0}; -snippet tal:a - text-align-last: auto; -snippet tal:c - text-align-last: center; -snippet tal:l - text-align-last: left; -snippet tal:r - text-align-last: right; -snippet ta - text-align: ${0}; -snippet ta:c - text-align: center; -snippet ta:l - text-align: left; -snippet ta:r - text-align: right; -snippet td - text-decoration: ${0}; -snippet td:l - text-decoration: line-through; -snippet td:n - text-decoration: none; -snippet td:o - text-decoration: overline; -snippet td:u - text-decoration: underline; -snippet te - text-emphasis: ${0}; -snippet te:ac - text-emphasis: accent; -snippet te:a - text-emphasis: after; -snippet te:b - text-emphasis: before; -snippet te:c - text-emphasis: circle; -snippet te:ds - text-emphasis: disc; -snippet te:dt - text-emphasis: dot; -snippet te:n - text-emphasis: none; -snippet th - text-height: ${0}; -snippet th:a - text-height: auto; -snippet th:f - text-height: font-size; -snippet th:m - text-height: max-size; -snippet th:t - text-height: text-size; -snippet ti - text-indent: ${0}; -snippet ti:- - text-indent: -9999px; -snippet tj - text-justify: ${0}; -snippet tj:a - text-justify: auto; -snippet tj:d - text-justify: distribute; -snippet tj:ic - text-justify: inter-cluster; -snippet tj:ii - text-justify: inter-ideograph; -snippet tj:iw - text-justify: inter-word; -snippet tj:k - text-justify: kashida; -snippet tj:t - text-justify: tibetan; -snippet to+ - text-outline: ${1:0} ${2:0} #${0:000}; -snippet to - text-outline: ${0}; -snippet to:n - text-outline: none; -snippet tr - text-replace: ${0}; -snippet tr:n - text-replace: none; -snippet tsh+ - text-shadow: ${1:0} ${2:0} ${3:0} #${0:000}; -snippet tsh - text-shadow: ${0}; -snippet tsh:n - text-shadow: none; -snippet tt - text-transform: ${0}; -snippet tt:c - text-transform: capitalize; -snippet tt:l - text-transform: lowercase; -snippet tt:n - text-transform: none; -snippet tt:u - text-transform: uppercase; -snippet tw - text-wrap: ${0}; -snippet tw:no - text-wrap: none; -snippet tw:n - text-wrap: normal; -snippet tw:s - text-wrap: suppress; -snippet tw:u - text-wrap: unrestricted; -snippet t - top: ${0}; -snippet t:a - top: auto; -snippet va - vertical-align: ${0}; -snippet va:bl - vertical-align: baseline; -snippet va:b - vertical-align: bottom; -snippet va:m - vertical-align: middle; -snippet va:sub - vertical-align: sub; -snippet va:sup - vertical-align: super; -snippet va:tb - vertical-align: text-bottom; -snippet va:tt - vertical-align: text-top; -snippet va:t - vertical-align: top; -snippet v - visibility: ${0}; -snippet v:c - visibility: collapse; -snippet v:h - visibility: hidden; -snippet v:v - visibility: visible; -snippet whsc - white-space-collapse: ${0}; -snippet whsc:ba - white-space-collapse: break-all; -snippet whsc:bs - white-space-collapse: break-strict; -snippet whsc:k - white-space-collapse: keep-all; -snippet whsc:l - white-space-collapse: loose; -snippet whsc:n - white-space-collapse: normal; -snippet whs - white-space: ${0}; -snippet whs:n - white-space: normal; -snippet whs:nw - white-space: nowrap; -snippet whs:pl - white-space: pre-line; -snippet whs:pw - white-space: pre-wrap; -snippet whs:p - white-space: pre; -snippet wid - widows: ${0}; -snippet w - width: ${0}; -snippet w:a - width: auto; -snippet wob - word-break: ${0}; -snippet wob:ba - word-break: break-all; -snippet wob:bs - word-break: break-strict; -snippet wob:k - word-break: keep-all; -snippet wob:l - word-break: loose; -snippet wob:n - word-break: normal; -snippet wos - word-spacing: ${0}; -snippet wow - word-wrap: ${0}; -snippet wow:no - word-wrap: none; -snippet wow:n - word-wrap: normal; -snippet wow:s - word-wrap: suppress; -snippet wow:u - word-wrap: unrestricted; -snippet z - z-index: ${0}; -snippet z:a - z-index: auto; -snippet zoo - zoom: 1; -snippet :h - :hover -snippet :fc - :first-child -snippet :lc - :last-child -snippet :nc - :nth-child(${0}) -snippet :nlc - :nth-last-child(${0}) -snippet :oc - :only-child -snippet :a - :after -snippet :b - :before -snippet ::a - ::after -snippet ::b - ::before diff --git a/bundle/vim-snippets/snippets/dart.snippets b/bundle/vim-snippets/snippets/dart.snippets deleted file mode 100644 index 0093f2bf..00000000 --- a/bundle/vim-snippets/snippets/dart.snippets +++ /dev/null @@ -1,82 +0,0 @@ -snippet lib - #library('${1}'); - ${0} -snippet im - #import('${1}'); - ${0} -snippet so - #source('${1}'); - ${0} -snippet main - static void main() { - ${0} - } -snippet st - static ${0} -snippet fi - final ${0} -snippet re - return ${0} -snippet br - break; -snippet th - throw ${0} -snippet cl - class ${1:`vim_snippets#Filename("", "untitled")`} ${0} -snippet in - interface ${1:`vim_snippets#Filename("", "untitled")`} ${0} -snippet imp - implements ${0} -snippet ext - extends ${0} -snippet if - if (${1:true}) { - ${0} - } -snippet ife - if (${1:true}) { - ${2} - } else { - ${0} - } -snippet el - else -snippet sw - switch (${1}) { - ${0} - } -snippet cs - case ${1}: - ${0} -snippet de - default: - ${0} -snippet for - for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) { - ${0:$1[$2]} - } -snippet fore - for (final ${2:item} in ${1:itemList}) { - ${0} - } -snippet wh - while (${1:/* condition */}) { - ${0} - } -snippet dowh - do { - ${0} - } while (${0:/* condition */}); -snippet as - assert(${0:/* condition */}); -snippet try - try { - ${0} - } catch (${1:Exception e}) { - } -snippet tryf - try { - ${0} - } catch (${1:Exception e}) { - } finally { - } diff --git a/bundle/vim-snippets/snippets/diff.snippets b/bundle/vim-snippets/snippets/diff.snippets deleted file mode 100644 index 89bc31d7..00000000 --- a/bundle/vim-snippets/snippets/diff.snippets +++ /dev/null @@ -1,11 +0,0 @@ -# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header -snippet header DEP-3 style header - Description: ${1} - Origin: ${2:vendor|upstream|other}, ${3:url of the original patch} - Bug: ${4:url in upstream bugtracker} - Forwarded: ${5:no|not-needed|url} - Author: ${6:`g:snips_author`} - Reviewed-by: ${7:name and email} - Last-Update: ${8:`strftime("%Y-%m-%d")`} - Applied-Upstream: ${0:upstream version|url|commit} - diff --git a/bundle/vim-snippets/snippets/django.snippets b/bundle/vim-snippets/snippets/django.snippets deleted file mode 100644 index e2a8d6d0..00000000 --- a/bundle/vim-snippets/snippets/django.snippets +++ /dev/null @@ -1,112 +0,0 @@ -# Model Fields - -# Note: Optional arguments are using defaults that match what Django will use -# as a default, e.g. with max_length fields. Doing this as a form of self -# documentation and to make it easy to know whether you should override the -# default or not. - -# Note: Optional arguments that are booleans will use the opposite since you -# can either not specify them, or override them, e.g. auto_now_add=False. - -snippet auto - ${1:FIELDNAME} = models.AutoField(${0}) -snippet bigint - ${1:FIELDNAME} = models.BigIntegerField(${0}) -snippet binary - ${1:FIELDNAME} = models.BinaryField(${0}) -snippet bool - ${1:FIELDNAME} = models.BooleanField(${0:default=True}) -snippet char - ${1:FIELDNAME} = models.CharField(max_length=${2}${0:, blank=True}) -snippet comma - ${1:FIELDNAME} = models.CommaSeparatedIntegerField(max_length=${2}${0:, blank=True}) -snippet date - ${1:FIELDNAME} = models.DateField(${2:auto_now_add=True, auto_now=True}${0:, blank=True, null=True}) -snippet datetime - ${1:FIELDNAME} = models.DateTimeField(${2:auto_now_add=True, auto_now=True}${0:, blank=True, null=True}) -snippet decimal - ${1:FIELDNAME} = models.DecimalField(max_digits=${2}, decimal_places=${0}) -snippet email - ${1:FIELDNAME} = models.EmailField(max_length=${2:75}${0:, blank=True}) -snippet file - ${1:FIELDNAME} = models.FileField(upload_to=${2:path/for/upload}${0:, max_length=100}) -snippet filepath - ${1:FIELDNAME} = models.FilePathField(path=${2:"/abs/path/to/dir"}${3:, max_length=100}${4:, match="*.ext"}${5:, recursive=True}${0:, blank=True, }) -snippet float - ${1:FIELDNAME} = models.FloatField(${0}) -snippet image - ${1:FIELDNAME} = models.ImageField(upload_to=${2:path/for/upload}${3:, height_field=height, width_field=width}${0:, max_length=100}) -snippet int - ${1:FIELDNAME} = models.IntegerField(${0}) -snippet ip - ${1:FIELDNAME} = models.IPAddressField(${0}) -snippet nullbool - ${1:FIELDNAME} = models.NullBooleanField(${0}) -snippet posint - ${1:FIELDNAME} = models.PositiveIntegerField(${0}) -snippet possmallint - ${1:FIELDNAME} = models.PositiveSmallIntegerField(${0}) -snippet slug - ${1:FIELDNAME} = models.SlugField(max_length=${2:50}${0:, blank=True}) -snippet smallint - ${1:FIELDNAME} = models.SmallIntegerField(${0}) -snippet text - ${1:FIELDNAME} = models.TextField(${0:blank=True}) -snippet time - ${1:FIELDNAME} = models.TimeField(${2:auto_now_add=True, auto_now=True}${0:, blank=True, null=True}) -snippet url - ${1:FIELDNAME} = models.URLField(${2:verify_exists=False}${3:, max_length=200}${0:, blank=True}) -snippet xml - ${1:FIELDNAME} = models.XMLField(schema_path=${2:None}${0:, blank=True}) -# Relational Fields -snippet fk - ${1:FIELDNAME} = models.ForeignKey(${2:OtherModel}${3:, related_name=''}${4:, limit_choices_to=}${0:, to_field=''}) -snippet m2m - ${1:FIELDNAME} = models.ManyToManyField(${2:OtherModel}${3:, related_name=''}${4:, limit_choices_to=}${5:, symmetrical=False}${6:, through=''}${0:, db_table=''}) -snippet o2o - ${1:FIELDNAME} = models.OneToOneField(${2:OtherModel}${3:, parent_link=True}${4:, related_name=''}${5:, limit_choices_to=}${0:, to_field=''}) - -# Code Skeletons - -snippet form - class ${1:FormName}(forms.Form): - """${2:docstring}""" - ${0} - -snippet model - class ${1:ModelName}(models.Model): - """${2:docstring}""" - ${3} - - class Meta: - ${4} - - def __unicode__(self): - ${5} - - def save(self, *args, **kwargs): - ${6} - - @models.permalink - def get_absolute_url(self): - return ('${7:view_or_url_name}' ${0}) - -snippet modeladmin - class ${1:ModelName}Admin(admin.ModelAdmin): - ${0} - - admin.site.register($1, $1Admin) - -snippet tabularinline - class ${0:ModelName}Inline(admin.TabularInline): - model = $1 - -snippet stackedinline - class ${0:ModelName}Inline(admin.StackedInline): - model = $1 - -snippet r2r - return render_to_response('${1:template.html}', { - ${2} - }${0:, context_instance=RequestContext(request)} - ) diff --git a/bundle/vim-snippets/snippets/dosini.snippets b/bundle/vim-snippets/snippets/dosini.snippets deleted file mode 100644 index 95c759cb..00000000 --- a/bundle/vim-snippets/snippets/dosini.snippets +++ /dev/null @@ -1,12 +0,0 @@ -snippet ec - ; http://editorconfig.org - - root = true - - [*] - indent_style = ${1:space_or_tab} - indent_size = ${2:indent_size} - end_of_line = lf - charset = utf-8 - trim_trailing_whitespace = true - insert_final_newline = true diff --git a/bundle/vim-snippets/snippets/elixir.snippets b/bundle/vim-snippets/snippets/elixir.snippets deleted file mode 100644 index 077cf031..00000000 --- a/bundle/vim-snippets/snippets/elixir.snippets +++ /dev/null @@ -1,103 +0,0 @@ -snippet do - do - ${0} - end -snippet if if .. do .. end - if ${1} do - ${0} - end -snippet if if .. do: .. - if ${1:condition}, do: ${0} -snippet ife if .. do .. else .. end - if ${1:condition} do - ${2} - else - ${0} - end -snippet ife if .. do: .. else: - if ${1:condition}, do: ${2}, else: ${0} -snippet unless unless .. do .. end - unless ${1} do - ${0} - end -snippet unless unless .. do: .. - unless ${1:condition}, do: ${0} -snippet unlesse unless .. do .. else .. end - unless ${1:condition} do - ${2} - else - ${0} - end -snippet unlesse unless .. do: .. else: - unless ${1:condition}, do: ${2}, else: ${0} -snippet cond - cond do - ${1} -> - ${0} - end -snippet case - case ${1} do - ${2} -> - ${0} - end -snippet df - def ${1:name}, do: ${2} -snippet def - def ${1:name} do - ${0} - end -snippet defim - defimpl ${1:protocol_name}, for: ${2:data_type} do - ${0} - end -snippet defma - defmacro ${1:name} do - ${0} - end -snippet defmo - defmodule ${1:module_name} do - ${0} - end -snippet defp - defp ${1:name} do - ${0} - end -snippet defpr - defprotocol ${1:name}, [${0:function}] -snippet defr - defrecord ${1:record_name}, ${0:fields} -snippet doc - @doc """ - ${0} - """ -snippet fn - fn(${1:args}) -> ${0} end -snippet fun - function do - ${0} - end -snippet mdoc - @moduledoc """ - ${0} - """ -snippet rec - receive do - ${1} -> - ${0} - end -snippet req - require ${0:module_name} -snippet imp - import ${0:module_name} -snippet ali - alias ${0:module_name} -snippet test - test "${1:test_name}" do - ${0} - end -snippet try try .. rescue .. end - try do - ${1} - rescue - ${2} -> ${0} - end diff --git a/bundle/vim-snippets/snippets/erlang.snippets b/bundle/vim-snippets/snippets/erlang.snippets deleted file mode 100644 index 2a0d1a4c..00000000 --- a/bundle/vim-snippets/snippets/erlang.snippets +++ /dev/null @@ -1,671 +0,0 @@ -# module and export all -snippet mod - -module(${1:`vim_snippets#Filename('', 'my')`}). - - -compile([export_all]). - - start() -> - ${0} - - stop() -> - ok. -# define directive -snippet def - -define(${1:macro}, ${2:body}). -# export directive -snippet exp - -export([${1:function}/${0:arity}]). -# include directive -snippet inc - -include("${1:file}"). -# include_lib directive -snippet incl - -include_lib("${1:lib}/include/${1}.hrl").${2} -# behavior directive -snippet beh - -behaviour(${1:behaviour}). -# if expression -snippet if - if - ${1:guard} -> - ${0:body} - end -# case expression -snippet case - case ${1:expression} of - ${2:pattern} -> - ${0:body}; - end -# anonymous function -snippet fun - fun (${1:Parameters}) -> ${2:body} end -# try...catch -snippet try - try - ${1} - catch - ${2:_:_} -> ${0:got_some_exception} - end -# record directive -snippet rec - -record(${1:record}, { - ${2:field}=${3:value}}). -# todo comment -snippet todo - %% TODO: ${0} -## Snippets below (starting with '%') are in EDoc format. -## See http://www.erlang.org/doc/apps/edoc/chapter.html#id56887 for more details -# doc comment -snippet %d - %% @doc ${0} -# end of doc comment -snippet %e - %% @end -# specification comment -snippet %s - %% @spec ${0} -# private function marker -snippet %p - %% @private -# OTP application -snippet application - -module(${1:`vim_snippets#Filename('', 'my')`}). - - -behaviour(application). - - -export([start/2, stop/1]). - - start(_Type, _StartArgs) -> - case ${0:root_supervisor}:start_link() of - {ok, Pid} -> - {ok, Pid}; - Other -> - {error, Other} - end. - - stop(_State) -> - ok. -# OTP supervisor -snippet supervisor - -module(${1:`vim_snippets#Filename('', 'my')`}). - - -behaviour(supervisor). - - %% API - -export([start_link/0]). - - %% Supervisor callbacks - -export([init/1]). - - -define(SERVER, ?MODULE). - - start_link() -> - supervisor:start_link({local, ?SERVER}, ?MODULE, []). - - init([]) -> - Server = {${0:my_server}, {$2, start_link, []}, - permanent, 2000, worker, [$2]}, - Children = [Server], - RestartStrategy = {one_for_one, 0, 1}, - {ok, {RestartStrategy, Children}}. -# OTP gen_server -snippet gen_server - -module(${0:`vim_snippets#Filename('', 'my')`}). - - -behaviour(gen_server). - - %% API - -export([ - start_link/0 - ]). - - %% gen_server callbacks - -export([init/1, - handle_call/3, - handle_cast/2, - handle_info/2, - terminate/2, - code_change/3]). - - -define(SERVER, ?MODULE). - - -record(state, {}). - - %%%=================================================================== - %%% API - %%%=================================================================== - - start_link() -> - gen_server:start_link({local, ?SERVER}, ?MODULE, [], []). - - %%%=================================================================== - %%% gen_server callbacks - %%%=================================================================== - - init([]) -> - {ok, #state{}}. - - handle_call(_Request, _From, State) -> - Reply = ok, - {reply, Reply, State}. - - handle_cast(_Msg, State) -> - {noreply, State}. - - handle_info(_Info, State) -> - {noreply, State}. - - terminate(_Reason, _State) -> - ok. - - code_change(_OldVsn, State, _Extra) -> - {ok, State}. - - %%%=================================================================== - %%% Internal functions - %%%=================================================================== -# OTP gen_fsm -snippet gen_fsm - -module(${0:`vim_snippets#Filename('', 'my')`}). - - -behaviour(gen_fsm). - - %% API - -export([start_link/0]). - - %% gen_fsm callbacks - -export([init/1, - state_name/2, - state_name/3, - handle_event/3, - handle_sync_event/4, - handle_info/3, - terminate/3, - code_change/4]). - - -record(state, {}). - - %%%=================================================================== - %%% API - %%%=================================================================== - - %%-------------------------------------------------------------------- - %% @doc - %% Creates a gen_fsm process which calls Module:init/1 to - %% initialize. To ensure a synchronized start-up procedure, this - %% function does not return until Module:init/1 has returned. - %% - %% @spec start_link() -> {ok, Pid} | ignore | {error, Error} - %% @end - %%-------------------------------------------------------------------- - start_link() -> - gen_fsm:start_link({local, ?MODULE}, ?MODULE, [], []). - - %%%=================================================================== - %%% gen_fsm callbacks - %%%=================================================================== - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Whenever a gen_fsm is started using gen_fsm:start/[3,4] or - %% gen_fsm:start_link/[3,4], this function is called by the new - %% process to initialize. - %% - %% @spec init(Args) -> {ok, StateName, State} | - %% {ok, StateName, State, Timeout} | - %% ignore | - %% {stop, StopReason} - %% @end - %%-------------------------------------------------------------------- - init([]) -> - {ok, state_name, #state{}}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% There should be one instance of this function for each possible - %% state name. Whenever a gen_fsm receives an event sent using - %% gen_fsm:send_event/2, the instance of this function with the same - %% name as the current state name StateName is called to handle - %% the event. It is also called if a timeout occurs. - %% - %% @spec state_name(Event, State) -> - %% {next_state, NextStateName, NextState} | - %% {next_state, NextStateName, NextState, Timeout} | - %% {stop, Reason, NewState} - %% @end - %%-------------------------------------------------------------------- - state_name(_Event, State) -> - {next_state, state_name, State}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% There should be one instance of this function for each possible - %% state name. Whenever a gen_fsm receives an event sent using - %% gen_fsm:sync_send_event/[2,3], the instance of this function with - %% the same name as the current state name StateName is called to - %% handle the event. - %% - %% @spec state_name(Event, From, State) -> - %% {next_state, NextStateName, NextState} | - %% {next_state, NextStateName, NextState, Timeout} | - %% {reply, Reply, NextStateName, NextState} | - %% {reply, Reply, NextStateName, NextState, Timeout} | - %% {stop, Reason, NewState} | - %% {stop, Reason, Reply, NewState} - %% @end - %%-------------------------------------------------------------------- - state_name(_Event, _From, State) -> - Reply = ok, - {reply, Reply, state_name, State}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Whenever a gen_fsm receives an event sent using - %% gen_fsm:send_all_state_event/2, this function is called to handle - %% the event. - %% - %% @spec handle_event(Event, StateName, State) -> - %% {next_state, NextStateName, NextState} | - %% {next_state, NextStateName, NextState, Timeout} | - %% {stop, Reason, NewState} - %% @end - %%-------------------------------------------------------------------- - handle_event(_Event, StateName, State) -> - {next_state, StateName, State}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Whenever a gen_fsm receives an event sent using - %% gen_fsm:sync_send_all_state_event/[2,3], this function is called - %% to handle the event. - %% - %% @spec handle_sync_event(Event, From, StateName, State) -> - %% {next_state, NextStateName, NextState} | - %% {next_state, NextStateName, NextState, Timeout} | - %% {reply, Reply, NextStateName, NextState} | - %% {reply, Reply, NextStateName, NextState, Timeout} | - %% {stop, Reason, NewState} | - %% {stop, Reason, Reply, NewState} - %% @end - %%-------------------------------------------------------------------- - handle_sync_event(_Event, _From, StateName, State) -> - Reply = ok, - {reply, Reply, StateName, State}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% This function is called by a gen_fsm when it receives any - %% message other than a synchronous or asynchronous event - %% (or a system message). - %% - %% @spec handle_info(Info,StateName,State)-> - %% {next_state, NextStateName, NextState} | - %% {next_state, NextStateName, NextState, Timeout} | - %% {stop, Reason, NewState} - %% @end - %%-------------------------------------------------------------------- - handle_info(_Info, StateName, State) -> - {next_state, StateName, State}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% This function is called by a gen_fsm when it is about to - %% terminate. It should be the opposite of Module:init/1 and do any - %% necessary cleaning up. When it returns, the gen_fsm terminates with - %% Reason. The return value is ignored. - %% - %% @spec terminate(Reason, StateName, State) -> void() - %% @end - %%-------------------------------------------------------------------- - terminate(_Reason, _StateName, _State) -> - ok. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Convert process state when code is changed - %% - %% @spec code_change(OldVsn, StateName, State, Extra) -> - %% {ok, StateName, NewState} - %% @end - %%-------------------------------------------------------------------- - code_change(_OldVsn, StateName, State, _Extra) -> - {ok, StateName, State}. - - %%%=================================================================== - %%% Internal functions - %%%=================================================================== -# OTP gen_event -snippet gen_event - -module(${0:`vim_snippets#Filename('', 'my')`}). - - -behaviour(gen_event). - - %% API - -export([start_link/0, - add_handler/2]). - - %% gen_event callbacks - -export([init/1, - handle_event/2, - handle_call/2, - handle_info/2, - terminate/2, - code_change/3]). - - -record(state, {}). - - %%%=================================================================== - %%% gen_event callbacks - %%%=================================================================== - - %%-------------------------------------------------------------------- - %% @doc - %% Creates an event manager - %% - %% @spec start_link() -> {ok, Pid} | {error, Error} - %% @end - %%-------------------------------------------------------------------- - start_link() -> - gen_event:start_link({local, ?MODULE}). - - %%-------------------------------------------------------------------- - %% @doc - %% Adds an event handler - %% - %% @spec add_handler(Handler, Args) -> ok | {'EXIT', Reason} | term() - %% @end - %%-------------------------------------------------------------------- - add_handler(Handler, Args) -> - gen_event:add_handler(?MODULE, Handler, Args). - - %%%=================================================================== - %%% gen_event callbacks - %%%=================================================================== - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Whenever a new event handler is added to an event manager, - %% this function is called to initialize the event handler. - %% - %% @spec init(Args) -> {ok, State} - %% @end - %%-------------------------------------------------------------------- - init([]) -> - {ok, #state{}}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Whenever an event manager receives an event sent using - %% gen_event:notify/2 or gen_event:sync_notify/2, this function is - %% called for each installed event handler to handle the event. - %% - %% @spec handle_event(Event, State) -> - %% {ok, State} | - %% {swap_handler, Args1, State1, Mod2, Args2} | - %% remove_handler - %% @end - %%-------------------------------------------------------------------- - handle_event(_Event, State) -> - {ok, State}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Whenever an event manager receives a request sent using - %% gen_event:call/3,4, this function is called for the specified - %% event handler to handle the request. - %% - %% @spec handle_call(Request, State) -> - %% {ok, Reply, State} | - %% {swap_handler, Reply, Args1, State1, Mod2, Args2} | - %% {remove_handler, Reply} - %% @end - %%-------------------------------------------------------------------- - handle_call(_Request, State) -> - Reply = ok, - {ok, Reply, State}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% This function is called for each installed event handler when - %% an event manager receives any other message than an event or a - %% synchronous request (or a system message). - %% - %% @spec handle_info(Info, State) -> - %% {ok, State} | - %% {swap_handler, Args1, State1, Mod2, Args2} | - %% remove_handler - %% @end - %%-------------------------------------------------------------------- - handle_info(_Info, State) -> - {ok, State}. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Whenever an event handler is deleted from an event manager, this - %% function is called. It should be the opposite of Module:init/1 and - %% do any necessary cleaning up. - %% - %% @spec terminate(Reason, State) -> void() - %% @end - %%-------------------------------------------------------------------- - terminate(_Reason, _State) -> - ok. - - %%-------------------------------------------------------------------- - %% @private - %% @doc - %% Convert process state when code is changed - %% - %% @spec code_change(OldVsn, State, Extra) -> {ok, NewState} - %% @end - %%-------------------------------------------------------------------- - code_change(_OldVsn, State, _Extra) -> - {ok, State}. - - %%%=================================================================== - %%% Internal functions - %%%=================================================================== -# common_test test_SUITE -snippet testsuite - -module(${0:`vim_snippets#Filename('', 'my')`}). - - -include_lib("common_test/include/ct.hrl"). - - %% Test server callbacks - -export([suite/0, all/0, groups/0, - init_per_suite/1, end_per_suite/1, - init_per_group/2, end_per_group/2, - init_per_testcase/2, end_per_testcase/2]). - - %% Test cases - -export([ - ]). - - %%-------------------------------------------------------------------- - %% COMMON TEST CALLBACK FUNCTIONS - %%-------------------------------------------------------------------- - - %%-------------------------------------------------------------------- - %% Function: suite() -> Info - %% - %% Info = [tuple()] - %% List of key/value pairs. - %% - %% Description: Returns list of tuples to set default properties - %% for the suite. - %% - %% Note: The suite/0 function is only meant to be used to return - %% default data values, not perform any other operations. - %%-------------------------------------------------------------------- - suite() -> - [{timetrap,{minutes,10}}]. - - %%-------------------------------------------------------------------- - %% Function: init_per_suite(Config0) -> - %% Config1 | {skip,Reason} | {skip_and_save,Reason,Config1} - %% - %% Config0 = Config1 = [tuple()] - %% A list of key/value pairs, holding the test case configuration. - %% Reason = term() - %% The reason for skipping the suite. - %% - %% Description: Initialization before the suite. - %% - %% Note: This function is free to add any key/value pairs to the Config - %% variable, but should NOT alter/remove any existing entries. - %%-------------------------------------------------------------------- - init_per_suite(Config) -> - Config. - - %%-------------------------------------------------------------------- - %% Function: end_per_suite(Config0) -> void() | {save_config,Config1} - %% - %% Config0 = Config1 = [tuple()] - %% A list of key/value pairs, holding the test case configuration. - %% - %% Description: Cleanup after the suite. - %%-------------------------------------------------------------------- - end_per_suite(_Config) -> - ok. - - %%-------------------------------------------------------------------- - %% Function: init_per_group(GroupName, Config0) -> - %% Config1 | {skip,Reason} | {skip_and_save,Reason,Config1} - %% - %% GroupName = atom() - %% Name of the test case group that is about to run. - %% Config0 = Config1 = [tuple()] - %% A list of key/value pairs, holding configuration data for the group. - %% Reason = term() - %% The reason for skipping all test cases and subgroups in the group. - %% - %% Description: Initialization before each test case group. - %%-------------------------------------------------------------------- - init_per_group(_GroupName, Config) -> - Config. - - %%-------------------------------------------------------------------- - %% Function: end_per_group(GroupName, Config0) -> - %% void() | {save_config,Config1} - %% - %% GroupName = atom() - %% Name of the test case group that is finished. - %% Config0 = Config1 = [tuple()] - %% A list of key/value pairs, holding configuration data for the group. - %% - %% Description: Cleanup after each test case group. - %%-------------------------------------------------------------------- - end_per_group(_GroupName, _Config) -> - ok. - - %%-------------------------------------------------------------------- - %% Function: init_per_testcase(TestCase, Config0) -> - %% Config1 | {skip,Reason} | {skip_and_save,Reason,Config1} - %% - %% TestCase = atom() - %% Name of the test case that is about to run. - %% Config0 = Config1 = [tuple()] - %% A list of key/value pairs, holding the test case configuration. - %% Reason = term() - %% The reason for skipping the test case. - %% - %% Description: Initialization before each test case. - %% - %% Note: This function is free to add any key/value pairs to the Config - %% variable, but should NOT alter/remove any existing entries. - %%-------------------------------------------------------------------- - init_per_testcase(_TestCase, Config) -> - Config. - - %%-------------------------------------------------------------------- - %% Function: end_per_testcase(TestCase, Config0) -> - %% void() | {save_config,Config1} | {fail,Reason} - %% - %% TestCase = atom() - %% Name of the test case that is finished. - %% Config0 = Config1 = [tuple()] - %% A list of key/value pairs, holding the test case configuration. - %% Reason = term() - %% The reason for failing the test case. - %% - %% Description: Cleanup after each test case. - %%-------------------------------------------------------------------- - end_per_testcase(_TestCase, _Config) -> - ok. - - %%-------------------------------------------------------------------- - %% Function: groups() -> [Group] - %% - %% Group = {GroupName,Properties,GroupsAndTestCases} - %% GroupName = atom() - %% The name of the group. - %% Properties = [parallel | sequence | Shuffle | {RepeatType,N}] - %% Group properties that may be combined. - %% GroupsAndTestCases = [Group | {group,GroupName} | TestCase] - %% TestCase = atom() - %% The name of a test case. - %% Shuffle = shuffle | {shuffle,Seed} - %% To get cases executed in random order. - %% Seed = {integer(),integer(),integer()} - %% RepeatType = repeat | repeat_until_all_ok | repeat_until_all_fail | - %% repeat_until_any_ok | repeat_until_any_fail - %% To get execution of cases repeated. - %% N = integer() | forever - %% - %% Description: Returns a list of test case group definitions. - %%-------------------------------------------------------------------- - groups() -> - []. - - %%-------------------------------------------------------------------- - %% Function: all() -> GroupsAndTestCases | {skip,Reason} - %% - %% GroupsAndTestCases = [{group,GroupName} | TestCase] - %% GroupName = atom() - %% Name of a test case group. - %% TestCase = atom() - %% Name of a test case. - %% Reason = term() - %% The reason for skipping all groups and test cases. - %% - %% Description: Returns the list of groups and test cases that - %% are to be executed. - %%-------------------------------------------------------------------- - all() -> - []. - - - %%-------------------------------------------------------------------- - %% TEST CASES - %%-------------------------------------------------------------------- - - %%-------------------------------------------------------------------- - %% Function: TestCase(Config0) -> - %% ok | exit() | {skip,Reason} | {comment,Comment} | - %% {save_config,Config1} | {skip_and_save,Reason,Config1} - %% - %% Config0 = Config1 = [tuple()] - %% A list of key/value pairs, holding the test case configuration. - %% Reason = term() - %% The reason for skipping the test case. - %% Comment = term() - %% A comment about the test case that will be printed in the html log. - %% - %% Description: Test case function. (The name of it must be specified in - %% the all/0 list or in a test case group for the test case - %% to be executed). - %%-------------------------------------------------------------------- - diff --git a/bundle/vim-snippets/snippets/eruby.snippets b/bundle/vim-snippets/snippets/eruby.snippets deleted file mode 100644 index bc13fcbb..00000000 --- a/bundle/vim-snippets/snippets/eruby.snippets +++ /dev/null @@ -1,129 +0,0 @@ -# .erb and .rhmtl files - -# Includes html.snippets - -# Rails ***************************** -snippet rc - <% ${0} %> -snippet rce - <%= ${1} %> -snippet % - <% ${0} %> -snippet = - <%= ${1} %> -snippet end - <% end %> -snippet ead - <% ${1}.each do |${2}| %> - ${0} - <% end %> -snippet for - <% for ${2:item} in ${1} %> - ${0} - <% end %> -snippet rp - <%= render :partial => '${0:item}' %> -snippet rpl - <%= render :partial => '${1:item}', :locals => { :${2:name} => '${3:value}'${0} } %> -snippet rps - <%= render :partial => '${1:item}', :status => ${0:500} %> -snippet rpc - <%= render :partial => '${1:item}', :collection => ${0:items} %> -snippet lia - <%= link_to '${1:link text...}', :action => '${0:index}' %> -snippet liai - <%= link_to '${1:link text...}', :action => '${2:edit}', :id => ${0:@item} %> -snippet lic - <%= link_to '${1:link text...}', :controller => '${0:items}' %> -snippet lica - <%= link_to '${1:link text...}', :controller => '${2:items}', :action => '${0:index}' %> -snippet licai - <%= link_to '${1:link text...}', :controller => '${2:items}', :action => '${3:edit}', :id => ${0:@item} %> -snippet yield - <%= yield ${1::content_symbol} %> -snippet conf - <% content_for :${1:head} do %> - ${0} - <% end %> -snippet cs - <%= collection_select <+object+>, <+method+>, <+collection+>, <+value_method+>, <+text_method+><+, <+[options]+>, <+[html_options]+>+> %> -snippet ct - <%= content_tag '${1:DIV}', ${2:content}${0:,options} %> -snippet ff - <%= form_for @${1:model} do |f| %> - ${0} - <% end %> -snippet ffi - <%= ${1:f}.input :${0:attribute} %> -snippet ffcb - <%= ${1:f}.check_box :${0:attribute} %> -snippet ffe - <% error_messages_for :${1:model} %> - - <%= form_for @${2:model} do |f| %> - ${0} - <% end %> -snippet ffff - <%= ${1:f}.file_field :${0:attribute} %> -snippet ffhf - <%= ${1:f}.hidden_field :${0:attribute} %> -snippet ffl - <%= ${1:f}.label :${2:attribute}, '${0:$2}' %> -snippet ffpf - <%= ${1:f}.password_field :${0:attribute} %> -snippet ffrb - <%= ${1:f}.radio_button :${2:attribute}, :${0:tag_value} %> -snippet ffs - <%= ${1:f}.submit "${0:submit}" %> -snippet ffta - <%= ${1:f}.text_area :${0:attribute} %> -snippet fftf - <%= ${1:f}.text_field :${0:attribute} %> -snippet fields - <%= fields_for :${1:model}, @$1 do |${2:f}| %> - ${0} - <% end %> -snippet i18 - I18n.t('${1:type.key}') -snippet it - <%= image_tag "${1}"${0} %> -snippet jit - <%= javascript_include_tag ${0::all} %> -snippet jsit - <%= javascript_include_tag "${0}" %> -snippet lim - <%= link_to ${1:model}.${2:name}, ${3:$1}_path(${0:$1}) %> -snippet linp - <%= link_to "${1:Link text...}", ${2:parent}_${3:child}_path(${4:@$2}, ${0:@$3}) %> -snippet linpp - <%= link_to "${1:Link text...}", ${2:parent}_${3:child}_path(${0:@$2}) %> -snippet lip - <%= link_to "${1:Link text...}", ${2:model}_path(${0:@$2}) %> -snippet lipp - <%= link_to "${1:Link text...}", ${0:model}s_path %> -snippet lt - <%= link_to "${1:name}", ${0:dest} %> -snippet ntc - <%= number_to_currency(${1}) %> -snippet ofcfs - <%= options_from_collection_for_select ${1:collection}, ${2:value_method}, ${3:text_method}, ${0:selected_value} %> -snippet ofs - <%= options_for_select ${1:collection}, ${2:value_method} %> -snippet rf - <%= render :file => "${1:file}"${0} %> -snippet rt - <%= render :template => "${1:file}"${0} %> -snippet slt - <%= stylesheet_link_tag ${1::all}, :cache => ${0:true} %> -snippet sslt - <%= stylesheet_link_tag "${0}" %> -snippet if - <% if ${1} %> - ${0} - <% end %> -snippet ife - <% if ${1} %> - ${2} - <% else %> - ${0} - <% end %> diff --git a/bundle/vim-snippets/snippets/falcon.snippets b/bundle/vim-snippets/snippets/falcon.snippets deleted file mode 100644 index c523980d..00000000 --- a/bundle/vim-snippets/snippets/falcon.snippets +++ /dev/null @@ -1,71 +0,0 @@ -snippet #! - #!/usr/bin/env falcon - -# Import -snippet imp - import ${0:module} - -# Function -snippet fun - function ${2:function_name}(${3}) - ${0} - end - -# Class -snippet class - class ${1:class_name}(${2:class_params}) - ${0:/* members/methods */} - end - -# If -snippet if - if ${1:condition} - ${0} - end - -# If else -snippet ife - if ${1:condition} - ${0} - else - ${1} - end - -# If else if -snippet eif - elif ${1:condition} - ${0} - -# Switch case -snippet switch - switch ${1:expression} - case ${2:item} - case ${0:item} - default - end - -# Select -snippet select - select ${1:variable} - case ${2:TypeSpec} - case ${0:TypeSpec} - default - end - -# For/in Loop -snippet forin - for ${1:element} in ${2:container} - ${0} - end - -# For/to Loop -snippet forto - for ${1:lowerbound} to ${2:upperbound} - ${0} - end - -# While Loop -snippet wh - while ${1:conidition} - ${0} - end diff --git a/bundle/vim-snippets/snippets/go.snippets b/bundle/vim-snippets/snippets/go.snippets deleted file mode 100644 index 8623eda2..00000000 --- a/bundle/vim-snippets/snippets/go.snippets +++ /dev/null @@ -1,244 +0,0 @@ -# shorthand variable declaration -snippet v - ${1} := ${2} -# variable initialization -snippet vr - var ${1:t} ${0:string} -# variable declaration -snippet var - var ${1} ${2} = ${3} -# variables declaration -snippet vars - var ( - ${1} ${2} = ${3} - ) -# append -snippet ap - append(${1:slice}, ${0:value}) -# bool -snippet bl - bool -# byte -snippet bt - byte -# break -snippet br - break -# channel -snippet ch - chan ${0:int} -# case -snippet cs - case ${1:value}: - ${0} -# const -snippet c - const ${1:NAME} = ${0:0} -# constants with iota -snippet co - const ( - ${1:NAME1} = iota - ${0:NAME2} - ) -# continue -snippet cn - continue -# defer -snippet df - defer ${0:func}() -# defer recover -snippet dfr - defer func() { - if err := recover(); err != nil { - ${0} - } - }() -# gpl -snippet gpl - /* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see . - * - * Copyright (C) ${1:Author}, `strftime("%Y")` - */ - - ${0} -# int -snippet i - int -# import -snippet im - import ( - "${1:package}" - ) -# interface -snippet in - interface{} -# full interface snippet -snippet inf - interface ${1:name} { - ${2:/* methods */} - } -# if condition -snippet if - if ${1:/* condition */} { - ${2} - } -# else snippet -snippet el - else { - ${1} - } -# error snippet -snippet ir - if err != nil { - return err - } - ${0} -# false -snippet f - false -# fallthrough -snippet ft - fallthrough -# float -snippet fl - float32 -# float32 -snippet f3 - float32 -# float64 -snippet f6 - float64 -# if else -snippet ie - if ${1:/* condition */} { - ${2} - } else { - ${3} - } - ${0} -# for loop -snippet fo - for ${2:i} := 0; $2 < ${1:count}; $2${3:++} { - ${4} - } - ${0} -# for range loop -snippet fr - for ${1:k}, ${2:v} := range ${3} { - ${4} - } - ${0} -# function simple -snippet fun - func ${1:funcName}(${2}) ${3:error} { - ${4} - } - ${0} -# function on receiver -snippet fum - func (self ${1:type}) ${2:funcName}(${3}) ${4:error} { - ${5} - } - ${0} -# log printf -snippet lf - log.Printf("%${1:s}", ${2:var}) -# log printf -snippet lp - log.Println("${1}") -# make -snippet mk - make(${1:[]string}, ${0:0}) -# map -snippet mp - map[${1:string}]${0:int} -# main() -snippet main - func main() { - ${1} - } - ${0} -# new -snippet nw - new(${0:type}) -# panic -snippet pn - panic("${0:msg}") -# print -snippet pr - fmt.Printf("%${1:s}\n", ${2:var}) -# range -snippet rn - range ${0} -# return -snippet rt - return ${0} -# result -snippet rs - result -# select -snippet sl - select { - case ${1:v1} := <-${2:chan1} - ${3} - case ${4:v2} := <-${5:chan2} - ${6} - default: - ${0} - } -# string -snippet sr - string -# struct -snippet st - struct ${1:name} { - ${2:/* data */} - } - ${0} -# switch -snippet sw - switch ${1:var} { - case ${2:value1}: - ${3} - case ${4:value2}: - ${5} - default: - ${0} - } -snippet sp - fmt.Sprintf("%${1:s}", ${2:var}) -# true -snippet t - true -# goroutine named function -snippet g - go ${1:funcName}(${0}) -# goroutine anonymous function -snippet ga - go func(${1} ${2:type}) { - ${3:/* code */} - }(${0}) -snippet test test function - func Test${1:name}(t *testing.T) { - ${2} - } - ${0} -snippet bench benchmark function - func Benchmark${1:name}(b *testing.B) { - for i := 0; i < b.N; i++ { - ${2} - } - } - ${0} diff --git a/bundle/vim-snippets/snippets/haml.snippets b/bundle/vim-snippets/snippets/haml.snippets deleted file mode 100644 index 09217c6c..00000000 --- a/bundle/vim-snippets/snippets/haml.snippets +++ /dev/null @@ -1,37 +0,0 @@ -snippet t - %table - %tr - %th - ${1:headers} - %tr - %td - ${0:headers} -snippet ul - %ul - %li - ${0:item} - %li -snippet rp - = render :partial => "${0:item}" -snippet rpc - = render :partial => "${1:item}", :collection => ${0:@$1s} -snippet rpl - = render :partial => "${1:item}", :locals => { :${2:$1} => ${0:@$1} -snippet rpo - = render :partial => "${1:item}", :object => ${0:@$1} -snippet lt - = link_to ${1:name}, ${2:dest} -snippet mt - = mail_to ${1:email_address}, ${2:name} -snippet mts - = mail_to ${1:email_address}, ${2:name}, :subject => ${3}, :body => ${4} -snippet ife - - if ${1:condition} - ${2} - - else - ${0} -snippet ifp - - if ${1:condition}.presence? - ${0} -snippet ntc - = number_to_currency(${1}) diff --git a/bundle/vim-snippets/snippets/haskell.snippets b/bundle/vim-snippets/snippets/haskell.snippets deleted file mode 100644 index ddb89d9a..00000000 --- a/bundle/vim-snippets/snippets/haskell.snippets +++ /dev/null @@ -1,84 +0,0 @@ -snippet lang - {-# LANGUAGE ${0:OverloadedStrings} #-} -snippet haddock - {-# OPTIONS_HADDOCK ${0:hide} #-} -snippet info - -- | - -- Module : ${1:Module.Namespace} - -- Copyright : ${2:Author} ${3:2011-2012} - -- License : ${4:BSD3} - -- - -- Maintainer : ${5:email@something.com} - -- Stability : ${6:experimental} - -- Portability : ${7:unknown} - -- - -- ${0:Description} - -- -snippet import - import ${0:Data.Text} -snippet import2 - import ${1:Data.Text} (${0:head}) -snippet importq - import qualified ${1:Data.Text} as ${0:T} -snippet inst - instance ${1:Monoid} ${2:Type} where - ${0} -snippet type - type ${1:Type} = ${0:Type} -snippet data - data ${1:Type} = ${2:$1} ${0:Int} -snippet newtype - newtype ${1:Type} = ${2:$1} ${0:Int} -snippet class - class ${1:Class} a where - ${0} -snippet module - module `substitute(substitute(expand('%:r'), '[/\\]','.','g'),'^\%(\l*\.\)\?','','')` ( - ) where - `expand('%') =~ 'Main' ? "\n\nmain = do\n print \"hello world\"" : ""` - -snippet const - ${1:name} :: ${2:a} - $1 = ${0:undefined} -snippet fn - ${1:fn} :: ${2:a} -> ${3:a} - $1 ${4} = ${0:undefined} -snippet fn2 - ${1:fn} :: ${2:a} -> ${3:a} -> ${4:a} - $1 ${5} = ${0:undefined} -snippet ap - ${1:map} ${2:fn} ${0:list} -snippet do - do - -snippet λ - \${1:x} -> ${0} -snippet \ - \${1:x} -> ${0} -snippet <- - ${1:a} <- ${0:m a} -snippet ← - ${1:a} <- ${0:m a} -snippet -> - ${1:m a} -> ${0:a} -snippet → - ${1:m a} -> ${0:a} -snippet tup - (${1:a}, ${0:b}) -snippet tup2 - (${1:a}, ${2:b}, ${0:c}) -snippet tup3 - (${1:a}, ${2:b}, ${3:c}, ${0:d}) -snippet rec - ${1:Record} { ${2:recFieldA} = ${3:undefined} - , ${4:recFieldB} = ${0:undefined} - } -snippet case - case ${1:something} of - ${2} -> ${0} -snippet let - let ${1} = ${2} - in ${3} -snippet where - where - ${1:fn} = ${0:undefined} diff --git a/bundle/vim-snippets/snippets/html.snippets b/bundle/vim-snippets/snippets/html.snippets deleted file mode 100644 index 5fb4aa92..00000000 --- a/bundle/vim-snippets/snippets/html.snippets +++ /dev/null @@ -1,871 +0,0 @@ -# Some useful Unicode entities -# Non-Breaking Space -snippet nbs -   -# ← -snippet left - ← -# → -snippet right - → -# ↑ -snippet up - ↑ -# ↓ -snippet down - ↓ -# ↩ -snippet return - ↩ -# ⇤ -snippet backtab - ⇤ -# ⇥ -snippet tab - ⇥ -# ⇧ -snippet shift - ⇧ -# ⌃ -snippet ctrl - ⌃ -# ⌅ -snippet enter - ⌅ -# ⌘ -snippet cmd - ⌘ -# ⌥ -snippet option - ⌥ -# ⌦ -snippet delete - ⌦ -# ⌫ -snippet backspace - ⌫ -# ⎋ -snippet esc - ⎋ -# comment -snippet // - ${0} -# Generic Doctype -snippet doctype HTML 4.01 Strict - -snippet doctype HTML 4.01 Transitional - -snippet doctype HTML 5 - -snippet doctype XHTML 1.0 Frameset - -snippet doctype XHTML 1.0 Strict - -snippet doctype XHTML 1.0 Transitional - -snippet doctype XHTML 1.1 - -# HTML Doctype 4.01 Strict -snippet docts - -# HTML Doctype 4.01 Transitional -snippet doct - -# HTML Doctype 5 -snippet doct5 - -# XHTML Doctype 1.0 Frameset -snippet docxf - -# XHTML Doctype 1.0 Strict -snippet docxs - -# XHTML Doctype 1.0 Transitional -snippet docxt - -# XHTML Doctype 1.1 -snippet docx - -# Attributes -snippet attr - ${1:attribute}="${0:property}" -snippet attr+ - ${1:attribute}="${2:property}" attr+ -snippet . - class="${1}" -snippet # - id="${1}" -snippet alt - alt="${1}" -snippet charset - charset="${1:utf-8}" -snippet data - data-${1}="${2:$1}" -snippet for - for="${1}" -snippet height - height="${1}" -snippet href - href="${1:#}" -snippet lang - lang="${1:en}" -snippet media - media="${1}" -snippet name - name="${1}" -snippet rel - rel="${1}" -snippet scope - scope="${1:row}" -snippet src - src="${1}" -snippet title= - title="${1}" -snippet type - type="${1}" -snippet value - value="${1}" -snippet width - width="${1}" -# Elements -snippet a - ${0:$1} -snippet a. - ${0:$1} -snippet a# - ${0:$1} -snippet a:ext - ${0:$1} -snippet a:mail - ${0:email me} -snippet ac - ${0:`@+`} -snippet abbr - ${0} -snippet address -