From 116289f70f8333645defa3484169233b794245b3 Mon Sep 17 00:00:00 2001 From: mattn Date: Fri, 13 Apr 2012 12:03:43 +0900 Subject: add template for vim help. --- template/help/base-help.txt | 6 ++++++ template/help/snip-section.txt | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 template/help/base-help.txt create mode 100644 template/help/snip-section.txt (limited to 'template') 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_}} + -- cgit v1.2.3-54-g00ecf