From 41bc85e984230758d4f50f630771fe1f039edc52 Mon Sep 17 00:00:00 2001 From: mattn Date: Fri, 13 Apr 2012 10:20:22 +0900 Subject: improve template dir. related #4 --- doc/sonictemplate-vim.txt | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/sonictemplate-vim.txt b/doc/sonictemplate-vim.txt index 4295981..0a21163 100644 --- a/doc/sonictemplate-vim.txt +++ b/doc/sonictemplate-vim.txt @@ -13,11 +13,11 @@ License: BSD style license ============================================================================== CONTENTS *sonictemplate-vim-contents* -Introduction |sonictemplate-introduction| -Install |sonictemplate-install| -Tutorial |sonictemplate-tutorial| -Customize |sonictemplate-customize| -Write Your Template |sonictemplate-writetemplate| +Introduction |sonictemplate-vim-introduction| +Install |sonictemplate-vim-install| +Tutorial |sonictemplate-vim-tutorial| +Customize |sonictemplate-vim-customize| +Write Your Template |sonictemplate-vim-writetemplate| ============================================================================== INTRODUCTION *sonictemplate-vim-introduction* @@ -107,9 +107,15 @@ For example, you are writing C++ file. ============================================================================== CUSTOMIZE *sonictemplate-vim-customize* -You can modify template directory for your-self templates. -> +You can modify template directory for your-self templates: > let g:template_vim_template_dir = '/path/to/your/template/directory' +< + or > + + let g:template_vim_template_dir = [ + \ '$HOME/.vim/template', + \ '/path/to/another/template/directory' + \] < ============================================================================== WRITE YOUR TEMPLATE *sonictemplate-vim-writetemplate* -- cgit v1.2.3-54-g00ecf