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:' } ):^