From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/vim-snippets | 1 + vim/bundle/vim-snippets/UltiSnips/html.snippets | 306 ------------------------ 2 files changed, 1 insertion(+), 306 deletions(-) create mode 160000 vim/bundle/vim-snippets delete mode 100644 vim/bundle/vim-snippets/UltiSnips/html.snippets (limited to 'vim/bundle/vim-snippets/UltiSnips/html.snippets') diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets new file mode 160000 index 0000000..15d7e5e --- /dev/null +++ b/vim/bundle/vim-snippets @@ -0,0 +1 @@ +Subproject commit 15d7e5ec26ec93adee4051b6359be90a943aa38d diff --git a/vim/bundle/vim-snippets/UltiSnips/html.snippets b/vim/bundle/vim-snippets/UltiSnips/html.snippets deleted file mode 100644 index fd1aca5..0000000 --- a/vim/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 body "" - - $0 - -endsnippet - -snippet div "
" w -
- $0 -
-endsnippet - -snippet div. "
with class" w - - $0 -
-endsnippet - -snippet div# "
with ID & class" w - - $0 -
-endsnippet - -snippet form "XHTML
" w - - $0 - -

-
-endsnippet - -snippet h1 "XHTML

" w -

$0

-endsnippet - -snippet h2 "XHTML

" w -

$0

-endsnippet - -snippet h3 "XHTML

" w -

$0

-endsnippet - -snippet h4 "XHTML

" w -

$0

-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 -# vim:ft=snippets: -- cgit v1.2.3