From cb15778473b91932cbe7a7df5e6ec32c5b23033b Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Sat, 14 Dec 2013 14:48:52 +0100 Subject: [PATCH] html: added w in useful places. Patch by Julian Martin Grinblat. --- UltiSnips/html.snippets | 50 ++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/UltiSnips/html.snippets b/UltiSnips/html.snippets index 76ff950..4abee6a 100644 --- a/UltiSnips/html.snippets +++ b/UltiSnips/html.snippets @@ -123,21 +123,21 @@ endsnippet ############# # HTML TAGS # ############# -snippet input "Input with Label" +snippet input "Input with Label" w endsnippet -snippet input "XHTML " +snippet input "XHTML " w endsnippet -snippet opt "Option" +snippet opt "Option" w ${3:$2} endsnippet -snippet select "Select Box" +snippet select "Select Box" w endsnippet -snippet mailto "XHTML " +snippet mailto "XHTML " w ${3:email me} endsnippet -snippet base "XHTML " +snippet base "XHTML " w endsnippet -snippet img "XHTML " +snippet img "XHTML " w endsnippet @@ -170,13 +170,13 @@ snip.rv = snip.fn and 'Hallo' or 'Nothin' endsnippet -snippet div "XHTML
" +snippet div "XHTML
" w $0
endsnippet -snippet form "XHTML
" +snippet form "XHTML " w @@ -186,7 +186,7 @@ snip.rv = (snip.basename or 'unnamed') + '_submit'
endsnippet -snippet h1 "XHTML

" +snippet h1 "XHTML

" w

${1}

endsnippet @@ -198,68 +198,68 @@ snippet head "XHTML " endsnippet -snippet link "XHTML " +snippet link "XHTML " w endsnippet -snippet meta "XHTML " +snippet meta "XHTML " w endsnippet -snippet scriptsrc "XHTML endsnippet -snippet script "XHTML endsnippet -snippet style "XHTML endsnippet -snippet table "XHTML " +snippet table "XHTML
" w
${5:Header}
${0:Data}
endsnippet -snippet a "Link" +snippet a "Link" w ${4:Anchor Text} endsnippet -snippet p "paragraph" +snippet p "paragraph" w

$0

endsnippet -snippet li "list item" +snippet li "list item" w
  • $0
  • endsnippet -snippet ul "unordered list" +snippet ul "unordered list" w
      $0
    endsnippet -snippet td "table cell" +snippet td "table cell" w $0 endsnippet -snippet tr "table row" +snippet tr "table row" w $0 endsnippet -snippet title "XHTML " +snippet title "XHTML <title>" w <title>${1:`!p snip.rv = snip.basename or "Page Title"`} endsnippet -snippet fieldset "Fieldset" +snippet fieldset "Fieldset" w
    $1