aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2012-04-13 12:03:43 +0900
committermattn <mattn.jp@gmail.com>2012-04-13 12:03:43 +0900
commit116289f70f8333645defa3484169233b794245b3 (patch)
tree01942fe888ab2cdfd08ee620b2af684add456c8c /template
parentbc8adf2e757771c1f05fe9925a5a773482e2e570 (diff)
downloadvim-sonictemplate-116289f70f8333645defa3484169233b794245b3.tar.gz
vim-sonictemplate-116289f70f8333645defa3484169233b794245b3.tar.bz2
vim-sonictemplate-116289f70f8333645defa3484169233b794245b3.zip
add template for vim help.
Diffstat (limited to 'template')
-rw-r--r--template/help/base-help.txt6
-rw-r--r--template/help/snip-section.txt4
2 files changed, 10 insertions, 0 deletions
diff --git a/template/help/base-help.txt b/template/help/base-help.txt
new file mode 100644
index 0000000..038ce27
--- /dev/null
+++ b/template/help/base-help.txt
@@ -0,0 +1,6 @@
+*{{_expr_:expand("%:p:t")}}* {{_input_:title}}
+
+{{_cursor_}}
+
+==============================================================================
+vim:tw=78:ts=8:ft=help:norl:noet:fen:fdl=0:
diff --git a/template/help/snip-section.txt b/template/help/snip-section.txt
new file mode 100644
index 0000000..5f8cef7
--- /dev/null
+++ b/template/help/snip-section.txt
@@ -0,0 +1,4 @@
+==============================================================================
+{{_expr_:toupper("{{_input_:title}}")}}{{_expr_:repeat(' ',77-len("{{_input_:title}}")*2-len(expand("%:p:t:r")))}}*{{_expr_:expand("%:p:t:r")}}-{{_input_:title}}*
+{{_cursor_}}
+