diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sonictemplate-vim.txt | 16 |
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: |