aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2012-06-06 22:37:53 +0900
committermattn <mattn.jp@gmail.com>2012-06-06 22:37:53 +0900
commit0ea807426e0eddb85fd48688b22c2847bed05e83 (patch)
treef7f85cf454ff69aba507a360f51d94c9b677d00d /doc
parentf045e7e0f888e982994aa1b0ce9f71fa9982ec6f (diff)
downloadvim-sonictemplate-0ea807426e0eddb85fd48688b22c2847bed05e83.tar.gz
vim-sonictemplate-0ea807426e0eddb85fd48688b22c2847bed05e83.tar.bz2
vim-sonictemplate-0ea807426e0eddb85fd48688b22c2847bed05e83.zip
add doc.
Diffstat (limited to 'doc')
-rw-r--r--doc/sonictemplate-vim.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/sonictemplate-vim.txt b/doc/sonictemplate-vim.txt
index 3efe061..da06d6e 100644
--- a/doc/sonictemplate-vim.txt
+++ b/doc/sonictemplate-vim.txt
@@ -183,7 +183,7 @@ Note that I'm using pathogen-vim.
|{{_input_:var}}| : ask the value of "var".
- When expanded template, cursor will be moved to there.
+ You'll be asked "var: " in prompt.
|{{_expr_:xxx}}| : expression in vimscript.
@@ -198,5 +198,19 @@ Note that I'm using pathogen-vim.
>
Today is Holiday
<
+ |{{_inline_}}| : inline expand.
+
+ If it's contained, template will be expanded as one line.
+ This operator affect to snip templates.
+
+ For example: When type "<c-y>t" on "left _ right" (_ is cursor),
+>
+ foo
+ bar
+<
+ Above template will be expanded as oneline
+>
+ left foobar right
+
==============================================================================
vim:tw=78:ts=8:ft=help:norl:noet:fen:fdl=0: