From 9eb9a2dc9fac1d58ac3c19f11d83cdd46dda1afe Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 20 Dec 2019 23:00:25 -0700 Subject: add ultisnips --- .vim/UltiSnips/html.snippets | 189 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 .vim/UltiSnips/html.snippets (limited to '.vim/UltiSnips/html.snippets') diff --git a/.vim/UltiSnips/html.snippets b/.vim/UltiSnips/html.snippets new file mode 100644 index 0000000..73983a7 --- /dev/null +++ b/.vim/UltiSnips/html.snippets @@ -0,0 +1,189 @@ +priority -50 + +global !p +def x(snip): + if snip.ft.startswith("x"): + snip.rv = '/' + else: + snip.rv = "" +endglobal + +snippet doctype "HTML - 5.0 (doctype)" b + + +endsnippet + +snippet a "Link" w +${4:Anchor Text} +endsnippet + +snippet abbr "" w +$1 +endsnippet + +snippet address "
" w +
$1
+endsnippet + +snippet article "
" +
+ ${1:article content} +
+endsnippet + +snippet aside "