From ad8468750b2ba33c073e89fee2644313422d3c24 Mon Sep 17 00:00:00 2001 From: jimi Date: Tue, 13 Jul 2010 13:44:45 -0500 Subject: [PATCH] Initial html snippets - html skeleton with meta tags - stylesheet and jQuery inclusion tags - div and list tags --- ftplugin/html/html.xpt.vim | 69 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 ftplugin/html/html.xpt.vim diff --git a/ftplugin/html/html.xpt.vim b/ftplugin/html/html.xpt.vim new file mode 100644 index 0000000..0a10e02 --- /dev/null +++ b/ftplugin/html/html.xpt.vim @@ -0,0 +1,69 @@ +" Personal additions +" +XPTemplate priority=personal + +XPTvar $blank ' ' + +XPT copy_comment hidden + + +XPT aut abbr alias=meta " + + + `:title:^ + `:contenttype:^` + `more^ ^ + + + `cursor^ + + +`:copy_comment:^ + +XPT link " + + +XPT jquery " jquery script link +XSET dir=ChooseStr( 'scripts/', 'javascripts/' ) + + +XPT di abbr wrap=content "
.
+XSET val=$blank +XSET content=$blank +`content^ + +XPT div abbr wrap=content "
\n\n
\n + +XPT ol abbr +` +`...{{^ +
  • `^
  • ` +`...^`}}^ + + +XPT ul abbr alias=_tagAttr + +XPT diva " tips +`:div( { 'content' : ':a:' } ):^